LemonStand Documentation

shop:order

The shop:order action is designed for creating the Order Details page. The action loads an order object with an identifier specified in the page URL. Please read the Creating the Order Details page article for details about the action usage.

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

  • $order – an order object, loaded from the database. An object of the Shop_Order class. The value of the variable can be NULL if the order, specified in the URL, was not found.
  • $items – a list of order items. An object of the Db_DataCollection class. 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.

Next: shop:orders
Previous: shop:login
Return to Reference

Comments

No comments posted so far.

Add your comment

Loading form...