configurator-checkbox
Checkbox whose formula step is on while checked.
Where it can go
- Inside
smootify-add-to-cart. - Must contain
input[type="checkbox"]. - 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 |
|---|---|---|
the data-name, else the name, of the first named element | any field | The step name the formulas use. |
Attributes on the element
- It reads
data-formula. - Smootify writes
data-formulaon it: do not set them yourself.