free-shipping-bar
Shows the progress towards free shipping from the cart; 2.0: data-amount can give a threshold per currency (§2.11).
Where it can go
- Anywhere on the page.
- Out of place, it stays in the page and does nothing: no context required.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-amount,data-quantity.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Free shipping bar | data-prop | 2 |
| Free shipping (condition) | free-shipping-condition | 2 |
Loading
Its code loads only on pages that have free-shipping-bar.