When navigating through collection’s products with previous/next arrows, if i click on “back to X collection”, it takes me to the previous page instead of the collection, is there any way to fix it?
Example: https://aighard.com/collections/mordorhead/products/mordorhead-woman-tank-top
@Aighard It’s wired to do that in the themes javascript, look for document.querySelector(“.return-link”) , that control this behavior on the sites back button|links .
Always backup themes and files before making changes
I believe in your product-template if you look for the line similar to the following and remove .return-link that should go back to default behavior
Back to MORDÖRHEAD COLLECTION
It worked! Thanks a lot.
1 Like
Your welcome, please accept and like the solution so others searching this problem see it as solved.