Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ajax Price Update after the page loads


shish

Recommended Posts

Hello everyone.

 

I'm wondering if its possible that the addon Ajax Price Update automatically updates the product price when the page loads?

 

Example: 

 

Product1 has attribute Size with 2 options (XL -> 10€, XXL -> 15€). By default if you want the price for the XL you have to click XXL then back to XL to display the right price. Thats why I'm asking if its possible to load the price after the page loads...

 

So if the shirt is 5€ and the default attribute for size is XL (which is 10€) the price is still showing 5€ and not 15€. If I want to see the real price I have to select the second option and then back to first..

 

Any tips on how to solve this?

Link to comment
Share on other sites

Can you post the code that is relevant for this addon to work?

@@shish

 

I just approached this "problem" in a different way. The first product attribute option is always something that is 0€/$. That way if a customer does not select its ok and it is showing the correct price.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...