Hi, I want the vendor name to link to our own collections, but instead linking to this collection page that I do not have control over: “/vendors?q=”
- I have already created individual collections per vendor
- Blockshop theme
- Occurs in product page
Hi, I want the vendor name to link to our own collections, but instead linking to this collection page that I do not have control over: “/vendors?q=”
Hi @learningaswego,
Please go to Actions > Edit code > sections > main-product.liquid file. Please send me the code of the file, I will check it
in main-product.liquid file vendor is only mentioned here:
“type”: “vendor”,
"name": "Vendor",
“limit”: 1,
“settings”:
BUT in snippets > product-card.liquid there’s more mention of vendor in these parts of code:
assign show_vendor = settings.product–show-vendor
” if onboarding
assign excerpt = 'sections.onboarding.description' | t
assign title = ‘sections.onboarding.product_title’ | t
assign url = product_item.url | within: collection
assign vendor = ‘sections.onboarding.vendor’ | t
else
assign title = product_item.title
assign url = product_item.url | within: collection
assign vendor = product_item.vendor
{%- if show_vendor -%}
{{- vendor -}}
{%- endif -%}