| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Fetching Cart Currency / Order Currency | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Fetching Cart Currency / Order Currency
I want to fetch the default currency when placing the order, how to do that? Also will that be the configuration currency or can we have the order specific currency aswell?
__________________
Regards, Aneel Sarwar X-Cart version: 5.2.10 Windows: 7 Modules: Free version modules |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Fetching Cart Currency / Order Currency
You can get the order currency as follows: $order->getCurrency()
Use "\XLite::getInstance()->getCurrency()" to get the current user's currency.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Fetching Cart Currency / Order Currency
Thanks it worked
__________________
Regards, Aneel Sarwar X-Cart version: 5.2.10 Windows: 7 Modules: Free version modules |
|||||||||
|
|||
X-Cart forums © 2001-2020
|