Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (42 sloc) 1.281 kb
__NAME__ purpose
specify table and/or column containing minimum allowed quantity for an item
__END__
__NAME__ see also
MaxQuantityField
__END__
__NAME__ synopsis
<group choice='plain'>
<arg choice='plain'>
<replaceable>table</replaceable>:<replaceable>column</replaceable>
</arg>
<arg choice='plain'>
<replaceable>column</replaceable>
</arg>
</group>
__END__
__NAME__ description
The &conf-__FILENAME__; directive specifies the &glos-database;
and database column containing the minimum allowed order quantity
for an item.
</para><para>
When two arguments are supplied (concatenated by a colon, <literal>:</literal>),
they indicate the appropriate &glos-database; table and column name.
When only one argument is supplied, it indicates the name of the column;
table defaults to the <database>products</database> database.
</para><para>
The code of the item in question must be present in the
database (<database class='field'>code</database> column),
or there will be no minumum quantity enforced.
__END__
__NAME__ notes
__END__
__NAME__ example: Setting __FILENAME__
<programlisting>
MinQuantityField min_quantity
</programlisting>
__END__
__NAME__ example: Setting __FILENAME__
<programlisting>
MinQuantityField inventory:min_batch
</programlisting>
__END__
Jump to Line
Something went wrong with that request. Please try again.