Replies: 2 comments
-
|
Hi @cole007 You will need to make sure you are saving the cart/order after making the change Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks - that makes complete sense. Please do keep this open as a FR as I think account-based currency preferences would be a useful feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
For sites offering multiple currencies it would be good to specify a preferred currency to be applied to any future transactions/carts on a per user/account basis.
Did look to see if could tap into
User::EVENT_AFTER_LOGINevent so could update any carts based on a stored value (eg in a custom field associated with the user) but cannot seem to modify the currency of the cart object via a plugin (eg via$order->setPaymentCurrency( $curr );where$curris the ISO value for the currency.For example:
Beta Was this translation helpful? Give feedback.
All reactions