Rule: Product Metafield

Upon installation, Checkout Blocks automatically creates a new product metafield definition called " Checkout Blocks Rule Trigger" which can be used to trigger blocks within checkout and post purchase:

How to trigger a block based on product metafield

You can easily trigger a checkout block based on a product metafield. The one caveat is that at this time, the metafield must be using the namespace: checkoutblocks and the key: trigger. As stated above, this is automatically created upon installation.

1. First, navigate to a product within your Shopify admin. At the bottom of the page you will see a metafield section with the " Checkout Blocks Rule Trigger" pinned. 

2. Add a value:

3. Add the " Product metafield" rule to a checkout block with the same value:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us