Hello, when your scrolling through the products under the collection pages, EX: Youth Apparel, Mugs, Stickers; and you click on an items title to view it, it leads the user back to the home page. But, if one was to click the products picture, it does lead them to the product page. How to a fix this to where both, the title/description & the picture, lead you to the product page. Our sites link is: https://spacetrader.shop/
https://spacetrader.shop/collections/patches here is a link for you to visually see the issue, try clicking on any products title, then try clicking on any products picture.
I have already tried the following:
In the âcollection.liquidâ I found âa href=â/ââ and changed it to âa href="{{ product.url }}â, but that did not do the trick.
Any other suggestions?
Thank you.
1 Like
Hi @Spacetraders ,
Go to Online Store > Themes > Edit Code.
Find this file: snippets/product-card.liquid (or similar).
Look for
{{ product.title }}
Replace it with:
{{ product.title }}
Save and refresh your site.
Hi @Spacetraders
This is the issue with the code of your product card, you will need to correct the code of the collection liquid file to solve it. If you donât mind, please share collab request code so I can check and solve it for you.
Hi thank you for replying. Iâm not the greatest at this so I apologize in advance. In the snippets section, I have âproduct-card-grid.liquidâ & âproduct-card-list.liquidâ. Neither of them have the code you mentioned. Those are the only 2 that mention product card throughout all sections. Any other suggestions?
Although I did find: " {{ âgeneral.breadcrumbs.homeâ | t }} "
this was the only line that I could find that mentions <a href=â/â
Not sure if this even relates to the issue.
I am unable to share this I apologize, but if you have any suggestions I would greatly appreciate it.