If you prefer not to have the latest and greatest features from our bi-weekly releases and prefer to stick to some working version and update manually, follow this guide. Please note that you can't go lower than the 4.1.3 version without breaking the app's functionality.
If you are using Shopify 2.0 theme
Open the template that you are using in the Customize section of the theme. Click on the Custom Product Builder section.
You will see the field "Custom Product Builder Version." Put the version you need in it.
Please note that you can't go lower than 4.1.3
If you are using Shopify 1.0 theme
You can define the JS dist version used to load on your storefront inside the file
customproductbuilder-initializer.liquid
Instructions:
Inside the file
customproductbuilder-initializer.liquid
Find and comment the following two lines:
{% comment %} {{'https://cdn.thecustomproductbuilder.com/dist/latest/custom-product-builder.js' | script_tag}} {{'https://cdn.thecustomproductbuilder.com/dist/latest/customizer-theme-main.js'| script_tag}} {% endcomment %}
Duplicate the lines and replace '/latest/' with the version you would like to use:
{{'https://cdn.thecustomproductbuilder.com/dist/x.xx.xx/custom-product-builder.js' | script_tag}} {{'https://cdn.thecustomproductbuilder.com/dist/x.xx.xx/customizer-theme-main.js'| script_tag}}
For example:
{{'https://cdn.thecustomproductbuilder.com/dist/4.1.3/custom-product-builder.js' | script_tag}} {{'https://cdn.thecustomproductbuilder.com/dist/4.1.3/customizer-theme-main.js'| script_tag}}
Comments
0 comments
Please sign in to leave a comment.