thegeneralyst/AnopaDocs
Market

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

  1. Add AP_ActiveMarket anywhere in your layout (e.g. header, top bar, footer).
  2. Choose the Display mode (Market Name, Currency Code, Currency Symbol, or Country Code).
  3. Optionally set a Prefix (e.g. "Shipping to: ") and/or Suffix.
  4. 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.

Property Controls

ControlTypeDefaultDescription
DisplayEnumMarket NameSelect what to show from the active market: Market Name, Currency Code, Currency Symbol, or Country Code.
PrefixStringOptional text to render before the value, e.g. "Shipping to: ".
SuffixStringOptional text to render after the value.
FontFont14pxTypography settings for the displayed market text.
ColorColor#111111Text color for the displayed market value.
Canvas PreviewStringUnited KingdomPreview value shown on the canvas when no live market data is available.