Debut Theme | Return Button Missing after clicking product recommedation

Highlighted
New Member
2 0 0

Hello, 

We are using the debut theme to augment a Shopify storefront to match our main website. 

We have return to collection button at the bottom of the product page. However, if a user clicks a product recommendation - the product page does not have the back button. Can someone please advise? 

Link: shop.vadehraart.com 

 

Normal product pageNormal product pageProduct page after clicking product recommendationProduct page after clicking product recommendation

 

0 Likes
Highlighted
Shopify Partner
931 135 152

Hi There!

This button usually shows up when you click on a product from inside a Collection page. Once you click on a product outside of a collection page this does not show. It's normal behavior.

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
K&J
0 Likes
Highlighted
New Member
2 0 0

Hello - we would like it to show up at all times. Below is the code but I can't figure out what to tweak. Can you please advise? 

{% if collection %}

<div class="text-center return-link-wrapper page-width">
<a href="{{ collection.url }}" class="btn btn--secondary btn--has-icon-before return-link">
{% include 'icon-arrow-left' %}
{{ 'products.product.back_to_collection' | t: title: collection.title }}
</a>
</div>

{% endif %}

 

0 Likes