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

Defined in /modules/shop/classes/shop_actions.php, lines 31-62
Author LemonStand eCommerce Inc.
Base action for the Product Category page. The action loads a category object by a category URL name specified in the page URL.

Generated PHP variables

Variable Type Description
category Shop_Category a category object.
category_url_name string specifies a requested category URL name.

Generated PHP variable details

category variable

Shop_Category $category;
A category object. Use this object to display a list of category products and the category name and description. This variable can be NULL if a category, specified in the URL, was not found. Always check whether the variable is not NULL and display the "Category not found" message instead of the normal category page if it is NULL.

category_url_name variable

string $category_url_name;
Specifies a requested category URL name. This variable exists only if the requested category was found.