2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Country switcher

The values of `data-prop` inside `country-switcher`.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. Values

At a glance

Dropdown toggle

The toggle: the current country

Name
Goes into the first element without data-prop, the dropdown icon aside. Put a Text block there, first: any other element before it, such as a wrapper, would have its content replaced.
Values
Elements with data-prop show the current country.
Dropdown link

The links: one per country

Template
The first Dropdown link, copied once for each country of your markets. The other links you designed are removed.
Current
Its link gets the class w--current.
A pick
Changes the country and closes the dropdown.

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
data-prop="name"Country—
data-prop="iso-code"Country codealso read as countryIsoCode
data-prop="currency-symbol"Currency symbol—
data-prop="currency-name"Currency name—
data-prop="currency-iso-code"Currency code—
data-prop="flag"Flagon image, container, text

    ↑ ↓ to moveEnter to openEsc to close