Specific settings per page
Collect Page
Managing the Display of Orders and Parcels by Item State
You can easily customize how orders and their parcels are displayed in the collect page, based on the state of each item.
By default, the Store App applys the following standard item states “configuration” in the Cancelled section and the Already Collected section :
"cancelled_item_states": ["removed"],
"already_collected_item_states": ["fulfilled"]Visual Appearance
Customizing the Configuration
It is possible to override the default setup. This is often necessary, as projects may include more item states in their workflow than the default configuration provides.
To adjust the display:
Go to Configuration > Store App > Page Settings > Collect > Specific Setting > Option.
In
cancelled_item_states, list all the item states you want to appear in the Cancelled section (red).In
already_collected_item_states, list all the item states you want to appear in the Already Collected section (green).
⚠️ Important: When overriding, be sure to include the standard states as well as your custom ones.
Example
{
"cancelled_item_states": [
"removed_refund_requested",
"removed_refund_failed",
"removed_refunded",
"issue",
"removed"
],
"already_collected_item_states": [
"picked_up",
"fulfilled"
]
}