Pricing rules
Set regular and sale prices for many products with formulas like cost + 60 %, check the new prices first, apply them as a run and undo it.
Pricing rules set the prices of many products at once with formulas, for example regular price = cost + 60 % and sale price = regular - 20 %. You see every new price in a table first, apply it as one run, and can undo the whole run.
Two prices#
- The sale price is the selling price, what the buyer pays.
- The regular price is the compare-at price shown struck through. If a product has no compare-at price, its regular price is the same as the sale price.
- A sale price can never be above the regular price. A rule that would do that is blocked for that variant, with the reason in the table. If the two come out equal, the strike-through price is removed.
Writing a rule#
- Which products: all, or only chosen categories, brands, tags (product labels), products or variants. You can also limit by sale price or cost price range, and leave out categories, brands, tags or products.
- What it sets: the regular price, the sale price, or both. With both, the regular price is calculated first and the sale price can start from the new regular price.
- The formula: start from the cost, the regular price, the sale price or the current price, then one of:
| Operation | Example | Cost 500 gives |
|---|---|---|
| Plus percent | cost + 60 % | 800 |
| Minus percent | regular - 20 % | regular 800 gives 640 |
| Plus or minus an amount | cost + 100 | 600 |
| Times a factor | cost x 1.5 | 750 |
| Set to an amount | fixed 999 | 999 |
| Margin on price | cost / (1 - 30 %) | 714 |
- Rounding: none, nearest 1, 5, 10, 50 or 100, or ending with 9, 99 or 0, or minus 1 taka (charm pricing: 500 becomes 499, 1000 becomes 999). Cost 500 + 60 %, ending with 9 gives 799. Minus 1 taka never takes a price below your lowest price or margin.
- Safety limits: a lowest margin over cost, a lowest price and a highest price. A price outside the limits is moved to the limit and the row shows a note.
- Priority and schedule (optional): a start and an end time. With an end time you can ask to undo the run when it ends, which suits a seasonal markup.
The editor shows a live example: type a cost and see, for example, cost 500 -> regular 799 -> sale 639.
Apply once or keep in sync#
- Apply once: prices change only when you press Apply.
- Keep in sync: the rule keeps its prices up to date. When the cost (or the price the formula starts from) changes on a product, only the affected variants are recalculated, and a worker also checks every 15 minutes. The list shows In sync or N out of sync, and Resync recalculates now. A sync rule cannot start from the current price or from the price it writes.
- If two keep-in-sync rules set the same price of a product, the one with the higher priority wins; the other shows "A higher priority rule sets this price".
Preview, apply, undo#
Preview lists every variant in scope with its cost, current and new prices, margin before and after, and a note if it is blocked or limited. The totals show how many change, the average change of the sale price and an estimate from the last 30 days of sales. You can download the table as CSV.
Apply writes the prices in batches and records the run in History. Undo run puts the old prices back row by row, but only where the price still holds the value the run wrote. A price someone edited afterwards is left alone and counted as "changed since".
CSV#
Download current prices gives a file with sku, product, variant, cost, regular, sale and margin. Edit the regular and sale columns, upload the file and check the table of differences (a dry run, nothing is saved). Then apply it: it becomes a run you can undo like any other. An empty price cell keeps that price; an unknown SKU is reported and skipped.
Price playground#
Type a cost and see what every active rule would produce, and the combined result when several rules set different prices.

Comments (0)
Anyone can comment. Please do not post phone numbers, passwords or customer details.