Cart Rules listing

Description

It is an user interface where the user can view all the cart rules that has been created.

Common components

The UI elements

Add new catalog price rule

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

Add new catalog price rule

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

Recommended Modules and services

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

ID

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Name

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Priority

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Code

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Quantity

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

-

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Expiration date

DescriptionValueError message

Mandatory

NO

-

Allowed/Forbidden values

Numbers allowed only

-

Default value

-

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Behaviors description

Add new cart rule button behavior

This is CTA button (Buttons with icons UI kit) once clicked it opens Catalog price rules creation page. When hover mouse pointer on it, button color changes.

This is CTA button (Buttons outline UI kit) once clicked opens Recommended Modules and Services popup with information about recommended modules and link to addons.prestashop.com page in new window.

Cart rules and numbering behavior

The numbering next Cart rules title is indication, how many rules are there in this listing. If there is more than one Cart rule created in the listing, and all the Cart rules are configured identically, Prestashop will use the cart rule which is the nearest to ID 0, which basically is the oldest-made configuration rule in listing.

ID input behavior

This is input field (Forms normal UI kit) to set cart rule ID number, in order to find the appropriate rule and filter it out. Next to input title are up and down arrows to list cart rules by ID in ascending or descending order.

Name input behavior

This is input field (Forms normal UI kit) to set cart rule name, in order to find the appropriate rule and filter it out. Next to input title are up and down arrows to list cart rules by name from A to Z or from Z to A. If cart rules names start with numbers arrows list cart rules by name in ascending or descending order. When in the list are cart rules that names start with numbers and letters, first list cart rules that names start with number and after them with letters from A to Z.

Priority input behavior

This is input field (Forms normal UI kit) to set cart rule priority, in order to find the appropriate rule and filter it out. Next to input title are up and down arrows to list cart rules by priority in ascending or descending order.

Code input behavior

This is input field (Forms normal UI kit) to set cart rule code, in order to find the appropriate rule and filter it out. Next to input title are up and down arrows to list cart rules by code first symbol, if letter list from A to Z or from Z to A. If cart rules codes start with numbers arrows list cart rules by code in ascending or descending order. When in the list are cart rules that names start with numbers and letters, first listed cart rules that first symbol is number and after them with letters from A to Z.

Quantity input behavior

This is input field (Forms normal UI kit) to set cart rule total quantity, in order to find the appropriate rule and filter it out. Next to input title are up and down arrows to list cart rules by quantity in ascending or descending order.

Expiration date inputs behavior

There are From and To input fields(Forms normal UI kit), once clicked on input field opens calendar in popup. It is just simple date and time selection picker widget. Select the year, month and day from when or till when the cart rule will be executed and displayed for Prestashop items. There are also allowed to enter date in input field. Next to inputs title are up and down arrows to list cart rules by expiration date.

Status dropdown behavior

Status dropdown (Dropdowns basics UI kit) by default is set on empty option to show all cart rules. Cart rules can be filtered by status: Enabled - Yes or Disabled - No.

Search button behavior

Search is CTA button with search icon (Buttons with icons UI kit) once clicked it shows result by enter information in ID, Name, Priority, Code, Quantity, Expiration date inputs and Status dropdown. When hover mouse pointer on it, button color changes.

Cart rules list behavior

Every created cart rule is shown in separate line in Cart rule list. Each cart rule in list could be shown with these elements if they were set while creating Cart rule:

  • ID

  • Name

  • Priority

  • Code

  • Quantity

  • Expiration date

  • Status

Bulk actions behavior

When there are multiple cart rules created, Bulk Actions button help manage them and configure the main actions. Checkboxes (Forms checkboxes UI kit) in each cart rule line can be used, if there is need to manage rules separately and use for Bulk Actions for adjusting the rule. Once clicked on Bulk actions dropdown opens these options:

  • Select All - option to select all the checkboxes of listing items in Cart rules list.

  • Unselect All - option to unselect all the checkboxes of listing items in Cart rules list

  • Enable selection - after specific multiple Cart rules checkboxes selection, it can be enabled by one click.

  • Disable selection - after specific multiple Cart rules checkboxes selection, it can be disabled by one click.

  • Delete selected - after specific multiple Cart rules checkboxes selection, it can be a deleted from the listing by one click.

Edit behavior

Edit is dropdown with button split (Dropdowns with button split UI kit), once clicked Edit button opens that cart rule page to make some changes. Once clicked dropdown opens Delete option, when it clicked cart rule is deleted form list.

Multistores functionality

This page is Multistores independent (todo link) page. Cart Rules listing is not aligned with separate multistores - listing is not affected by switching different multistores.

Last updated