configurator-dimension
Number inputs named after formula variables; the step is on when all hold valid numbers.
Where it can go
- Inside
smootify-add-to-cart. - Must contain
input[type="number"]. - Out of place, Smootify removes it from the page: also when the add-to-cart has no smootify-product ancestor.
What it requires
- The server plan: on other plans Smootify removes the element from the page.
- The Product configurator extension (server plan, the extension activated in the Smootify dashboard, the licensed domain). Without it, its markup is removed from the page.
Fields in the form
Each field’s name attribute tells Smootify what the field holds.
| Name | Field | What it does |
|---|---|---|
each input[type="number"] (its name) | input type="number" | Required (removed without one). The formula variable of that value; the other inputs are removed. |
Attributes on the element
- It reads
data-formula. - Smootify writes
data-formulaon it: do not set them yourself.