Prevent Shopify discount and margin leaks on bulk sales
A storewide sale set to 40% instead of 14%, or a collection discount that sweeps in a low-margin brand, can sell products at a loss within minutes. By the time an order alert shows the problem, the wrong prices have already gone live.
What Shopify gives you
- Shopify lets you store a cost per item on each variant to "track your business operating costs and profits" (Product pricing).
- Shopify's bulk editor and CSV import write whatever price you enter without checking it against that cost or holding a run that moves prices too far (Bulk editing).
- Automatic discounts are "applied in the cart and at checkout" (Automatic discounts), which means a checkout code can stack on top of a reduced product price if you do not plan your floors ahead of time.
What stops a margin leak
Checking every variant against its unit cost and minimum price before a single write happens, halting a run whose swing is larger than expected, and reading every written price back from Shopify.
How PriceGuardHQ does it
PriceGuardHQ (PriceGuard below) runs price changes as rules with built-in floors and guardrails.
- Cost floor on by default. Every new rule starts with "Never below cost" enabled. PriceGuard reads the cost per item already stored on each variant. Any variant the rule would price below its cost is raised to the cost and listed under "Floors applied" in the preview.
- Hard stop when the box is off. Even if you untick "Never below cost", a rule that would lower a price below its cost is stopped before anything is written, and no override passes it.
- Fixed price floor. Set "Never below a fixed price" on a rule to enforce a brand minimum or storewide floor. When both floors are set, the higher of the two wins.
- Cost plus margin with upward rounding. Instead of discounting blindly off current prices, set prices from cost plus a target percent or amount, and choose rounding direction "Always up" so `.99` or `.95` rounding never trims your margin.
- Run-level guardrails. Guardrails hold a run before writing if it would move a price too far, put a compare-at price below the selling price, or change too much of the store at once. You read the reasons first.
- Preview, read-back, and undo. Every variant's old price, new price, and floor action is shown before applying. Every write is read back from Shopify, and any run that wrote prices can be undone from its run page.
What it cannot protect
- Variants without a cost per item. If a variant has no cost entered in Shopify, the cost floor has nothing to compare against; a fixed-price floor still applies, and a cost-plus rule skips that variant and names it.
- Cart and checkout discounts. PriceGuard sets each variant's base price and compare-at price on the product page. Cart discount codes, automatic checkout discounts, Shopify Markets prices, and B2B price lists are not touched and not checked.
- Changes made outside PriceGuard. PriceGuard undoes its own runs only.
Start on the Free plan
Every floor, guardrail, preview, read-back, and undo is included on Free (1 active rule, up to 200 variants per run). Starter ($9/month) allows 5 active rules and 5,000 variants, Growth ($19/month) 20 rules and 25,000 variants, and Scale ($49/month) unlimited rules and 100,000 variants.
Install PriceGuardHQ from the Shopify App Store Read the manual