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?
|
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. |
Re: Fetching Cart Currency / Order Currency
Thanks it worked :)
|
All times are GMT -8. The time now is 07:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.