jQuery is a powerful JavaScript library, which in some cases may be necessary for the use of the code we provide in our articles.
1. In your Theme files, go to the section file called "customproductbuilder.liquid". (If there is no such a file, please create it by following this article).
2. Right after this line:
{% if product.type == 'cpb_product' %}
insert this code:
{{ 'https://code.jquery.com/jquery-3.0.0.min.js' | script_tag }}
Now, jQuery is available on your custom products pages.
Comments
0 comments
Please sign in to leave a comment.