[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Set mv_price upon addition to cart
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users