Plugin

Freemium

Cost & Margin Pricing for WooCommerce

The right margin on every product — automatic, safe and always undoable

v1.0.0 2 Downloads Tested with WordPress 7.0 PHP 8.1+

Description

About the plugin

Cost & Margin Pricing calculates WooCommerce sale prices from purchase prices: margin or markup rules, supplier price list imports with a full preview, daily exchange rates, VAT and psychological rounding — built on WooCommerce core COGS, with a journal and one-click undo.

The price list landed in your inbox again. How many hours will it take this time?

Every store selling physical goods knows the drill: the supplier raises prices, the file arrives, and hours of Excel, VAT arithmetic and manual editing in the product screen follow. Prices end up wrong, a product gets forgotten, and the margin you thought you had is gone. Cost & Margin Pricing reworks the whole flow: upload the file, see exactly what changes — old price, new price, real margin, the full calculation for every product — and apply with one click. The column mapping is saved per supplier, so next month's list takes minutes.

Buying in EUR or USD and selling in SEK? Then your margin moves every day.

Purchasing in a foreign currency means your margin has a life of its own. The plugin fetches daily reference rates (ECB, with an automatic fallback source), converts every purchase price to your store currency and lets you add an FX buffer per supplier — so a weak home currency doesn't eat your profit between two price updates. Manual rates always win, if you'd rather lock the rate yourself.

Dare to let a plugin touch your prices? Yes — and here is why.

What separates Cost & Margin Pricing from everything else in the category is the safety net. Nothing is applied without a preview — you see every change before it happens. Every run is journaled and can be undone with one click. Manually adjusted prices are detected and never silently overwritten. Locked products are always skipped, large price changes require an extra per-row confirmation, and automatic runs are off until you explicitly enable them — and even then, every guard still applies.

Why people choose Cost & Margin Pricing

  • Built on WooCommerce COGS — the cost is always written to Woo's own Cost of Goods Sold field, so reports, exports and every integration keep working. No lock-in.
  • A transparent calculation chain — real cost → FX buffer → landed costs → margin → VAT → rounding. "Why this price?" shows the steps with numbers for every product.
  • Imports built for reality — separator, encoding and European decimal commas are auto-detected; blank cells always mean "leave unchanged".
  • Psychological rounding — land prices on …9, …95, …99 or …195, once, on the number the customer sees.
  • Sales without losses — margin-based sale prices that follow the cost, and a manually set sale price always wins (Pro).
  • No frontend code — all prices are plain WooCommerce prices in the database. No price filters, no performance impact, and everything stays if the plugin is uninstalled.
  • Price change log & Omnibus — every price and cost change is logged, including those made outside the plugin. The dashboard warns when products sell below real cost, and the lowest price of the last 30 days is available per product — with an optional shortcode for customer display under the EU Omnibus directive.

Getting started

1. Create a supplier with its currency and an optional FX buffer. 2. Set your margin or markup in the global rule and pick a rounding. 3. Import the price list or enter costs on the product page, preview the run and apply. Done — and everything can be undone.

Free goes a long way. Pro goes big.

The free version is a complete tool: one supplier per product, one global rule, import/export, daily rates, a price change log with margin health and the Omnibus reference — and the entire safety net with journal and undo. The log also lays the groundwork for upcoming price-analysis features: data collection starts the moment you install. Pro scales up with multiple suppliers per product and cost strategies, the master list and Excel import, rules per category/supplier/product, margin-based sales with a dedicated Sales page, a margin floor, scheduled runs at any interval with email reports, and reports with supplier comparison.

Features

What it does

01 Marginal- & påslagsregler med psykologisk prisavrundning
02 Prislisteimport med förhandsgranskning & sparad mappning
03 Dagliga växelkurser (ECB) + kursbuffert per leverantör
04 Skriver till WooCommerce eget COGS-fält — ingen inlåsning
05 Journal, driftdetektering & ett-klicks-ångra
06 Prisändringslogg, marginalhälsa & lägsta pris 30 dagar (Omnibus)
07 Marginalbaserade reor & rapporter (Pro)

Compare

Free vs Premium

Feature Free Premium
Suppliers with currency, FX buffer & lead time 1 per product Multiple per product + cost strategy
Margin/markup rules 1 global rule Per category, supplier & product
Per-product overrides on the product page
Price list import (CSV) with preview & undo
Master list — one file for all suppliers
Excel import (.xlsx)
Daily exchange rates (ECB) + manual rates
Write-back to WooCommerce COGS
Journal, drift detection & one-click undo
Price change log, margin health & Omnibus reference
Margin-based sales with a Sales page
Margin floor with warnings
Scheduled runs Monthly Daily–monthly
Email report after automatic runs
Reports: margins & supplier comparison
Priority Support

Questions & answers

Frequently Asked Questions

No — it builds on it. The plugin stores supplier, currency and rate details, and always writes the resulting cost to WooCommerce core's Cost of Goods Sold field. Woo's reports, exports and third-party integrations keep working exactly as before, and the data remains even if you uninstall.
Only if you explicitly enable scheduled automatic runs in the settings — and even then, changes above your confirmation threshold are never auto-applied, locked and manually re-priced products are never touched, and every run is journaled and undoable. With the feature off (the default), every rule run and import produces a preview that you apply yourself.
Markup is calculated on the cost (cost 100 + 50% markup = 150). Margin is calculated on the sale price (cost 100 at 50% margin = 200, because half the price should be profit). The plugin supports both — you choose per rule, and the preview always shows the real margin the final price yields.
A sale price can come from two places, and you always win. If you type a sale price into Woo's normal field yourself, the plugin leaves the whole product alone until you remove it. In Pro, the plugin sets margin-based sale prices: rules decide the sale margin, a per-product flag (checkbox or an on_sale column in the import file) decides which products, and Woo's normal date fields decide when. The Sales page lists everything and ends sales with one click.
Blank always means "leave unchanged". A file can never accidentally clear something by omitting a column. The only required columns are a cost column and one identifier (supplier SKU, GTIN or SKU). To explicitly clear a sale date, put a dash (-) in the cell.

Changelog

v1.0.0 2026-08-13

Version 1.0.0

  • Initial release
  • Margin and markup rules with landed costs and psychological rounding
  • Price list import (CSV/Excel) with preview, saved mapping and undo
  • Daily exchange rates (ECB + fallback), manual rates and FX buffer
  • Journal, drift detection, price locks and batch undo
  • Pro: master list, margin-based sales, margin floor, scheduled runs and reports
v1.0.0 Pro 2026-08-13

Version 1.0.0

  • Initial release
  • Margin and markup rules with landed costs and psychological rounding
  • Price list import (CSV/Excel) with preview, saved mapping and undo
  • Daily exchange rates (ECB + fallback), manual rates and FX buffer
  • Journal, drift detection, price locks and batch undo
  • Pro: master list, margin-based sales, margin floor, scheduled runs and reports

Go Premium

Unlock all features

Get access to all premium features with a license.

View Pricing