Liquid, JavaScript, themes, sales channels
Hello,
I am using Kalles theme for my store. I need to rectify the below issue:
https://satvic.in/products/ashwagandha-powder
https://satvic.in/collections/immunity-boosters/products/ashwagandha-powder
The above URL and similar URL creates duplication issue throughout the website. I Googled and found that I have to edit a code in the “Snippets” folder, and select “product-grid-item.liquid” but unfortunately, I cannot find the product-grid-item.liquid under the Snippets folder.
I don't want to confuse Google by creating two duplicate links/content. Please help me find it or let me know what is the best way to make sure that the website does not have duplicate content.
Solved! Go to the solution
This is an accepted solution.
Hey @satvicfoods,
Since Kalles is not a standard Shopify theme the snippet name could be slightly different than Shopify's own themes. Can you please provide the access to your store so that I can take a look into it.
The solution is quite simple. We just need to remove (| within: collection) from href="{{ product.url | within: collection }}".
Thanks!
This is an accepted solution.
@satvicfoods Sure. Here's my email id: er.amarjyotikhuntia@gmail.com
This is an accepted solution.
Hey @satvicfoods,
Since Kalles is not a standard Shopify theme the snippet name could be slightly different than Shopify's own themes. Can you please provide the access to your store so that I can take a look into it.
The solution is quite simple. We just need to remove (| within: collection) from href="{{ product.url | within: collection }}".
Thanks!
This is an accepted solution.
@satvicfoods Sure. Here's my email id: er.amarjyotikhuntia@gmail.com
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024