CartTriggerQuantity
Specify whether quantity changes to existing shopping cart line items
will cause CartTrigger subroutine(s) to execute.
Synopsis
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
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
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.
|