Over 200 add-ons available under a single subscription for $40 per month!

Automatic currency change when changing language

The add-on allows you to configure the main and minor currencies for each interface language and automatically switch between them when changing the language
Automatic currency change — Instruction

Installation

Install the add-on via Administration → Add-ons → Add-on management. During installation, migrations are automatically executed to add columns to the languages table.

Currency settings per language

Go to Administration → Languages → Languages. For each language, edit the record and specify:

  • MS: primary currency — the currency in which prices will be displayed when this language is selected (if automatic switching is enabled).
  • MS: secondary currency — optionally a second currency to display in parentheses next to the main one.

Add-on settings

Open the ms_price_change add-on card in add-on management. Enable the "Switch currency automatically" option if you want the corresponding currency to be automatically applied on the storefront when the language is changed.

Verification

On the storefront, switch to another language. With automatic currency switching enabled, prices should be displayed in the currency set for the selected language. If a secondary currency is set, it is displayed next to the main one.

Maintenance

Update the add-on via standard CS-Cart mechanisms or the add-on repository. Migrations are executed automatically during updates.