Hello ![]()
Could anyone explain how to add a link to the brand collection (on product page) - Dawn theme?
Where it says “Isara” I would like it to be possible to add a direct link to the brand’s collection.
Photo:
Hi @beabebeloja ,
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/main-product.liquid->Find “{%- when ‘text’ -%}”:
Step 3: Replace code here:
By below code:
{{- block.settings.text -}}
I hope it would help you
Best regards,
Kate | PageFly
Hello @beabebeloja ,
It’s the GemPages Support Team and we are glad to assist you today!
I would like to give you the recommendation to support you so kindly follow the steps below:
Open the main-product.liquid theme file
Find product__text
Change the {{- block.settings.text -}} code to
{{- block.settings.text | link_to_vendor -}}
.product__info-wrapper .product__text > a {
color: inherit;
text-decoration: none;
}
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
It worked, but the link doesn’t look good:
The link looks (for example):
https://beabebe.com/collections/vendors?q=Little%20unicorn
And should look:
https://beabebe.com/collections/little-unicorn
Its possible to fix?
Thank you ![]()
Worked, but apears bellow to the product title “unknown vendor”
Hi @beabebeloja ,
I’m sorry to hear that. Please give it a try with this new solution:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/main-product.liquid->Find “{%- when ‘text’ -%}”:
Step 3: Replace code here:
By below code:
{{- block.settings.text -}}
I hope it would help you
Best regards,
Kate | PageFly
Thank You, this solution works (Shopify Dawn theme).
Hi Kate - I’m trying to do this on Dawn theme 15.0.2 but can’t find the main-product.liquid file in the Edit Code.
Do you have an alternative solution for the new version of Dawn please?!
Thanks