Order Pages
Liferay DXP 2024.Q4+/GA129+
The Classic Site Initializer and the Minium 4.0 Accelerator come with a set of order pages that use display page templates and fragments. This replaces older widget pages (Pending Orders and Placed Orders) that had a single widget containing all the details.
Both the Pending Orders page and Placed Orders page contain a list of all open and placed orders respectively. It uses the Orders Data Set fragment to display orders. You can search for orders using the search box, sort by individual columns, or filter by the account or order date range. The filter also has an Exclude toggle. When enabled, it displays everything except the options selected.
Currently, this feature is behind a beta feature flag (LPD-20379).
Pending Orders
-
Open a Commerce Classic or Minium 4.0 site.
-
Go to Orders → Pending Orders.
After selecting a pending order, you can view more details about it. There’s also the option to add or modify existing values. You can add or modify
- Purchase order number
- Purchase order document
- Shipping address
- Shipping method
- Delivery terms
- Requested delivery date
- Billing address
- Payment method
- Payment terms
Quick Checkout
If you’ve enabled quick checkout for your channel, you can click Quick Checkout at the top to place an order directly. This requires you to have all the necessary details already entered, including
- Shipping Address
- Billing Address
- Shipping Method
- Payment Method
- Delivery Terms (if applicable)
- Payment Terms (if applicable)
Placed Orders
-
Open a Commerce Classic or Minium 4.0 site.
-
Go to Orders → Placed Orders.
After selecting a placed order, you can view more details about it. You can only add or edit the purchase order number or create notes in the Questions and Answers field of a placed order. The rest of the fields are not editable.
Customizing Order Pages
Both the pending orders page and placed orders page use display page templates. To edit the default template,
-
Open the Site Menu () and navigate to Design → Page Templates.
-
Select Display Page Templates.
-
Select the Order display page template to edit the default one.
You can also edit the display page template by selecting a pending or placed order, clicking Edit () and selecting Edit Display Page Template.
Order Page Fragments
The display page template for the pending orders page and placed orders page contain the following fragments:
Fragment | Description |
---|---|
Order Status Label | To display both the order status and the workflow status. |
Inline Editable Order Field | To display the order name and the external reference code. |
Order Actions | To display the order actions (Request Quote, Checkout, Quick Checkout). |
Step Tracker | To display the order’s current step. |
Info Box | To display the following fields related to the order:
|
Order Items Data Set | To display the items in the order. |
Order Returns Data Set | To display the returns in the order, if applicable. |