Boolean Block
Conditionally display content on your storefront based on a true/false metafield value.
Supported Type
- Boolean metafield type
Features
Conditional Display
Choose to show the block for all products, or only for products with a specific metafield value (true or false).
Value Labels
Customize the text and icons displayed for both true and false states.
Visual Customization
- Text Custom labels for each state
- Layout Block arrangement options
- Sizing Control block dimensions
- Borders Add visual boundaries
- Colors Match your theme palette
- Icon styling Customize icons for each state
Example Use Case
Display a "Free Shipping" badge on products where the boolean metafield is set to true. Products without the metafield or with it set to false won't show anything.