If you’ve assigned entries/values to a block but don’t want it to appear on certain products, you can easily control this using a Boolean metafield.
- Create a Boolean metafield (True/False).
- Assign it at the product level.
- Set the value to False for products where you want to hide the block.
Metafieds to be added for each block :
Block name | Metafield supported |
Variant Description Block | custom.show_description |
Variant Galleries Block | custom.show_gallery |
Variant Inventory Status | custom.show_inventory |
Product Rating | custom.show_product_star |
Variant Rating | custom.show_variant_star |
FAQ Multicolumn | custom.show_faq_multicolumn |
FAQ Collapsible | custom.show_faq_collapsible |
Variant Button | custom.show_variant_button |
Discount Block | custom.show_discount |
Payment Icons | custom.show_payment |
Benefit Boxes | custom.show_benefit |
Countdown Timer | custom.show_countdown |
Note: All metafields are product-level metafields.