Skip to content

Latest commit

 

History

History
89 lines (51 loc) · 7.24 KB

File metadata and controls

89 lines (51 loc) · 7.24 KB

Add new / edit order status

Description

This page allows adding or editing the Order statuses which are managed in the Orders listing page.

Order status Add or Edit User Interface

QA

Link to the tests

Common components

Tab selection

Selection is defined with the Navigation navigation tabs UI Kit. Statuses tab is selected by default in this page.

Order status section

The section contains a clock icon, a title Order status in the header and the whole content down the header.

Status name field

DescriptionValueError message
MandatoryYESThe field name is required at least in English (English).Error message if not allowed
Allowed/Forbidden valuesInvalid characters: numbers and !<>,;?=+()@#"{}_$%:-
Default valueEmpty field-
Help text--
Tool tipsOrder status (e.g. 'Pending'). Invalid characters: numbers and !<>,;?=+()@#"{}_$%:-
Lower limit1-Error message if bellow the limit
Upper limit64Your entry in field name (language English (English)) exceeds max length 64 chars (incl. HTML tags).Error message if up to the limit
BehaviorBehavior-Language switcher

Language switcher

(common component todo link).

Icon

DescriptionValueError message
MandatoryNO-Error message if not allowed
Allowed/Forbidden valuesAll graphical extensions: GIF, JPG, JPEG, JPE, PNG, WEBP.Image format not recognized, allowed formats are: .gif, .jpg, .jpeg, .jpe, .png, .webp
Default valueEmpty field-
Help text--
Tool tipsUpload an icon from your computer (File type: .gif, suggested size: 16x16).-
Lower limit--Error message if bellow the limit
Upper limit-Your entry in field name (language English (English)) exceeds max length 64 chars (incl. HTML tags).Error message if up to the limit
BehaviorBehavior-

Color title

DescriptionValueError message
MandatoryNO-Error message if not allowed
Allowed/Forbidden values--
Default value#ffffff-
Help text--
Tool tipsStatus will be highlighted in this color. HTML colors only. "lightblue", "#CC6600")-
Lower limit--Error message if bellow the limit
Upper limit--Error message if up to the limit
BehaviorBehavior-

Checkboxes with the particular settings

There are particular statements from Forms Checkboxes UI Kit. Those statements can apply to the particular Order status. Once the checkbox or the sentence is clicked, the statement will be enabled after clicking Save CTA button. Once the checkbox or the sentence is clicked once again, the statement will be disabled after clicking Save CTA button. The statements are with the explanations:

  • Consider the associated order as validated.
  • Allow a customer to download and view PDF versions of his/her invoices.
  • Hide this status in all customer orders.
  • Send an email to the customer when his/her order status has changed.
  • Attach invoice PDF to email.
  • Attach delivery slip PDF to email.
  • Set the order as shipped.
  • Set the order as paid.
  • Show delivery PDF.

Cancel button

Cancel button CTA (common component link todo)

Save button

Save button CTA (common component link todo)

Behaviors descriptions

Add figma link here ( Tristan Lehot)

Behavior of the Status name field

The field belongs to the Forms normal UI Kit. This field defines the name of the old or the new Order status. Once the field is filled, clicking Save will store the name.

Behavior of the Icon

This component is from Forms files UI Kit. The icon of the can be updated or added to the particular Order status. Once the graphical element is selected from the native machines' Browse popup, clicking OK and then Save in Prestashop will store the icon.

Color picker component behavior

Color picker (todo common component link when merge)

Multistores functionality

Multistores dependent page.