box-item
One line of the box, cloned from the first box-item for each picked item. Inside cart-item the cart draws it instead: one copy per component of a line with components, a Magic Box or a Shopify fixed bundle, with no add-on (the Magic Box extension loads only where a smootify-magic-box is).
Where it can go
- Inside any of:
smootify-magic-box-cart,cart-item. - Out of place, it stays in the page and does nothing: needs the data-hash the box cart writes (in cart-item: removed on a line without components).
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-hash. - Smootify writes
data-hash,data-idon it: do not set them yourself.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Product | product | 33 |
| Selected variant | variant | 31 |
| Box item | box-item | 6 |
| Image size | max-width | 4 |