Shopify themes, liquid, logos, and UX
Hi,
i have several products with boolean values, which i want to display below the products in a value list.
My theme allows me to input metafields to display. If the metafield value is empty it will either not show or i can select to show empty values with a custom text, f.e. " - ".
My issue is that this also applies to boolean false values, showing " - " instead of "No" or simply not showing the entire field, if i select to not show empty fields. ( this is my prefered setting, since there are a lot of fields)
How can i change settings/liquid code so boolean false values will be shown as "No"?
Thank you and best regards
TimoH
Hi @TimoH ,
This is Theodore from PageFly - Shopify Page Builder App.
To show "No" for boolean "false" and hide empty metafields in Shopify:
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Theodore,
thank you for your reply - is there a solution for addressing the field type? i am talking about 200+ metafields here.
Also, i just noticed that i can only create a max of 25 filters, id like to create way more tho. Is there a way to work around that max?
Best regards
TimoH
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025