Back to blog

Margin-Based Discounts on Shopify: Take the Discount From Your Profit, Not the Price

20% off means very different things on a 70% margin product and a 15% margin product. How a discount taken from the margin works, cost-plus repricing, the minimum profit floor, and where Discount Prime does it.

Aziz Banihashemi
Aziz Banihashemi
· 9 min read
Margin-Based Discounts on Shopify: Take the Discount From Your Profit, Not the Price

The short answer

A margin-based discount takes the discount from your profit (price minus cost), instead of from the price, so every product gives up the same share of its profit. Discount Prime does this in two places: Dropshipping Pricing on the Premium plan ($19.90/month) has a margin base with a floor of cost plus a minimum profit, and Wholesale / B2B Pricing on Prime ($49.90/month) builds tiers from the margin.

"20% off" means very different things on a 70% margin product and a 15% margin product. On the first, it costs 29% of the profit. On the second, it costs 133% of the profit, which is a loss. Taking the discount from the margin fixes that, and it works for any store with cost data, not just dropshippers.

App

Rating · Reviews

Price

How it handles margin-based pricing

Keep in mind

Discount Prime

5.0 · 20

Dropshipping Pricing from Premium $19.90/mo; Wholesale on Prime $49.90/mo

Discount from the margin with a floor of cost plus a minimum profit, cost-plus repricing, and margin-based B2B tiers

Auto-update on cost changes depends on the plan. Other offer types still come off the price

Platmart Bulk Price Editor

4.7 · 84

Free; about $15 to $40/mo; cost and margin editing from about $25/mo

Edits cost per item and sets prices by margin or markup from cost. Scheduled sales restore original prices

The listing doesn't mention a discount from the margin or a profit floor

PMG: Promotion Margin Guard (new, Oct 2026)

No reviews

About $10/mo

Tests a percentage discount against cost and creates it only for variants above your margin floor

Doesn't size the discount from the margin. Variants below the floor get no discount

SparkLayer B2B & Wholesale

4.9 · 391

Free; about $49 to $299/mo

Customer-specific wholesale price lists with volume and pack pricing

The listing doesn't mention cost, margin or a floor

Wholesale Gorilla B2B Tools

4.8 · 320

About $35 to $150/mo

Custom wholesale pricing by store, collection, product or variant, with tiers

The listing doesn't mention cost, margin or a floor

Ratings, reviews, and prices from each app's Shopify App Store listing, as of November 2026. Rival prices were shown in CAD from our location and are converted to USD at the listing's rate. Disclosure: Discount Prime is our app.

We did not install the rival apps. Their rows come from their listing text only.

Which one fits:

  • You want prices set from cost plus a markup, and nothing else: Platmart Bulk Price Editor

  • You keep Shopify's native discounts and want a sale to skip low-margin variants: PMG

  • You run a large B2B catalog with negotiated price lists and enter the prices yourself: SparkLayer or Wholesale Gorilla

  • You want discounts taken from the margin with a minimum profit, for retail and B2B, with profit per campaign: Discount Prime

Margin-Based Discounts_ Protect Your Profit.png

Three products, two kinds of 20% off

Gross margin is (price minus cost) divided by price. Here are three products: one high-margin, one middle-margin, and one low-margin.

Product

Price

Cost

Margin

20% off the price

Gross profit

Share of profit lost

20% off the margin

Gross profit

Shopper sees

A

$100.00

$30.00

70%

$80.00

$50.00

28.57%

$86.00

$56.00

14% off

B

$40.00

$20.00

50%

$32.00

$12.00

40.00%

$36.00

$16.00

10% off

C

$60.00

$51.00

15%

$48.00

-$3.00

133.33%

$58.20

$7.20

3% off

Read it row by row:

  • 20% off the price loses money on C. Every unit of C sold in that sale costs you $3.00.

  • 20% off the margin keeps all three profitable, and each one gives up exactly 20% of its profit.

  • The trade: the shopper sees a smaller cut on low-margin items. C drops 3%, not 20%. That is the point: the products that can't afford a discount get less of one.

Try these numbers in the Dropshipping Pricing Simulator.

Going deeper with a minimum profit

A margin share alone never takes a product below cost, but it can take it close. Add a minimum profit and the floor becomes cost plus that amount.

Run 50% off the margin with a minimum profit of 10% of cost:

  • A: $35.00 off, price $65.00 (35% off), gross profit $35.00. The $33.00 floor isn't reached.

  • B: $10.00 off, price $30.00 (25% off), gross profit $10.00. The $22.00 floor isn't reached.

  • C: the request would set $55.50, under the $56.10 floor, so the price stops at $56.10 (6.5% off), gross profit $5.10.

The floor holds even with Adjust Cents. With a $10.50 floor and .49 cents, the price becomes $11.49, not $10.49, and if that lands above the selling price, the product keeps its price.

Cost-plus repricing

Margin-based discounts start from the current price. Cost-plus pricing ignores the current price and sets a new one from cost plus a markup.

Be clear about the two terms. Margin is profit divided by price. Markup is profit divided by cost. A product that costs $32 and sells for $40 has a 25% markup and a 20% margin.

In Discount Prime, Dropshipping Pricing can calculate from the product cost:

  • Cost plus 25%: a $32 cost becomes a $40.00 price.

  • The supplier raises cost to $36: with auto-update on, a background job recalculates the price when a price or cost changes in Shopify, usually within minutes, and the price becomes $45.00. Auto-update availability depends on your plan.

The same base works at catalog scale. Target by collection, tag, vendor or a variant metafield rule, and new variants that match the rule join automatically. Prices revert when the campaign ends.

The missing cost rule

A margin needs a cost. If a product has no Cost per item, Discount Prime does what you chose in the campaign: skip it, or price it from the selling price. Pricing from the selling price means 20% off the margin becomes 20% off the price with no floor, so a $60 product with no cost drops to $48.00. Choose skip unless you have checked those products.

Before any margin campaign, export your products from Shopify and filter the Cost per item column for blanks.

Where it lives in Discount Prime

Where

What it does

Plan

Dropshipping Pricing

Calculates from the selling price, the margin or the cost. Discount from the margin with a floor of cost plus a minimum profit (fixed or % of cost), cost-plus repricing, or a selling-price sale with a fixed price floor

Premium and up, $19.90/month, 7-day free trial

Wholesale / B2B Pricing

Customer-gated tiers taken from the margin or the selling price, with a floor of cost plus a minimum profit checked at checkout per variant

Prime and up, $49.90/month, 7-day free trial

The name "Dropshipping Pricing" comes from the merchants who asked for it first. It works for any store that keeps Cost per item up to date. For B2B, see Shopify wholesale B2B tiered pricing and try the Wholesale Pricing Simulator. For the dropshipping story, see margin-based dropshipping pricing.

Plain flat discounts, tiered quantity, Buy X Get Y, and the other offer types still come off the price and have no cost floor. Flat and bulk sales can use a fixed price floor instead. The full list is in How to Stop Shopify Discounts from Selling Below Cost.

How to set it up in Discount Prime

  1. Install Discount Prime and fill in Cost per item for the products you plan to include.

  2. Choose Premium ($19.90/month, 7-day free trial) and create a Dropshipping Pricing campaign.

  3. Choose the base: profit margin for a sale, product cost for cost-plus repricing.

  4. Set the share or markup: percentage or fixed amount.

  5. Turn on the minimum profit and set it as a fixed amount or a percent of cost.

  6. Decide what happens to products without a cost: skip, or price from the selling price.

  7. Target the products by collection, tag, vendor, or metafield, and turn on auto-update if your plan includes it.

  8. For B2B buyers, choose Prime ($49.90/month, 7-day free trial) and build margin-based tiers in B2B pricing.

Where to go next

Ready to try it? Install Discount Prime from the Shopify App Store. Premium includes a 7-day free trial.

shopifyprofit-marginmargin-based-pricingcost-plusprice-floor
Aziz Banihashemi

About the author

Aziz Banihashemi

Aziz Banihashemi is the founder of several software companies specializing in artificial intelligence, with more than twenty years of hands-on experience building AI-powered software systems. Based in Toronto, Canada, he focuses on product design for systems that harness AI and ship on the Shopify platform.

Frequently asked questions

Can I discount based on profit margin on Shopify?

Not with Shopify's native discounts, which always come off the price. An app can take the discount from the margin instead, (price minus Cost per item). In Discount Prime, Dropshipping Pricing (Premium, $19.90/mo) has a margin base, and Wholesale / B2B Pricing (Prime, $49.90/mo) has margin-based tiers. 20% off the margin on a $100 product that costs $30 takes $14 off, not $20.

What is the difference between 20% off the price and 20% off the margin?

20% off the price takes the same share of the price from every product, so low-margin products lose most or all of their profit. 20% off the margin takes the same share of the profit from every product. On a $60 product that costs $51, 20% off the price loses $3.00 per unit, while 20% off the margin still earns $7.20.

Is there a cost-plus pricing app for Shopify?

Yes. Discount Prime's Dropshipping Pricing can set prices from Cost per item plus a markup, for example cost plus 25% takes a $32 cost to $40. With auto-update on, prices are recalculated when a price or cost changes in Shopify, and availability depends on the plan. Platmart Bulk Price Editor also prices by margin or markup from cost, on its Advanced plan and up.

What is the difference between margin and markup?

Margin is profit divided by price. Markup is profit divided by cost. A $32 cost sold at $40 has a 25% markup and a 20% margin. Cost-plus pricing uses markup, and discounts from the margin use margin, so say which one you mean.

What happens to products with no cost in a margin-based discount?

Without a Cost per item there is no margin to work from. In Discount Prime you choose per campaign: skip those products, or price them from the selling price, in which case the discount comes off the price with no cost floor. Skipping is the safer default.

Run profit-first promotions on Shopify

Discount Prime brings eight discount types, margin analytics, and conflict detection into one Shopify-native app.

See pricing

Or see it live in our demo store and watch every feature working on a real Shopify store.

Related articles