In short
To set Shopify prices from cost per item or profit margin, open Bulk Actions in Merchant Control, set the Field to Pricing, choose your products and pick Set price by profit margin or Set price by markup on cost, then enter the Percentage. Preview changes shows every new price, worked out from each variant's cost per item, before anything in your store changes; a variant without a cost is listed and keeps its price. Activity lists the run, and the price change can be undone there.
The example gives the Winter Sale snowboards a 60% profit margin. A cost of $20.00 gives a price of $50.00. One snowboard has no cost yet, so you see what the preview does with it.
Margin or markup?
They are two different sums with a different base, and the app names them apart:
- Set price by profit margin: based on the selling price. The margin is the share of the price that is profit. The app's own example: a 40% margin on a cost of 10.00 gives 16.67.
- Set price by markup on cost: based on the cost. The cost is multiplied. The app's own example: 40% on a cost of 10.00 gives 14.00.
With the same 60% and a cost of $20.00, a margin gives $50.00 and a markup gives $32.00.
Prices from cost, step by step
Step 1: Choose the field and the products
Open Bulk Actions and set Field to Pricing. In step 1, Select products, add a condition: Product collection › is › Winter Sale.

Step 2: Choose Set price by profit margin
In step 2, Choose the change:
- Set Action to Set price by profit margin.
- Enter the Percentage:
60. - Keep Rounding on Leave the exact result.

Step 3: Preview the new prices
Press Preview changes. Step 3, Review and run, shows each variant's price now and after. Nothing is written yet.

| Product | Cost per item | Price now | Price after (60% margin) |
|---|---|---|---|
| Hydrogen | $20.00 | $49.00 | $50.00 |
| Oxygen | $30.00 | $79.00 | $75.00 |
| Liquid | (none) | $120.00 | listed, not changed |
Liquid is listed with This variant has no cost per item, so there is nothing to calculate from.
Step 4: Run it, and undo if you need to
Press Run now. Merchant Control takes you to Activity, where the run is queued, then completed. To reverse it, open the run and press Undo. Undo puts back the prices this run changed. A price someone changed after the run stays as it is. See Undo bulk edits in Shopify: what comes back.

Good to know
- Not needed for this example: margin and markup also show Add to cost first (optional) and Minimum price (optional). The example leaves both empty, so it works on every plan. Filled in, they need the Essential plan or higher.
- Other ways from cost: Set price to % of cost and Set price to % of cost + shipping are in the same Action menu.
- Credits: Where Undo is offered, it uses no credits; the credits the run used stay used.
The Managed Workflows plan is $119/month. See Plans & Pricing.