Hello,
How can I show the vendor name of all of our products in store with Pipeline theme?
I checked the setting but can’t find the show vendor name tick box.
Any assistance is highly appreciated.
Hello,
How can I show the vendor name of all of our products in store with Pipeline theme?
I checked the setting but can’t find the show vendor name tick box.
Any assistance is highly appreciated.
Hello @demor_support ,
Please share your website URL.
Hi @demor_support ,
Please go to Customize > Products > Default product > Product page > Add block > Liquid and add code:
Code:
{{ product.vendor | link_to_vendor }}
Hope it helps!
You can turn on vendor in the product details page. Go to Theme Editor > Product > Default Page, then select Title and Price block and check Show vendor
@LitExtension there’s no liquid in the options in the add block.
@ExpertRookie the vendor name appears when you click the product but what I would like show is the vendor name will appear in top of each of products when browsing many product lines.
Can you help on this? Thank you!
Hi @demor_support ,
Please send me the code of product-template.liquid file, I will check it for you
@LitExtension there’s no product-template only as below.
here’s the code
{% section “product” %}
{% section “related” %}
{% assign current_variant = product.selected_or_first_available_variant %}
Hi @demor_support ,
Please send the code product.liquid file, I will check it.
here’s the code of theproduct.liquid file @LitExtension
{% section “product” %}
{% section “related” %}
{% assign current_variant = product.selected_or_first_available_variant %}
@LitExtension oh i see now. here’s the correct codes that.
{% schema %}
{
“name”: “Product page”,
“settings”: [
{
“type”: “header”,
“content”: “Layout”
},
{
“type”: “checkbox”,
“id”: “product_breadcrumbs”,
“label”: “Show breadcrumbs”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_price_above”,
“label”: “Show price above product title”,
“default”: true
},
{
“type”: “select”,
“id”: “form_position”,
“options”: [
{ “value”: “below”, “label”: “Description above form”},
{ “value”: “above”, “label”: “Description below form”}
],
“label”: “Description position”,
“default”: “below”
},
{
“type”: “checkbox”,
“id”: “show_quantity”,
“label”: “Show quantity selection”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_payment_button”,
“label”: “Show dynamic checkout button”,
“info”: “Lets customers check out directly using a familiar payment method. Learn More”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “product_show_vendor”,
“label”: “Show vendor”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “zoom_enable”,
“label”: “Enable image zoom”
},
{
“id”: “product_reviews_enable”,
“type”: “checkbox”,
“label”: “Enable reviews”,
“info”: “Requires the Shopify Product Reviews app.”
},
{
“type”: “header”,
“content”: “Optional sizing popup”
},
{
“id”: “info_page”,
“type”: “page”,
“label”: “Select page”,
“info”: “This popup will show on every product.”
},
{
“type”: “header”,
“content”: “optional product tabs”
},
{
“type”: “select”,
“id”: “tabs_position”,
“options”: [
{ “value”: “sidebar”, “label”: “Tabs beside image”},
{ “value”: “below”, “label”: “Tabs below”}
],
“label”: “Tabs position”,
“default”: “below”
}
],
“blocks”: [
{
“type”: “tab_description”,
“name”: “Description H6”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “Heading 6 titles will be converted to tab headings, tab content will be everything between the Heading 6 titles. Product Tabs Documentation.”
}
]
},
{
“type”: “tab_richtext”,
“name”: “Text”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Label”,
“default”: “Text tab”,
“info”: “Example: Warranty policy”
},
{
“type”: “richtext”,
“id”: “raw_content”,
“label”: “Tab content”,
“default”: “
This tab content type will accept rich text to help with adding styles and links to additional pages or content. Use this to add supplementary information to help your buyers.
”This tab content type will accept HTML code for advanced styling. Use this to add video embeds, or other advanced HTML content.
”{% endschema %}
Hi @demor_support ,
You just go to file snippets > product.liquid file and add code:
{{ product.vendor | link_to_vendor }}
it will display fine.
If you don’t know where to add the code, please send me the code and I will guide you where to add the code for it.
@LitExtension I’ve already added the code in the snippet but the vendor name still doesn’t appear
Hi @demor_support ,
Please send your site and if your site is password protected, please send me the password. I will check it.
@LitExtension here’s the site.
https://j3k6zx1wim3b4qtu-32886259850.shopifypreview.com
Thanks again!
@LitExtension here’s for easy reference(pic below), it doesn’t show the vendor name when checking the products. And yes, you can see the brand name once you clicked the product. But what I’ve wanted was to show the vendor name even if it is just showing in a grid or list.
Thank you!
Hi @demor_support ,
Please send me the code of product-grid-item.liquid file, I will check and guide you in detail
@LitExtension here’s the code of the product-grid-item.liquid file
{%- assign on_sale = false -%}
{%- if product.compare_at_price > product.price -%}
{%- assign on_sale = true -%}
{%- endif -%}
{%- assign sold_out = true -%}
{%- if product.available -%}
{%- assign sold_out = false -%}
{%- endif -%}
{%- assign new_product = false -%}
{%- assign published_date = product.published_at | date: “%s” -%}
{%- assign now_date = ‘now’ | date: “%s” -%}
{%- assign age_in_days = now_date | minus: published_date | divided_by: 60 | divided_by: 60 | divided_by: 12 -%}
{%- if age_in_days < settings.tag_new_limit -%}
{%- assign new_product = true -%}
{%- endif -%}
{%- assign sellout_tag = false -%}
{%- if sold_out and settings.tag_sellout -%}
{%- assign sellout_tag = true -%}
{%- endif -%}
{%- assign new_tag = false -%}
{%- if new_product and settings.tag_new -%}
{%- assign new_tag = true -%}
{%- endif -%}
{%- assign sale_tag = false -%}
{%- if on_sale and settings.tag_sale -%}
{%- assign sale_tag = true -%}
{%- endif -%}
{%- assign tagged = false -%}
{%- if sellout_tag or new_tag or sale_tag -%}
{%- assign tagged = true -%}
{%- endif -%}
{%- capture sticker -%}
{%- if tagged %}
{%- if sellout_tag -%}
{%- assign product_img = product.featured_image | img_url: ‘1x1’ | replace: ‘1x1.', '{width}x.’ -%}
{%- assign double_img = false -%}
{% if product.images[1].src and settings.image_hover_enable %}
{%- assign double_img = true -%}
{% endif %}
{%- if settings.image_autoheight_enable -%}
{%- assign multiplier = settings.product_grid_aspect_ratio -%}
{%- assign ratio = product.featured_image.aspect_ratio -%}
{%- assign inverse_ratio = 1 | divided_by: ratio -%}
{%- assign top_offset = 1 | divided_by: ratio | times: 100 | divided_by: 2 -%}
{%- assign top_offset_subtractor = multiplier | times: 100 | divided_by: 2 -%}
{%- capture auto_height -%}
{%- if inverse_ratio > multiplier -%}
style=“width:{{ ratio | times: multiplier | times: 100 }}%; margin: 0 auto;”
{%- else -%}
style=“padding:{{ top_offset_subtractor | minus: top_offset }}% 0;”
{%- endif -%}
{%- endcapture -%}
{%- endif -%}