Skip to main content
← Back to changelog page

2023-09-22 — Add plugin action set_display_currency

You can now use a plugin action to set the displayed currency and/or exchange rate on the order. These values are added to the order's application state.

note

Bold Checkout does NOT use these values to update the order_total or currency in the application state. The frontend is responsible for using these values to calculate the display the correct price to the shopper.

For more information please see the set_display_currency plugin action.

The application_state objet now contains the following fields:

  • display_currency: contains information about the currency that should be displayed
  • display_exchange_rate: the exchange rate used in frontend calculations to display the appropriate prices to the customer