shop:orders CMS action
Base action for the customer order list page. The action loads a list of a currently logged in customer orders and prepares a corresponding PHP variable. Please note that the action requires a logged in customer, so a page, the action is assigned to, must has the Customers Only security mode enabled.
Generated PHP variables
Generated PHP variable details
¶ orders variable
A collection of customer orders. Each element in the collection is an object of the Shop_Order class. This variable can be NULL in case if there is no currently logged in customer. Always check whether the variable is not empty before displaying a list of orders.