Lock a Shopify Offer Link So Shoppers Can't Change the Cart
A fixed-price offer only works for the cart you priced. Lock offer cart stops shoppers paying for a changed cart, so a Black Friday, creator or VIP link can't be stretched to cover more than you meant.

AI-generated illustration with sample data. Not a real product image.
Short answer: in Cart Rocket, open the cart link, go to Advanced, then Lock offer cart, and tick Lock this cart. From then on, checkout only goes through with exactly the products and quantities in the link. If a shopper adds a product, removes one, swaps a variant or changes a quantity, checkout shows a message and they can't pay until they undo the change or open the link again. Shopify runs the check on its own servers during checkout, including Shop Pay, PayPal, Google Pay and Apple Pay. Bundles can be locked too.
How an offer link gets stretched
You price an offer for a cart you built, say three candles at a set price or a serum with a free travel pouch. Then the link goes out, the cart opens, and the shopper is free to treat it like any other cart. They raise the quantity on the discounted line, swap the small size for the big one, or delete the paid product and keep the free gift.
Shopify's own cart permalinks have no option to stop this. The variant IDs sit in the URL and the cart behaves like any other once it loads (our permalink explainer covers what they can and can't do). Most shoppers never try any of this. On a Black Friday link you only need a few who do, and that's the week you have the least time to check orders by hand.
Turn it on
- Open the cart link in Cart Rocket, then Advanced, then Lock offer cart, and tick Lock this cart.
- Save. Saving turns on a checkout rule called Cart Rocket: locked offer carts in Shopify under Settings > Checkout > Checkout rules. If Cart Rocket asks you to approve a new permission, approve it and save the cart again.
- Share the link. Its address doesn't change, so a link that's already in your emails and ads keeps working.
Carts that shoppers opened before you saved aren't locked, so open the link again yourself to test it. If the link opens the cart page rather than checkout, the Cart Rocket app embed has to be on in the theme editor. Lock offer cart is on both plans, including Basic.
What shoppers can and can't do
- They can pay for the cart exactly as you built it.
- The cart page itself isn't locked. They can still edit it, but a changed cart can't be paid for.
- Items already in their cart before they opened the link aren't part of the offer checkout.
- If they remove every product from the offer, the cart counts as a normal cart again and they can shop as usual.
That last point saves you support emails: a shopper who changes their mind takes the offer out and carries on shopping.
Letting shoppers pick a size or colour
A lock that only allowed one size would rule it out for most clothing offers, so the lock follows the shopper's choice. Turn on the options page before checkout and tick Let shoppers choose size/colour on the products that need it. The cart then locks to whatever the shopper picked. They can choose between variants of the same product, not between different products, so the medium hoodie can become a large hoodie but not a pair of joggers.
Locking a bundle
Until recently, a cart with a bundle couldn't be locked. Now it can. A bundle sells several items as one cart line at one price, and when the cart is locked, checkout shows the bundle as its separate products with the bundle price split across them. If you're building gift sets this season, our post on holiday gift bundles in one link shows the setup, and the lock goes on top without changing anything else.
Offers worth locking
Black Friday sets at a fixed price
A Black Friday link with a set price for a set cart is the obvious one. It's the link you most want to send and stop thinking about, so lock it before it goes out. If you also want to cap the number of sales, add Max purchases overall under purchase limits.
Influencer and creator offers
Creator links are versions of one cart link, with ?ref= and the creator's code on the end, so the lock you set on the cart is the lock the creator's audience gets. The lock stops the cart being changed, and anyone the link reaches can still open it. If only the creator's audience should get the price, keep the price on the link rather than in a discount code that can be posted somewhere else.
VIP drops
For a VIP offer, the lock decides what's in the cart, and two other settings decide who gets it and how often. Customer rules limit the link to a Shopify segment or chosen customers, and Max purchases per customer caps how many times each one can buy (it needs the customer to be logged in). Our post on VIP-only and once-per-customer offers walks through both.
What the lock doesn't cover
- Discount codes. If the offer price comes from a Shopify discount code, that code still exists in Shopify and anyone who learns it can type it into another cart. Limit the code to the offer's products in Shopify, or put the discount on the link itself.
- Who buys and how many times. Use customer rules and purchase limits for that, or New buyers only to keep past buyers out, matched by their checkout email.
- Add-on offers. The option to keep offers from other cart links doesn't show on a locked cart.
- A switched-off rule. If someone turns the checkout rule off in Shopify, locked carts aren't checked, and the cart editor shows a warning.
If Shopify can't run the check at all, for example because of an error on Shopify's side, the order goes through, so a fault in the check can't stop every checkout in your store. The full reference is in Lock offer cart in the docs.
FAQ
How do I stop customers changing the cart on Shopify?
Shopify's cart permalinks have no setting for it. In Cart Rocket, open the cart link, go to Advanced, then Lock offer cart, and tick Lock this cart. Checkout then only goes through with the link's exact products and quantities.
What does a shopper see if they change a locked cart?
Checkout shows a message and they can't pay. They can undo the change or open the link again. If they remove every product from the offer, the cart counts as a normal cart and they can shop as usual.
Does a locked cart work with Shop Pay and express checkouts?
Yes. Shopify runs the check on its own servers during checkout, including Shop Pay, PayPal, Google Pay and Apple Pay.
Can I lock a cart that has a bundle?
Yes. At checkout, a locked bundle shows as its separate products, with the bundle price split across them.
Can shoppers still choose a size or colour on a locked offer?
Yes, if you turn on the options page before checkout and tick Let shoppers choose size/colour on those products. The cart locks to what the shopper picked. They can switch between variants of the same product, not to a different product.
Try it on your store
Cart Rocket builds pre-loaded cart links for Shopify with automatic discounts, bundles, an options page, order tags, UTM tracking and QR codes. Basic is $9/month for one cart link with every feature; Pro is $15/month for unlimited links.
Install Cart Rocket →