For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

OrderLineLimit

Specify the number of line items that the user is allowed to have in the shopping cart at any one time.

Synopsis

OrderLineLimit  number

The parameter is expected to be a positive integer.  The default is zero (no limit).

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 the number of line items that the user is allowed to have in the shopping cart at any one time.  Some poorly-mannered robots may "attack" a website by following all links one after another.  Some even ignore the "robots.txt".  If one of these bad robots orders several dozen or more items, the time required to save and restore the shopping cart from the user session may become excessive.

If the specified limit is exceeded, the command defined in the global LockoutCommand directive will be executed, and the shopping cart will be emptied.  You should set this directive's value to a number greater than the number of line items a user is ever expected to order in one transaction.

Example

OrderLineLimit  50

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Wednesday 28 June 2006 at 9:11 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us