Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
related-products.liquid for Debut
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' %}

Instead of this:

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

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