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:order CMS action

Defined in /modules/shop/classes/shop_actions.php, lines 2595-2615
Author LemonStand eCommerce Inc.
Base action for the Order Details page. The action loads an order object with an identifier specified in the page URL. 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
order Shop_Order an order object, loaded from the database.
items Db_DataCollection a list of the order items.

Generated PHP variable details

order variable

Shop_Order $order;
An order object, loaded from the database. The variable value can be NULL if the order, specified in the URL, was not found.

items variable

A list of the order items. Each element of the collection is an object of the Shop_OrderItem class. This variable exists only in case if the requested order was found in the database.