Skip to content

Instantly share code, notes, and snippets.

@sadiesaurus
Created May 9, 2017 12:39
Show Gist options
  • Save sadiesaurus/3d6501edf9d54267214984e3543e5596 to your computer and use it in GitHub Desktop.
Save sadiesaurus/3d6501edf9d54267214984e3543e5596 to your computer and use it in GitHub Desktop.
related-products.liquid for Debut
@kingcla
Copy link

kingcla commented May 13, 2018

Can I suggest to use this code:

<div class="grid__item {{ grid_item_width }}">
    <a class="grid-view-item__link grid-view-item__image-container" href="{{ product.url | within: collection }}">
    	{% include 'product-card-list' %}
    </a>
</div>

Instead of this:

<div class="grid__item {{ grid_item_width }}">
    {% include 'product-card-grid' %}
</div>

The list of related products display in a much nicer way for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment