4

I would like Expresso Store to update my product price every time I choose a modifier. Is there an easy way to do this built into the store?

1 Answer 1

4

Store has built in dynamic price variables you can use. You can see all of the avilable variables here. You would want to use

<span class="store_product_price"></span>

To adjust the price when modifiers are changed.

6
  • I am sure this works in theory, but when I add the class to my span like this: <span class="store_product_price">{price}</span> It doesn't update when I change my modifiers. Commented Jan 2, 2013 at 14:57
  • It is hard to track down without knowing EE version, Store version, if you have any JS errors in the console Commented Jan 2, 2013 at 23:03
  • EE 2.5.3 is my current version number. Commented Jan 3, 2013 at 21:19
  • I would first recommend you take a look at your products in the store_example templates that were installed when you installed Store to see if the price updates dynamically when you change your modifiers. Commented Jan 3, 2013 at 23:25
  • Here is the verdict: I have no javascript errors. I have the latest version of the store and of EE. All seems to be working, except...I am unable to get the modifiers to change the price with the dynamic price variable. Commented Jan 15, 2013 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.