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?


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.

  • 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. Jan 2 '13 at 14:57
  • It is hard to track down without knowing EE version, Store version, if you have any JS errors in the console Jan 2 '13 at 23:03
  • EE 2.5.3 is my current version number. Jan 3 '13 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. Jan 3 '13 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. Jan 15 '13 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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