Index  Up  <<  >>  


AutoModifier

Sets an attribute in a shopping cart entry to the field of the same name in the ProductsFile pertaining to this item.

This is useful when doing shipping calculations or other embedded Perl that is based on item attributes. To set whether an item is defined as ``heavy'' and requires truck shipment, you can do:

    AutoModifier  heavy

When an item is added to the shopping cart using MiniVend's routines, the heavy attribute will be set to the value of the heavy field in the products database. In the default demo that would be products; any changes to ProductFiles would affect that, of course.

Some values are used by MiniVend and are not legal:

        mv_mi
        mv_si
        mv_ib
        group
        code 
        quantity
        item


Index  Up  <<  >>