How to add a JS file for specific page in Shopify? — Usman Haider


If you want a JS file, which will only appear in a specific page,then follow the following steps: Login to shopify admin panel. Open you theme and edit layout file let suppose it is “theme.liquid” Your page name title is “Size Guide” and js file name “size_guide” Add the following code: {% if page_title contains […]

via How to add a JS file for specific page in Shopify? — Usman Haider

Advertisements