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
Where it can go
- Inside any of:
order-page,customer-order. - Must contain
form,request-line-item. - Out of place, Smootify removes it from the page: outside an order, or without a form or a row.
What it requires
- Shopify’s customer accounts, and
newCustomerAccountsPublicKeyinSmootifyUserOptions.
Fields in the form
Each field’s name attribute tells Smootify what the field holds.
| Name | Field | What it does |
|---|---|---|
quantity (in each request-line-item) | input type="number" input, select | How 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
| Group | Attribute name | Values |
|---|---|---|
| Removal request | order-edit-request | 3 |
| Return and removal fields | name | 3 |
Loading
Its code loads only on pages that have order-edit-request.