Accessing custom product types within the product object

New Member
3 0 1

Good day to you, fellow Shopify enthusiasts!

My question, is exactly what the title suggests: Is it possible to access custom product type from the product object?

{% assign customType = product.custom_type %} This would assign the custom type as a string.

I would like to conditionally render an information section on the product page.

If I can't accomplish it this way I can always add the necessary tags to my products. I am just curious if this functionality exists.


Reply 1 (1)
New Member
1 0 0


I have just tested. A custom product type is created when the value entered in the product_type attribute doesn't exist in the standard product_types. 

You can therefore just enter the wanted custom product type in the product_type field.


Hope this helps. 


Kind regards,