This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:orders CMS action

Defined in /modules/shop/classes/shop_actions.php, lines 2567-2577
Author LemonStand eCommerce Inc.
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

Variable Type Description
orders Db_DataCollection a collection of customer orders.

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.