What is the proper way to link to liquid code in a Custom Liquid block? Using Dawn theme.

15 0 4

I am making my own variant picker for when I have too many options. How can I link to a file with liquid code instead of hardcoding?

Here's is an example:

  1. I added a Custom Liquid block.
  2. In the template, I have the custom liquid. 
    "5117a0c0-257f-4320-8e63-a0c39e9518e8": {
            "type": "custom_liquid",

            "settings": {
                    "custom_liquid": "how can I link a snippet or code file instead of hardcoded liquid?"

Replies 0 (0)