2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

configurator-file-input

File uploader that is also a formula step, with the number of files as variable.

v2.0 betaServer planAdd-on: Product configurator
Open .md
On this page
  1. Where it can go
  2. What it requires
  3. Fields in the form
  4. Attributes on the element
  5. Attributes inside it

Where it can go

  • Inside smootify-add-to-cart.
  • 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.

NameFieldWhat it does
the element’s name, else its input[type="file"]’sfileThe field the uploaded files are sent under; the file input itself loses its name.

Attributes on the element

  • It reads data-formula, name, data-multiple, data-required, data-preview, data-only-images, min-file-size, max-file-size, min-resolution, data-error-<code>.
  • Smootify writes data-formula on it: do not set them yourself.

Attributes inside it

GroupAttribute nameValues
File uploadupload10

    ↑ ↓ to moveEnter to openEsc to close