OrderLineLimit
Specify the number of line items that the user is allowed to have in the
shopping cart at any one time.
Synopsis
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