Active Market
Displays the name or currency of the currently active market from the global market store.
Active Market displays the name or currency of the currently active market. It reads directly from the global market store and automatically updates whenever the active market changes.
Use it to show contextual information like “Shipping to: United Kingdom” or the active currency code in headers, navigation, or footers.
What it does
- Reads the currently active market from the market store.
- Renders either the market name, currency code, currency symbol, or country code.
- Reacts to market changes without needing additional wiring.
How to set it up
- Add AP_ActiveMarket anywhere in your layout (e.g. header, top bar, footer).
- Choose the Display mode (Market Name, Currency Code, Currency Symbol, or Country Code).
- Optionally set a Prefix (e.g. "Shipping to: ") and/or Suffix.
- Adjust Font and Color to match your design system.
No market selector is required on the same page; AP_ActiveMarket always uses the global active market.