\ShoppingCartAjax
Ajax-specific functionality for shopping cart controller
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class ShoppingCartAjax
extends Extension
{
- // methods
- public void updateAddResponse()
- public void updateRemoveResponse()
- public void updateRemoveAllResponse()
- public void updateSetQuantityResponse()
- public void updateClearResponse()
- public void updateVariationForm()
- public void updateVariationFormResponse()
- public void updateAddProductForm()
- public void updateAddProductFormResponse()
- public void updateCartForm()
- public void updateCartFormResponse()
- protected void setupRenderContexts()
- protected void triggerStatusMessage()
- public static Config_ForClass config()
Hierarchy
Extends
- Extension
Methods
protected
- setupRenderContexts() — Adds some standard render contexts for pulled regions.
- triggerStatusMessage() — Add status message to the response (only if `show_ajax_messages` config is set)
public
- config() — Helper for getting static shop config.
- updateAddProductForm() — Adds the ajax class to the AddProductForm
- updateAddProductFormResponse()
- updateAddResponse()
- updateCartForm() — Adds the ajax class to the CartForm
- updateCartFormResponse()
- updateClearResponse()
- updateRemoveAllResponse()
- updateRemoveResponse()
- updateSetQuantityResponse()
- updateVariationForm() — Adds the ajax class to the VariationForm
- updateVariationFormResponse()