Hi KetanKumar,
I edit the product-price.liquid and changed the normal vendor to {{product.vendor | link_to_vendor}}
Now, I can click on the vendor on a product page and get redirected to all of the vendor’s products.
However, if I click on the collection via a direct link to it, the collection shows a collection photo and a description.
If I click on the vendor of a product I get directed to the collection, but the collection image and description are now missing:
Normal Collection
Collection via “Vendor” Link:
How can I redirect to the actual collection including the cover photo & description?
I hope you can help me with this.
Best regards,
Patric
1 Like
@Patricbl12
Sorry for facing this issue, it’s my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
1 Like
Thank you very much @KetanKumar
The URL is https://parartgon.com/ or https://productmatch.myshopify.com/
(is the same)
I am looking forward to hearing from you soon.
Best regards,
Patric
@Patricbl12
That will happen because clicking on vendor name doesn’t redirects you to that vendor’s collection page. instead of that it is taking you to collections/all page and that page is filtered depending on your vendor’s name.
@KetanKumar Yes exactly!
Is it possible to redirect to the second kind of link, instead of the first link?
I need to direct to the actual collection…
@pioneer100
I see, thanks for the explanation! Is there any way to direct them to the actual collection page?
Or is that not an option?
@Patricbl12
Yes, it custom redirect code possible to this.
1 Like
bylo
June 30, 2021, 3:19pm
9
@KetanKumar
I’m facing this same issue. How do I redirect the url_to_vendor output to the collections page for the vendor rather than the all collections page?
1 Like
@bylo
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
1 Like
bylo
June 30, 2021, 8:17pm
11
1 Like
@bylo
thanks do you have add this link
{{ product_vendor | link_to_vendor }}
bylo
July 2, 2021, 8:07am
13
@KetanKumar
I added the bolded section below
{% if section.settings.product_vendor_enable %}
{{ product.vendor | link_to_vendor }}
{% endif %}
but then when i click on the vendor name (e.g. ‘Petite Crown’), it redirects to https://littlelalang.com/collections/vendors?q=Petite%20Crown
This is not correct as there is no collection description displayed.
So I changed it to an link as you see below:
{% if section.settings.product_vendor_enable %}
{{ product.vendor }}
{% endif %}
but now it redirects to https://littlelalang.com/collections/Petite%20Crown which is still not correct.
I need the vendor name to redirect to https://littlelalang.com/collections/Petite-Crown . Is there a way to do that in the product file?
1 Like
@bylo
can you please check shopify liquid possible to shopify no more
https://www.shopify.in/partners/shopify-cheat-sheet