store-availability
Shows pickup availability of the current variant, with an optional list of locations.
At a glance
The first store has it
- Condition
available-at-locationshows.- Classes
is-availableonstore-availability,is-available-at-pickuponsmootify-product.
The first store does not have it
- Condition
not-available-at-locationshows.- Classes
is-available-at-pickuponsmootify-product: other stores can still have it.
No store offers pickup for the variant
- Condition
not-available-as-local-pickupshows, elsewhere insmootify-product.- Hidden
store-availability, with all it holds.
The other stores, in the panel
- List
- One
store-locationper 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
- Inside
smootify-product. - Out of place, Smootify removes it from the page.
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
| Group | Attribute name | Values |
|---|---|---|
| Pickup location | location | 5 |
| Pickup (condition) | condition | 2 |
Loading
Its code loads only on pages that have store-availability.