smootify-product[data-id="cart-complementary"]
Card template repeated with the complementary products of the latest cart line.
Where it can go
- Anywhere on the page.
- Out of place, it stays in the page and does nothing: without the licence it stays an unloaded card.
What it requires
- The Cart Upsell extension (lite or server plan, or the extension activated in the Smootify dashboard). Without it, the element does nothing.
Attributes on the element
- It reads
data-id,limit. - Smootify writes
data-id,cart-upsellon it: do not set them yourself.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Product | product | 30 |
| Gallery parts | gallery | 4 |
| Selected variant | variant | 28 |
| Option buttons | option | 14 |
| Each value | option | 5 |
| Image size | max-width | 4 |
| Loading | skeleton | 5 |
| Form values in the page | form-value | 7 |
| Product metafield | metafield | 8 |
| Variant metafield | variant-metafield | 4 |
| Option metafield | option-metafield | 3 |
| Quantities of a metaobject’s products | metaobject-quantity | 3 |
| Product (condition) | condition | 22 |
| Product tags (condition) | tagged | 4 |
| Product metafield (condition) | if-metafield | 4 |
| Variant metafield (condition) | if-variant-metafield | 4 |