\Product_Controller
Displays a product, add to cart form, gets options and variation price for a {@link Product} via AJAX.
- Author: Frank Mullenger <frankmullenger@gmail.com>
- Copyright: Copyright (c) 2011, Frank Mullenger
Synopsis
class Product_Controller
extends Page_Controller
{
- // members
- private static Array $allowed_actions = ;
- // methods
- public void init()
- public void Product()
- public void ProductForm()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
—
Array
Allowed actions for this controller
Methods
public
- Product() — Legacy function allowing access to product data via $Product variable in templates
- ProductForm()
- init() — Include some CSS and set the dataRecord to the current Product that is being viewed.