All Collections
For developers
Customization examples
Conditional Content if Product Has Options
Conditional Content if Product Has Options
Shevaughn avatar
Written by Shevaughn
Updated over a week ago

Please note this document is included as a courtesy to aide developers in customizations related to Product Customizer, so you should be familiar with HTML / liquid to implement changes listed below.

Sometimes you may want to include content only if Product Customizer options are added to the product. For example, a heading with "Please select your personalization options". We can check for Product Customizer metafields within the product template to do so:

{% if product.metafields.product_customizer != empty %}
	<h4>Please select your personalization options below.</h4>
{% endif %}
Did this answer your question?