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
-
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_LOGIN
event 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$curr
is the ISO value for the currency.For example:
Beta Was this translation helpful? Give feedback.
All reactions