Error coming from MultiColumn

Solved

Error coming from MultiColumn

KarimAyman
Tourist
19 0 1

Does anyone know how to fix this error Liquid error (sections/multi-coloumns line 100): Could not find asset snippets/icon-arrow.liquid 

when adding an arrow under an image?

Accepted Solution (1)

Tech_Coding
Shopify Partner
332 91 81

This is an accepted solution.

Hello @KarimAyman 

The error you're seeing, Liquid error (sections/multi-columns line 100): Could not find asset snippets/icon-arrow.liquid, indicates that the template is trying to load a missing file, specifically icon-arrow.liquid in the snippets folder.

Steps to Fix the Error

  1. Check if the File Exists:

    • In your Shopify admin, go to Online Store > Themes > Actions > Edit Code.
    • In the left sidebar, scroll down to the Snippets folder.
    • Look for a file named icon-arrow.liquid.
  2. If the File is Missing:

    • If the icon-arrow.liquid file is not there, you can either:
      • Re-add the file if you have a backup or know what it should contain.
      • Remove the reference to the file in the multi-columns section if you don't need the arrow.
  3. Recreate or Add the Snippet: If you need to create the missing icon-arrow.liquid snippet:

    • Go to Snippets > Add a new snippet.

    • Name it icon-arrow.liquid.

    • Add the appropriate code for the arrow icon. If you want a simple arrow, you could use an SVG or a Unicode arrow, like this:

      liquid
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 2L5 9h14L12 2z" fill="currentColor"/> </svg>
  4. Find the Reference in the Code:

    • Go to Sections > multi-columns.liquid and look around line 100 for the reference to icon-arrow.liquid.

    • It should look something like this:

      liquid:
      {% render 'icon-arrow' %}

    If you don't want the arrow, you can simply remove this line of code.

  5. Save and Test:

    • After making the changes, save the file and refresh your page to see if the error is resolved.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Reply 1 (1)

Tech_Coding
Shopify Partner
332 91 81

This is an accepted solution.

Hello @KarimAyman 

The error you're seeing, Liquid error (sections/multi-columns line 100): Could not find asset snippets/icon-arrow.liquid, indicates that the template is trying to load a missing file, specifically icon-arrow.liquid in the snippets folder.

Steps to Fix the Error

  1. Check if the File Exists:

    • In your Shopify admin, go to Online Store > Themes > Actions > Edit Code.
    • In the left sidebar, scroll down to the Snippets folder.
    • Look for a file named icon-arrow.liquid.
  2. If the File is Missing:

    • If the icon-arrow.liquid file is not there, you can either:
      • Re-add the file if you have a backup or know what it should contain.
      • Remove the reference to the file in the multi-columns section if you don't need the arrow.
  3. Recreate or Add the Snippet: If you need to create the missing icon-arrow.liquid snippet:

    • Go to Snippets > Add a new snippet.

    • Name it icon-arrow.liquid.

    • Add the appropriate code for the arrow icon. If you want a simple arrow, you could use an SVG or a Unicode arrow, like this:

      liquid
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 2L5 9h14L12 2z" fill="currentColor"/> </svg>
  4. Find the Reference in the Code:

    • Go to Sections > multi-columns.liquid and look around line 100 for the reference to icon-arrow.liquid.

    • It should look something like this:

      liquid:
      {% render 'icon-arrow' %}

    If you don't want the arrow, you can simply remove this line of code.

  5. Save and Test:

    • After making the changes, save the file and refresh your page to see if the error is resolved.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.