# Product and variants

> The product scope and what shows its price, stock and pickup availability.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/product-and-variants  
Updated: 2026-11-16

| Element | What it does |
|---|---|
| [`model-viewer`](https://www.smootify.io/docs/reference/elements/model-viewer) (template) | 3D viewer Smootify creates for each 3D model of a product. |
| [`quantity-input`](https://www.smootify.io/docs/reference/elements/quantity-input) | Number input with plus and minus buttons for a quantity. In a product, min, step and max come from the variant’s quantity rules: Shopify’s (B2B catalogs) together with the Smootify purchase rules (2.0, HQ #68), max from the stock without a rule maximum; a quantity the rules refuse moves to the nearest they take. |
| [`quick-order`](https://www.smootify.io/docs/reference/elements/quick-order) | (HQ #59b) Every variant of a product in a table, with a quantity each (a quick order list). Its smootify-variant (without data-product-id) is the row: copied once per variant with the [variant=”…”] values, data-id and the variant’s state classes, is-active with a quantity. The row’s quantity-input starts at 0 and takes 0 or what the Smootify purchase rules and Shopify’s B2B quantity rule accept, up to the stock (a variant sold out takes none); its input keeps its own name, it is not the product form’s quantity. [quick-order=“add”] adds every row with a quantity in one addition, then empties the table; disabled while it is empty. data-sync (“false” turns it off): the rows show the cart’s own lines of each variant (no properties, add-ons or box) and every change goes to the cart, 0 taking the line out; no add button then. A form inside takes pasted SKUs, one per line with its quantity (“TEE-S 4”, any case): the rows of this product’s SKUs take them; the others are the form error, data-error-not-found (default “SKU not found”) followed by the SKUs. Asks Shopify for the volume pricing (§2.11). The [condition=”…”] inside a row follow the row’s variant (out-of-stock on a sold-out one), even inside a product page. Every plan. Keep it outside smootify-add-to-cart. |
| [`smootify-add-to-cart`](https://www.smootify.io/docs/reference/elements/smootify-add-to-cart) | Product form that turns the selection into cart lines. |
| [`smootify-banner`](https://www.smootify.io/docs/reference/elements/smootify-banner) | Licence or development badge that Smootify appends to the body. |
| [`smootify-error-banner`](https://www.smootify.io/docs/reference/elements/smootify-error-banner) | Advice box Smootify appends over an element on testing domains. |
| [`smootify-price`](https://www.smootify.io/docs/reference/elements/smootify-price) | Writes the price, compare-at price and total of its scope into its children. Inside subscription-swatches it shows its own option’s price whatever plan is chosen: in a plan’s radio that plan, in the one-time tab or radio the price without a plan, and (2.0) in a group’s tab link its first plan. |
| [`smootify-product`](https://www.smootify.io/docs/reference/elements/smootify-product) | Loads a Shopify product into a scope and binds its descendants. |
| [`smootify-shop-pay`](https://www.smootify.io/docs/reference/elements/smootify-shop-pay) | Shows Shopify’s Shop Pay button for the current variant or the cart lines. The button fills the element whatever the display of its class (2.0): the element’s width sizes the button. |
| [`smootify-variant`](https://www.smootify.io/docs/reference/elements/smootify-variant) | Repeats its block once per variant of a product. |
| [`store-availability`](https://www.smootify.io/docs/reference/elements/store-availability) | Shows pickup availability of the current variant, with an optional list of locations. |
| [`store-location`](https://www.smootify.io/docs/reference/elements/store-location) (template) | Template of one pickup location row, cloned per location. |
