[ic] Fractional item quantity

Jon Jensen jon@akopia.com
Thu, 16 Nov 2000 14:11:18 -0600 (CST)


On Thu, 16 Nov 2000, Zachary Matthews wrote:

> In the Construct Something demo, you can enter fractions (ie: .05) for 
> the quantity of an item, and the price adjusts accordingly.  In reality,
> of course, you can't order five hundredths of a ladder, or a hammer...
> 
> Is there a way to prevent fractional quantities from being accepted?

See line 452 of Construct Something's catalog.cfg:

FractionalItems  Yes

Just change that to 'No' instead. It's documented in the 'icconfig'
documentation:

http://developer.akopia.com/cgi-bin/ic/dev/icconfig_110.html

Jon