Handle Currency Changes for Active Carts

Commerce carts don’t automatically support currency changes. If your store supports multiple currencies, we recommend that you make the currency picker inactive when a customer places an item in the cart. However, you can create a custom process to handle currency changes when items are in the cart.

  1. Create a secondary cart in the new currency. See Commerce Webstore Carts.

  2. Add items from the previous cart to the new cart. Make sure that products and price books are set up correctly in each currency that your store supports. See Commerce Webstore Cart Items and Commerce Webstore Cart Items, Batch.

  3. Delete the previous cart. See Commerce Webstore Cart.

  4. Make the secondary cart the primary cart. See Commerce Webstore Cart, Make Primary.