2.0 Beta

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

What changed

order-edit-request

2.0: form where the customer asks to remove lines not yet shipped (Shopify's orderRequestEdit, removals only: the merchant resolves or declines it in the admin). Same rows and form as order-return, without reasons

v2.0 beta
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
  6. Loading

Where it can go

What it requires

Fields in the form

Each field’s name attribute tells Smootify what the field holds.

NameFieldWhat it does
quantity (in each request-line-item)input type="number" input, selectHow many of the line are asked for, kept between 0 and what the line allows (max written; a select gets its options, from 1 with a checkbox, else 0).
a checkbox (in each request-line-item, any name)input type="checkbox"The row is asked for only while ticked: its quantity field, else all of the line.

Attributes on the element

  • It reads is-requestable, has-request, loaded.

Attributes inside it

GroupAttribute nameValues
Removal requestorder-edit-request3
Return and removal fieldsname3

Loading

Its code loads only on pages that have order-edit-request.

    ↑ ↓ to moveEnter to openEsc to close