\Ext_Commerce_Controller
Extension for Content Controller that provide methods such as cart link and category list to templates
Synopsis
class Ext_Commerce_Controller
extends Extension
{
- // methods
- public void onBeforeInit()
- public DataList getCommerceCategories()
- public void getCommerceProducts()
- public HTML getCommerceCategoryNav()
- public string getCommerceCartLink()
- public string getCommerceCartButton()
- public ShoppingCart getCommerceCart()
- public Boolean getCommerceCartEnabled()
Hierarchy
Extends
- Extension
Methods
public
- getCommerceCart() — Return a the current shopping cart
- getCommerceCartButton() — Return a rendered button for the shopping cart
- getCommerceCartEnabled() — Checks to see if the shopping cart functionality is enabled
- getCommerceCartLink() — Return a URL to link to this controller
- getCommerceCategories() — Gets a list of all ProductCategories
- getCommerceProducts() — Get a full list of products, filtered by a category if provided.
- onBeforeInit()