I’m now trying to capture grandchild’s images(featured product image), but the below code doesn’t work as the attached image shows.
Kindly let me know the solution.
{% for grandchildlink in childlink.links %}
<li{% if grandchildlink.active %} class=“site-nav–active”{% endif %}>
<a
href=“{{ grandchildlink.url }}”
class=“site-nav__dropdown-link”
data-meganav-type=“child”
{% unless request.page_type == ‘index’ %}{% if grandchildlink.active %}aria-current=“page”{% endif %}{% endunless %}
tabindex=“-1”>
{{ grandchildlink.title | escape }}
