Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

javascript update price


thecodingmonkey

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...