[ic] Set mv_price upon addition to cart
Mike Heins
mikeh@minivend.com
Sun, 1 Apr 2001 00:14:26 -0500
Quoting Dan B (db@cyclonehq.dnsalias.net):
> On my results page, when a user clicks "add to cart", I would like to set
> $Carts->{main}->[$line]{mv_price} for that lineitem.
>
> I'm trying to do it with mv_click code, but the item doesn't seem to be
> added to the cart until after mv_click (i.e. after refresh). My mv_click
> happens to do [munge_quantity], so that's where I'm working in...
That is what mv_check is for. It happens after the quantity update
if the action is "refresh".
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman