Shopify themes, liquid, logos, and UX
Hello, id like to be able to add product type under vendor on the product page of my site. It seems like such a simple thing not to be there but I cant find any options anywhere so I'm assuming its custom code somewhere. Any help would be greatly appreciated 🙂
Site is - cultcollectables.com
Find the file responsible for your product page layout. This is usually named something like product-template.liquid or found under the sections folder as product.liquid.
something like this:
<p>Vendor: {{ product.vendor }}</p>
Add the product type below the vendor information. For example:
<p>Vendor: {{ product.vendor }}</p>
<p>Type: {{ product.type }}</p>
If this fixed your issue, likes and accepting as a solution are highly appreciated
| Build an online presence with our custom-built Shopify Theme: EcomifyTheme
| Check out our reviews: Trustpilot Reviews
| We are Shopify Partners: EcomGraduates Shopify Partner
The only one i can find is product-item.liquid and this is the section with vendor in
{%- capture vendor -%}
{%- if settings.show_vendor -%}
{%- assign vendor_handle = product.vendor | handle -%}
{%- assign collection_for_vendor = collections[vendor_handle] -%}
{%- unless collection_for_vendor.empty? -%}
<a class="product-item__vendor link" href="{{ collection_for_vendor.url }}">{{ product.vendor }}</a>
{%- else -%}
<a class="product-item__vendor link" href="{{ product.vendor | url_for_vendor }}">{{ product.vendor }}</a>
{%- endunless -%}
{%- endif -%}
{%- endcapture -%}
I've sorted it, file i needed was product-meta.liquid - new code below 🙂
{%- if block.settings.show_vendor or block.settings.show_sku -%}
<div class="product-meta__reference">
{%- if block.settings.show_vendor -%}
{%- assign vendor_handle = product.vendor | handle -%}
{%- assign collection_for_vendor = collections[vendor_handle] -%}
{%- unless collection_for_vendor.empty? -%}
<a class="product-meta__vendor link link--accented" href="{{ collection_for_vendor.url }}">{{ product.vendor }}</a>
– <a class="product-meta__vendor link link--accented" href="{{ product.type | url_for_type }}">{{ product.type }}</a>
{%- else -%}
<a class="product-meta__vendor link link--accented" href="{{ product.vendor | url_for_vendor }}">{{ product.vendor }}</a>
– <a class="product-meta__vendor link link--accented" href="{{ product.type | url_for_type }}">{{ product.type }}</a>
{%- endunless -%}
{%- endif -%}
{%- if block.settings.show_sku -%}
<span class="product-meta__sku" {% if selected_variant.sku == blank %}style="display: none"{% endif %}>
{{- 'product.general.sku' | t -}} <span class="product-meta__sku-number">{{ selected_variant.sku }}</span>
</span>
{%- endif -%}
</div>
{%- endif -%}
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025