Skip to content
Esc

Start typing to search the docs.

On this page
How-to Updated Aug 16, 2026

Show the message on the cart page

Turn on Show message in cart page to display the rule message in the customer's cart. The Nex Validator app embed must be enabled for the cart message to appear.

Applies to
  • All Shopify plans
  • Online stores where the Nex Validator app embed is enabled
Doesn't apply to
  • Shopify POS
  • Stores where the Nex Validator app embed is not enabled
App embed not enabled? See how to enable it

Showing the message in the cart lets customers see the problem earlier and fix their order before they reach checkout.

Before you start

  • Make sure the Nex Validator app embed is enabled in your current Shopify theme — see install.
  • Save the theme after enabling the app embed.

Steps

1. Install Nex Validator

If Nex Validator is not installed yet, install it from the Shopify App Store and approve the required permissions. If it is already installed, skip to the next step.

2. Open the rule where you want to show a message in the cart. Turn on Show message in cart page.

3. Make sure the rule is Enabled, then click Save.

4. Add products to the cart so the order does not meet the rule. Open the cart and check that the rule message appears. For example, if the minimum quantity is 2, add only 1 item — the cart should show the message.

When your theme needs a hint

Most Shopify themes should work automatically. If the message does not appear correctly in your cart or cart drawer, your theme may need one of the settings below.

SettingUse when
Checkout Button SelectorNex Validator cannot find the checkout button
Error Container SelectorYou need to choose where the message appears
Cart Total SelectorThe cart total is not being detected correctly
Exclude SelectorAn element, such as a Buy Now button, should be ignored
Drawer Watch SelectorThe message does not appear or update in the cart drawer

If the cart message already works correctly, leave these settings empty.

Styling it

Use Text Color to change the message color. If you need more design changes, such as the background, border, or spacing, you can use Custom CSS.

Verify it worked

  1. Create a cart that does not meet the rule → the message should appear in the cart.
  2. If your store uses a cart drawer, check the message there too.
  3. Change the cart so it meets the rule → the message should disappear.
  4. Go to checkout with an invalid cart → the rule should still block checkout.

Cart limits behave slightly differently

Cart quantity and cart amount rules may update differently while customers change items in the cart. Always test the rule at checkout as well to confirm that the limit is working correctly.

Frequently asked

Why show it on the cart page at all?

It catches the problem earlier. A customer who learns about a minimum at checkout has already committed; one who learns on the cart page just adds another item.

Nothing appears in my cart drawer.

Some themes render the drawer in a way the default detection misses. The Drawer Watch Selector exists for that case.

It blocks my Buy Now button too.

Use the Exclude Selector to leave specific elements out of validation.

Does this replace checkout blocking?

No. The cart page message is a warning; checkout blocking is the enforcement. Both stay on.

See also: Messages · How enforcement works · Install and enable the app embed