FOR SHOPIFY PLUS

Some products were never supposed to go on sale.

Guardrail protects the products you don't want discounted — across every code, no matter which app or campaign created it. Klaviyo, loyalty, influencer tools, Flow, all of it.

Built on Shopify Functions · Replaces Shopify Scripts (June 30, 2026)

ACTIVE RULEON

Protect clearance items

Tagisclearance
Marginbelow18%
Don't apply discount to this item
"Discount not applicable to clearance items."

WHAT'S HAPPENING

Discounts have a way of finding the wrong products.

Sitewide sales. Influencer codes. Klaviyo pop-ups. VIP tiers. Flow automations. Every one of these can apply a code to products that should never be discounted — your clearance, your MAP-protected brands, your gifts-with-purchase, your wholesale-only SKUs.

And then Shopify Scripts shuts down June 30, 2026.

Klaviyo
Loyalty
Influencer
Flow
VIP
Automatic
GUARDRAIL
CART

HOW IT WORKS

Three ways to protect your products.

Set rules per product, vendor, or tag. Mix and match across your store.

DEFAULT

Skip protected items

The discount applies to everything else in the cart, but your protected items stay at full price. Clearance, MAP items, gifts-with-purchase — untouched.

Tee · L$32.00
Limited print PROTECTED$120.00
Cap$24.00
−15% applied−$8.40
SCRIPTS REPLACEMENT

Block the discount

When a protected product is in the cart, the discount doesn't apply at all. Your shopper sees a clear message explaining why.

Wholesale-only SKU$84.00
Bundle$210.00
Tee$32.00
SAVE20not applied
FOR LOW-MARGIN ITEMS

Cap the discount

Allow some discount, but limit it. Cap by dollar amount or percent on items where bigger discounts hurt your margin or break vendor agreements.

Brand A · MAP item$140.00
−10% capped (from −30%)−$14.00
Accessory$28.00
Total saved−$22.40

TAG
clearance, no-discount
VENDOR
Harvest Goods
COLLECTION
Wholesale-only
COMPARE-AT-PRICE
> $0
METAFIELD
custom.no_promo
WHAT YOU CAN MATCH

Use what's already in your store.

Tags. Vendors. Collections. Compare-at-price. Even profit margin. If it's in your store already, you can build a rule with it.

  • Apply rules to all codes, specific codes, or codes from particular apps
  • Margin updates automatically every day
  • Pre-built templates for common Scripts setups
WORKS WITH EVERYTHING

Codes from anywhere. Rules from one place.

Klaviyo doesn't know your MAP agreements. Loyalty apps don't know your clearance margins. Influencer tools don't see vendor restrictions. Guardrail handles it at checkout — where every discount actually applies — so it doesn't matter which app the code came from.

KLAVIYOYOTPOSMILEREFERSIONPOSTSCRIPTSHOPIFY FLOWAUTOMATIC DISCOUNTSB2B
MIGRATION

Moving off Shopify Scripts?
Start here.

Shopify Scripts is shutting down June 30, 2026. If your team uses Scripts to block discounts on certain products or carts, Guardrail does the same thing — without you having to update every app that creates discount codes.

We've built templates for the most common Scripts setups, so you're not starting from scratch.

[···]
Days until Scripts shutdown
June 30, 2026 · Shopify announcement

UNDER THE HOOD

Built into checkout. Not bolted on.

Guardrail uses Shopify Functions — the same checkout extension system Shopify itself uses for discounts. Rules apply during checkout, not after. No theme code. No webhook delays. No edge cases where a discount slips through before you can stop it.

01
CODE APPLIED

Customer enters a code

From your sitewide sale, your influencer campaign, your loyalty program — wherever the code came from.

02
GUARDRAIL CHECKS

Your rules run

In milliseconds, Guardrail checks the cart against your rules. Right inside checkout, before the discount lands.

03
DISCOUNT DECIDED

Discount applies — or doesn't

The right items get discounted. Protected items stay at full price. Your shopper sees a clear message if anything's blocked.

No theme code. No workarounds. Just Shopify.


REPORTING

See exactly what got protected.
And how much you saved.

Every protected discount is logged: which rule triggered, which product was protected, and how much margin you kept. Show your finance team the exact dollars Guardrail saved this month.

ITEMS PROTECTED
1,847
+$42,901 saved
last 30 days
DISCOUNTS BLOCKED
312
+$11,204 saved
last 30 days
DISCOUNTS LIMITED
94
+$3,608 saved
last 30 days
PROTECTION ACTIVITY · LAST 30 DAYS
ProtectedBlockedLimited
30 DAYS AGO15 DAYS AGOTODAY

PRICING

Pricing built for Plus volume.

Priced by monthly orders. Block-the-cart mode included on every plan. Scripts migration help included on Plus.

STANDARD
$99/mo

  • Up to 5,000 orders/month
  • Skip + Cap modes
  • 5 active rules
  • Daily margin updates
Start free trial
ENTERPRISE
Custom

  • 50,000+ orders/month
  • Dedicated migration assistance
  • SLA + priority support
  • Custom rule consultation
Talk to us

QUESTIONS

Common questions.

Will Guardrail conflict with my other discount apps?

No. Guardrail uses Shopify Functions, the same checkout extension Shopify recommends for all modern discount apps. It reads what's already in your catalog — tags, vendors, collections, prices — and applies your rules no matter which app created the code.

How is this different from Shopify's built-in discount exclusions?

Shopify's built-in exclusions only work on discounts you create in Shopify Admin. They don't cover codes from Klaviyo, loyalty apps, or influencer tools. Guardrail applies one set of rules across every code, no matter where it came from.

What happens to my Shopify Scripts when they shut down?

Shopify Scripts stops working on June 30, 2026. Whatever rules your team built with Scripts — blocking discounts on certain SKUs, rejecting entire carts — Guardrail can do the same. We have templates for the most common Scripts setups to get you moved over fast.

Will it slow down my checkout?

No. Shopify Functions are designed to run instantly inside checkout, and Guardrail pre-calculates everything it needs (like margin values) ahead of time. Your customers won't notice it's there.

Can it use my existing product tags?

Yes. Tags, vendors, collections, metafields, and compare-at-price are all available as rule inputs. Most stores start by using tags they already have in place.

Does it work on regular Shopify, or Plus only?

Most Guardrail features work on any Shopify plan, but the Block-the-cart mode is only available on Shopify Plus due to Shopify's platform rules.

Stop discounting the wrong products.

Install Guardrail and protect your products from accidental discounts.