Shopify Rel Tags – Next & Prev


{% if collection.previous_product %}
<link rel="prev" href="{{ collection.previous_product }}">
{% endif %}
{% if collection.next_product %}
<link rel="next" href="{{ collection.next_product }}">
{% endif %}

To be added to the <head>  section of the theme.

Want a Fast Server Like Mine?

GET VULTR!