True or False Metafield

Setup a true or false metafield and show and hide content based on its value.

You can choose to create a custom content section in your themes customiser if it has that option, or add it to your required template file.

{% if product.metafields.my_fields.exampletruefalsename == true %}

   <!-- Insert your content to be shown here-->
   

{% endif %}

Get In Touch

Have a question? or perhaps spotted a problem?
Maybe you have something you would like to add. Drop us a line anytime!