MaxQuantityField
Declare table column(s) that specify the maximum allowed order
quantity for each of your products.
Synopsis
|
MaxQuantityField [table:]column [[table:]column...]
|
Each parameter can specify a column name,
within a named table,
or just a column name on its own.
If no table name is specified then the current
ProductFiles value will be used.
Multiple column names can be specified,
as noted in the description,
below.
The default is for there to be no maximum quantity for product orders.
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.
|
Availability
This directive was introduced in version 5.0.1,
and is therefore not available for use with any earlier Interchange version.
|
Description
This directive allows you to specify column(s) that contain the
maximum allowed order quantity for each of your products.
This is generally used to help prevent orders from being placed that
would otherwise exceed the available stock level.
Each parameter can specify a column name,
within a named table,
or just a column name on its own.
If no table name is specified then the current
ProductFiles value will be used.
If more than one space or comma-separated specification is provided
then the column values will be added together to calculate the maximum
allowed order quantity.
|
Availability
Interchange 5.5.2 introduced the ability to declare more than
one space or comma-separated "[table:]column" specification
with this directive.
Before Interchange 5.5.2, only one "[table:]column" specification was allowed.
|
Also see the similar MinQuantityField directive.