Regarding Theme App Extension: snippet render is not working somehow.

Jaron_Smith
Shopify Expert
16 0 1

Here is the code in blocks/app-embed-block.liquid file. 

where render files are available in snippets directory and assets contains css and js files.

 

{% render 'xyz.script' %}
{% render 'xyz.modal' %}

{% schema %}
{
"name": "App Dev Exp",
"target": "body",
"stylesheet": "xyz.modal.css",
"javascript": "xyz.inventory.js"
}
{% endschema %}

 

Render is not working all themes. Where it was actually working earlier. What can be done in this situation ? to get render working all the time. 

Also, mainly this is happening with new extension push. 

Jaron, Softpulse Infotech | Shopify Experts & Partners | softpulseinfotech.com
Reply 1 (1)
talha_dev
Shopify Partner
11 0 2

@Jaron_Smith Hi, I am having similar kind of issue, how can I have my extension snippets access in my theme?