Show a notice based on the cart
Use this for a shipping note or a free-shipping reminder that should appear only when the cart qualifies. The rule matches the vendor, the SKU, or the product type already in the cart. It is not a dollar threshold. If you need "orders over $50", say that in the message and target the product type or vendor you actually ship that way.
Steps
- Create a notice and choose For Theme Only, unless this message belongs in checkout on a Shopify Plus store. One notice is theme or checkout, not both.
- Write a short message. On Settings, set Inline or Popup and add a button only if you need one.
- Open Targeting. Turn Targeting Mode on. Under Target By Cart, set the vendor, SKU, or product type. Leave country, device, and customer tag empty if they should not also filter.
- Save, then Publish.
- Add the quick-notice block, paste the key into Enter the Key, and save the theme. See Getting started.
- On the live store, add a product that matches and one that does not. The notice should follow the cart, not the theme editor. The editor shows the notice even when the cart would hide it.
If the notice vanishes for everyone, turn Targeting Mode off, save, and confirm it shows with no rules. Then add the cart rule again. Details are in Use a notice.