Shopify themes, liquid, logos, and UX
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
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.
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
do you have like this https://parartgon.com/collections/vendors?q=Anjali to this https://parartgon.com/collections/anjali ?
@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...
Yes, it custom redirect code possible to this.
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?
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.
thanks do you have add this link
{{ product_vendor | link_to_vendor }}
I added the bolded section below
{% if section.settings.product_vendor_enable %}
<span class="h3" itemprop="brand">{{ product.vendor | link_to_vendor }}</span>
{% 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 <a> link as you see below:
{% if section.settings.product_vendor_enable %}
<span class="h3" itemprop="brand"><a href="https://littlelalang.com/collections/{{ product.vendor }}">{{ product.vendor }}</a></span>
{% 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?
can you please check shopify liquid possible to shopify no more
https://www.shopify.in/partners/shopify-cheat-sheet
@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.
I see, thanks for the explanation! Is there any way to direct them to the actual collection page?
Or is that not an option?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024