Important : Issues with TAGS and COLLECTIONS

Highlighted
Excursionist
19 0 6

Hello,

 

My english is not very good so I recorded a simple video to understand.

Please check the video before reading this text : https://streamable.com/7dj8d9

 

On each product page, I display product tags, so it help customer to visit other products, and it's SEO good practice.

 

When someone click on a tag, it's supposed to show all products including this tag, that's very simple.

But it does not ! It adds a collection filter (depending on the path i used to access on the product page). 

 

Wtf ? How to fix this bug ? 

0 Likes
Highlighted
Shopify Partner
15 3 4

bonjour Lionel,

Je connait pas le code de ton thème mais je pense avoir une piste :

il faut que trouve le code qui définit les tags elle devrait ressembler un peu à ça :

  {% for tag in product.tags %}
    <a href="/collections/all/{{ tag | handleize }}">{{ tag }}</a>
   {% endfor %}

et le lien de tes tag (href) devrait commencer comme ci-dessus avec "/collections/all/{{ tag | handleize }}" de façon à prendre en compte tous les produits.

j'espère que cela t'aideras

bonne chance pour la suite

If my solution help you : Like and Accept Solution.
0 Likes
Highlighted
Excursionist
19 0 6

Hey Gary,

 

Thank you very much for your help. Would you agree to help me, and I pay you for your help  ? I'm very bad ad development !

0 Likes