thecodingmonkey Posted May 27, 2004 Share Posted May 27, 2004 I was thinking that perhaps having a script that would update the price of a product based on quantity discounts and quantity would be a really cool feature what does everyone else think. I.E. When you type 1 product it displays $10.00 when you type 10 it displays $9.00 And it should all take in effect if you have quantity discounts Link to comment Share on other sites More sharing options...
davidstummer Posted May 28, 2004 Share Posted May 28, 2004 that presents major security risk. ppl can turn off java script, they can also save a page modify the price in the source code and send it again. it's always best to do this stuff server side Link to comment Share on other sites More sharing options...
♥ecartz Posted May 28, 2004 Share Posted May 28, 2004 The point of doing it in javascript is to make it visible without a page refresh. Obviously the price to be used should be set in the PHP on the server. Adding javascript to the existing quantity price break contribution would be neat if someone wanted to do it. Cheers, Matt Always back up before making changes. Link to comment Share on other sites More sharing options...
davidstummer Posted June 1, 2004 Share Posted June 1, 2004 do it then ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.