Margin protection
When EJD's cost catches up with its suggested price, the app raises your price so you keep at least your margin floor (20% unless you change it). It also never leaves a price below cost.
When EJD's cost reaches or passes its suggested retail price (RRP), selling at EJD's price would lose money. So the app raises your price to keep your margin floor, 20% unless you change it. It also makes sure no online item ever sits below EJD's cost.
It's a safety net, not a target margin. It only steps in once EJD's cost has caught up with its suggested price. An item EJD prices at, say, a 12% margin keeps EJD's price; the floor doesn't raise it to 20%. To earn more on those, use department pricing rules on Pricing rules (Growth; on Rules, select Change next to Department rule) or a price override.
When it applies
- To items EJD ships to your online customers, when EJD's cost is equal to or above its suggested price, or there's no suggested price.
- On every run, so a cost increase is caught the day it arrives.
- Not to store-only items, unless you sell them online (Sell them online, fulfilled by your store on Rules).
- Not to items with a price override. The override wins.
Items priced this way are tagged Margin-Protected, so you can find them. Repriced items show on the run's Prices tab.
The formula
The price is the higher of:
- Margin floor: cost ÷ (1 − floor), rounded up to the next .99. With the 20% default, that's cost ÷ 0.80.
- $1.99 cushion: the cost's whole dollars + $1.99.
Cost $38.29, suggested price $29.99
- 38.29 ÷ 0.80 = 47.86, rounded up to $47.99
- $38 + $1.99 = $39.99
- The higher is $47.99, a 20% margin.
Cost $2.00, suggested price $1.99
- 2.00 ÷ 0.80 = 2.50, rounded up to $2.99
- $2 + $1.99 = $3.99
- The higher is $3.99. On cheap items the cushion wins.
Both parts matter. The cushion alone would leave the $38.29 item at $39.99, a 4% margin.
Never below cost
Every run also checks the price each online item has in your store right now. If it's below EJD's cost, the run raises it, even when EJD changed nothing. This catches prices that were below cost before you installed the app, or that someone changed by hand in Shopify.
These changes show on the run's Prices tab with the reason "Your price was below EJD's cost", and they're never held for review.
Items with a price override aren't changed; an override below cost raises the OVERRIDE_BELOW_COST alert instead. See Price overrides.
Change the margin floor
You can set the floor from 5% to 60%. Margin protection itself can't be turned off.
- Open Rules and find Margin floor under Pricing.
- Enter a new Margin floor (%). Before you save, the app shows how many prices it would move, with an example.
- Select Save. The new floor applies from the next run.
You can also change it in Settings > Pricing and safety.
MAP (a brand's minimum advertised price) can raise a price further on every plan, and on Growth so can a department pricing rule. See The Rules page.
WARN_OVERRIDE_BELOW_FLOOR
A price override is now below your margin floor, because EJD raised the cost. The override still holds.
- Open Products and select Price overrides.
- Find the SKU from the alert.
- Save a new price, or select Remove.
Technical details
Show the exact rules, for the technically minded
- Formula:
max(ceil99(cost ÷ (1 − floor)), floor(cost) + 1.99), rounded to cents.ceil99(x)is the smallest price ending in .99 that's at or above x. - Trigger:
cost ≥ RRP, or no RRP. The cost is EJD'sWholesaler_cost_per_Eachfor your account. A cost of zero or less is treated as bad data: the price is left alone and the item is listed for review. - Covered items: EJD's online (ECOM) items; store-only (BRICK) items only when the store sells them online.
- Case listings: the cost is the case's (cost per each × case size), and the price is for the case.
- The tag:
Margin-Protectedis merged onto new products created at a floor price and onto existing products repriced by the floor. It's never removed. Products grouped with other sizes aren't tagged. - Price order: EJD's suggested price → margin floor → department rule (Growth) → MAP → your override. Steps after the floor only ever raise a price.
- Below-cost guard: after pricing, any covered item whose current store price is below EJD's cost for the listing, and has no other price change planned, gets the price the steps above would give a new listing (reason
Below-Cost). It's never held. - Override alert: one alert counts every override under the floor at today's cost and lists the SKUs. It clears on the first run that finds none.