quantity-input
Number input with plus and minus buttons for a quantity.
Where it can go
- Inside any of:
smootify-product,cart-item. - Must contain
input. - Out of place, Smootify removes it from the page: without an input; elsewhere its buttons only step it.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-disable-max.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Quantity | data-action | 2 |
Loading
Defined at boot on every page.