2.0 Beta

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

What changed

file-input

Uploads files to Shopify and submits their gids as one form field. The saved files of its value show their file name, and their image when data-preview is set or (2.0) the designed item template has an [upload="preview"].

v2.0 betaServer plan
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

What it requires

  • The server plan: on other plans Smootify removes the element from the page.

Fields in the form

Each field’s Name setting in Webflow tells Smootify what the field holds. It is a setting of the field, not a custom attribute.

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 name, value, data-multiple, data-required, data-preview, data-only-images, min-file-size, max-file-size, min-resolution, data-error-<code>.

Attributes inside it

GroupAttribute nameValues
File uploadupload10

    ↑ ↓ to moveEnter to openEsc to close