Show or hide anything, conditionally.
Show or hide a saved block using 31 conditions covering cart contents, address, delivery, payment, discounts, attributes and metafields.
The engine under your blocks.
Visibility controls the whole saved block. With several conditions, any one match shows it (OR). For example, show a block for a selected shipping country or a product in the cart. Changes in checkout update visibility.
Three steps. Zero code.
Open the saved block
In Checkout Ninja, open the block. Under Block Visibility, turn on Enable conditional block visibility.
Add a condition
Click Add new visibility condition. Choose Product in cart or Shipping Country, then select its values and operator where needed. Click Save.
Test in checkout
Place the saved block using Custom Block and its Block ID if needed. Test matching and non-matching carts or shipping countries. With several conditions, one match is enough to show the block.
Where it earns its keep.
Country-specific trust
UK + EU shoppers see a Trustpilot block. US shoppers see a Google review block. Each is its own saved block with a Shipping Country condition.
Product-specific notice
Show a notice when a selected product is in the cart. Date-based scheduling is not listed in the visibility conditions.
Product-specific reassurance
Show a separate trust block for selected products. Customer order-count targeting is not listed in the visibility conditions.
Common questions.
Something else we missed? Our support team replies within a day.
Ask support-
How does this differ from Checkout Rules?
Conditional Visibility shows or hides a saved block. Checkout Rules performs supported actions: hide payment methods, show blocking errors, add products, change quantities or validate checkout through an API.
-
What are the 31 condition types?
They cover cart total, products, quantities, product types, vendors, address details, delivery, selected payment methods, discounts, gift cards, cart attributes and metafields. See the documentation’s Visibility conditions reference for the full list.
-
Do conditions update live as the cart changes?
Yes. Visibility re-evaluates on every cart change — add an item and a relevant block can appear instantly.
Pairs well with these.
Checkout Rules
Run supported actions when conditions match: hide payment methods, show blocking errors, add products, set quantities or validate checkout through an API. Rules require Rules Executor in checkout.
See the feature Platform featureA/B Testing Ready
Every block is instrumented for A/B testing out of the box. Run variants with Shopify's native tools, Optimizely, or your in-house stack — without writing tracking code.
See the feature Platform featureMulti-Language
Enter and save translated block content yourself for your store’s published languages. Buyers see the saved translation for their checkout language, or the default content when no translation exists.
See the featureTurn on Conditional Visibility in your next checkout.
Every platform feature is included on the 3-day trial. No credit card. No developer required.