[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] perl question
The correct way would be to use the directive (I use "format" as an
example)
UseModifier format
in catalog.cfg and to have a "format" field in the database
that contains the possible values for the format, such as XL, M, S, etc...
Then you would use something like [item-modifier format] to read what's
the current value for an item and, to set it, you would use the variable
mv_order_format in the form to order an item.
Using perl, you will find the value in each item of the $Items variable,
that represents the main cart. In the documentation you will find
examples of $Items or $Carts->{main} usage.
Ubi
---
On Wed, 19 Jun 2002, Ville Johansson wrote:
Hello,
I looked through the source for IC, and I was wondering where the shopping cart stuff takes place.
(I'm thinking of adding a custom variable). I want to add another variable where code, quantity etc is.
I'm pretty new to perl so I'm bad at finding things, so help would be appreciated :)
Ville Johansson
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users