Hiding price modifiers

Last updated

If you use price modifiers but want the base product price to change smoothly when the selections are chosen, you can hide the price modifiers values from the storefront.

This can be done with the help of the following script:

<script>window.ec = window.ec || 
Object();window.ec.config = window.ec.config || 
Object();window.ec.config.product_options = window.ec.config.product_options || 
Object();window.ec.config.product_options.hide_price_modifiers = true;</script>

This script should be added to the source code of the page on your site before Ecwid integration code.


Back to top
Has the article answered your question?

Awesome! Thanks for your feedback!

Please send us that question. We will be happy to help by email.

Send a message