[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] daily special offer rotation


On Tue, 25 Mar 2008, Chris Kershaw wrote:

You could try adding the price of the specials to the cart from the flypage with:

<input type="hidden" name="mv_item_option" value="mv_price">
<input type="hidden" name="mv_order_mv_price" value="10.00">

Then make sure to change the CommonAdjust in catalog.cfg to look for the price in the cart first. It should look something like this:

CommonAdjust   $  ;:sale_price, ;:price, ==:options

The $ being the price in your cart

Though of course be aware that having any prices specified in HTML means that malicious end-users can manipulate prices. That doesn't mean you should never consider doing it, but you'd want to be aware of the potential for abuse and have a way of preventing it or dealing with it.

Jon

--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.