Have your say in Community Polls: What was/is your greatest motivation to start your own business?

I can't find how to add the product type to product page in Dawn theme

Solved

I can't find how to add the product type to product page in Dawn theme

Angelfab
Excursionist
38 1 16

Hi there,

 

I'm using Dawn theme and I wanted to add the product type* under the product title on the product page.

When I'm on the online editor, I can add quite a lot of elements, including text with a dynamic source, but the product type is nowhere to be seen.

In last resort, I'm considering creating a custom metafield with the product type so that I can access it and display it as a dynamic source, but it sounds completely stupid to create a second instance of this field which already exists as a "base" field for all products.

Please forgive my bad English and lack of specific technical vocabulary. Thanks in advance for your answers, tips and suggestions.


* For those wondering why I want to this: I think it could have a positive impact on our indexation

Accepted Solution (1)

devmont-digital
Shopify Partner
153 32 38

This is an accepted solution.

Hello @Angelfab,

 

Navigate to Online Store -> Themes -> Customize, then go to the default product and click on "Add block". Select "Custom content" and add the above Liquid code.

 

{% if product.type %}
  <p>Product Type: {{ product.type }}</p>
{% endif %}

 

 

Found our answer helpful? If so, Don't forget to show your support by liking and accepting the solution.
Looking for more help and expert consultation? Feel free to contact us at Shopify Expert or visit our website www.devmontdigital.io
Hire us for your project by simply emailing us at sales@devmontdigital.io

View solution in original post

Replies 3 (3)

devmont-digital
Shopify Partner
153 32 38

This is an accepted solution.

Hello @Angelfab,

 

Navigate to Online Store -> Themes -> Customize, then go to the default product and click on "Add block". Select "Custom content" and add the above Liquid code.

 

{% if product.type %}
  <p>Product Type: {{ product.type }}</p>
{% endif %}

 

 

Found our answer helpful? If so, Don't forget to show your support by liking and accepting the solution.
Looking for more help and expert consultation? Feel free to contact us at Shopify Expert or visit our website www.devmontdigital.io
Hire us for your project by simply emailing us at sales@devmontdigital.io
Angelfab
Excursionist
38 1 16

Thank you so much for your fast answer! It worked perfectly and I might even be able to duplicate it for other purposes! 😙

montaaa
Visitor
1 0 0

How to do the same for VENUE theme? Cant fond how to disply product type in product page