Hi,
I have noticed that when I need to add custom section that includes images (as well as existing section with “Recently Viewed”), then all there is is just white blank space, which is clickable and all, but visually there is nothing. As if lazy load went too far or something
I tried to include style=“loading:eager !important;” just everywhere where I could to make it load, but no luck so far.
There is something that blocks visual load but I can`t figure out what it is.
Right now there is another section I want to add into the product page & it won`t load, but is clickable:
https://ceu6pjqpug6lcdks-40332230818.shopifypreview.com
You can see text, but not {{ product.title }} or images.
This particular section is Custom HTML section within Theme → Customise, but even the ones made in Code Editor would act the same way.
Pls help me out ![]()
P.S. Impulse Theme.
P.P.S. If it helps, here is the code:
{% for tag in product.tags %}
{% if tag contains 'group_' %}
{% assign style_group_tag = tag %}
{% endif %}
{% endfor %}
{{ style_group_tag }}
{% if product.metafields.custom.gender.value contains 'Ladies' %}
{% assign department_collection = collections['ladieswear'] %}
{% elsif product.metafields.custom.gender.value contains 'Men' %}
{% assign department_collection = collections['menswear'] %}
{% elsif product.metafields.custom.gender.value contains 'Boys' %}
{% assign department_collection = collections['childrenswear'] %}
{% elsif product.metafields.custom.gender.value contains 'Girls' %}
{% assign department_collection = collections['childrenswear'] %}
{% elsif product.metafields.custom.gender.value contains 'Home' %}
{% assign department_collection = collections['homeware'] %}
{% elsif product.metafields.custom.gender.value contains 'Pets' %}
{% assign department_collection = collections['homeware'] %}
{% elsif product.metafields.custom.gender.value contains 'Baby' %}
{% assign department_collection = collections['childrenswear'] %}
{% endif %}
{{ department_collection.title }}
{% for product in department_collection.products %}
{% if product.tags contains style_group_tag %}
-
{% endif %}
{% endfor %}