For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

CartTriggerQuantity

Specify whether quantity changes to existing shopping cart line items will cause CartTrigger subroutine(s) to execute.

Synopsis

CartTriggerQuantity  Yes

This is a Yes or No directive.  The default is No.

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

This directive specifies whether quantity changes on existing shopping cart line items will cause specified CartTrigger subroutine(s) to be called.

Note

Note

A quantity change to zero will result in the line being deleted from the cart, and will consequently cause CartTriggers to execute (with the "delete" action), regardless of this directive's setting.

Warning

Warning

Direct [perl] manipulation of the $Carts hashref, or the $Items arrayref, will not cause either CartTrigger or CartTriggerQuantity triggers to fire.  Cart triggers only fire when the cart content is modified by Interchange's CGI argument processing code.

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Monday 30 October 2006 at 12:04 PM (CST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us