2.0 Beta

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

What changed

store-availability

Shows pickup availability of the current variant, with an optional list of locations.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. What it requires
  4. Attributes on the element
  5. Attributes inside it
  6. Loading

At a glance

The first store has it

Condition
available-at-location shows.
Classes
is-available on store-availability, is-available-at-pickup on smootify-product.

The first store does not have it

Condition
not-available-at-location shows.
Classes
is-available-at-pickup on smootify-product: other stores can still have it.

No store offers pickup for the variant

Condition
not-available-as-local-pickup shows, elsewhere in smootify-product.
Hidden
store-availability, with all it holds.

The other stores, in the panel

List
One store-location per store that offers the variant, except the store chosen in a location switcher. It loads when the panel opens.
Button
Hidden when there is only one location.

More in the guide.

Where it can go

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

  • It reads disable-blur, animation-name, animation-duration.

Attributes inside it

GroupAttribute nameValues
Pickup locationlocation5
Pickup (condition)condition2

Loading

Its code loads only on pages that have store-availability.

    ↑ ↓ to moveEnter to openEsc to close