As it stands, the Vendor name on any individual product page links to an automatically generated Vendor page, which I have no control over on my dashboard.
I would rather these link to the collection page for that vendor, which I do, in fact, have control over in my dashboard.
As it stands, it creates a messy and disjointed experience for my users, and is a huge source of frustration as controlling the layout of each individual collection is highly important to my store.
The snippet of code controlling these links is in my product.liquid section, and looks as follows:
{% if section.settings.product_vendor_enabled %}
{%- capture vendor -%} {{ product.vendor | link_to_vendor }} {%- endcapture -%}
<p class="product-vendor">{{ 'product.vendor_html' | t: vendor: vendor }}</p>
{% endif %}
I would imagine Iâd need to replace the âlink_to_vendorâ or " âproduct.vendor_htemlâ " with an a href link to /collections/vendor, but the vendor name would need to be handleized for url friendliness.
Anyone out there smart enough with liquid coding who could save my freakinâ life here?
Xx