Answers for "custom js shopify"

0

custom js shopify

If I understand correctly, the asset_url filter is what you are looking for.

To include a JS file in a .liquid file, you use:

{{ 'script.js' | asset_url | script_tag }}

And a CSS file:

{{ 'style.css' | asset_url | stylesheet_tag }}
Posted by: Guest on September-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language