How to recursive rendering theme app extension snippets

How to recursive rendering theme app extension snippets

nkhoai
Shopify Partner
3 0 0

I get the error "Could not find asset snippets/menu_item.liquid" when using {% render 'menu_item', item: menuItem %} inside  snippets/menu_item.liquid file. If this file is in the theme's  snippets folder, I don't have the above problem. But when I create the theme app extension with the file menu_item.liquid located in the snippets folder of the app, the problem occurs. Looks like Shopify is trying to find the file snippets/menu_item.liquid in the theme instead of in the app. Can someone help me.

Reply 1 (1)

Lookfy
Shopify Partner
3 0 1

same for me 😞

Lookfy - Lookbook & Gallery. The ultimate solution for creating captivating lookbooks and product galleries.