Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

updating price based on attributes?


Aragon127

Recommended Posts

Not everyone uses javascript or enables javascript. So why would you want to limit yourself like this? What is wrong with the current method of selecting the options and then clicking "Add to Cart" and seeing the 'updated' price? If you are wanting to update a price on a page for a user interaction without sending the users choice back to the server (instant reaction), then javascript seems to be the only logical choice.

 

It shouldn't be to complicated as you already have the values (+ - $$) for each option as well as the original product price available. You would need to look into onchange() js method me thinks.

Link to comment
Share on other sites

The current system works great when you have your widgets with 2 or 3 options, but one when you have 1 product with a price of $0 and literally 40 attributes with 10 options each and prices ranging from $0-$800, users generally don't want to keep going back and reloading the page and changing options. They want to modify the product until they get the right mix of price and options.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...