klaviyo-back-in-stock
Klaviyo back-in-stock form, in a dialog or popover, for the current variant.
Where it can go
- Inside
smootify-product. - Must contain
form,button[type="button"]. - Must contain one of
dialog,[popover]. - Out of place, Smootify removes it from the page: also without data-company-id.
What it requires
Nothing beyond Smootify: it works on every plan.
Fields in the form
Each field’s name attribute tells Smootify what the field holds.
| Name | Field | What it does |
|---|---|---|
email (any case), else the first input[type="email"] | input type="text", input type="email" | Required (“Invalid Email” without it). The address Klaviyo alerts; every other field is ignored. |
Attributes on the element
- It reads
data-company-id.
Loading
Its code loads only on pages that have klaviyo-back-in-stock.