Pihlfelt Cost & Margin Pricing for WooCommerce
Set your margin once. Import your supplier’s price list. Get finished, well-rounded prices. Cost & Margin Pricing calculates sale prices from your purchase prices — with support for purchase prices in foreign currencies, daily exchange rates, margin or markup rules, psychological price rounding and
Set your margin once. Import your supplier’s price list. Get finished, well-rounded prices.
Cost & Margin Pricing calculates sale prices from your purchase prices — with support for purchase prices in foreign currencies, daily exchange rates, margin or markup rules, psychological price rounding and a recurring supplier price list import with a full change preview.
Built on WooCommerce core fields: the selected purchase cost is always written back to WooCommerce’s own Cost of Goods Sold (COGS) field, so Woo’s reports, exports and every third-party COGS integration keep working. No parallel cost fields, ever.
Safe by design
- Nothing is ever applied without a preview — you always see the change diff first
- 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
EU Omnibus ready
Marketing a price cut in the EU requires showing the product’s lowest price of the last 30 days — data WooCommerce does not keep. This plugin does: every price change is logged (including ones made outside the plugin), and each product’s 30-day lowest price is computed for you. Show it to customers with the “Lowest price (30 days)” block — or the [pihlcmp_lowest_price] shortcode — a discreet, theme-friendly line like “Lowest price last 30 days: 199 kr” that you can restyle or relabel. For a variable product it shows the lowest price any of its variations had. Nothing is ever added to your storefront unless you place it yourself.
Free version
- One supplier per product with purchase price in any major currency
- Supplier column (toggle via Screen Options) and supplier filter in the products list
- Daily exchange rates (ECB reference rates, with automatic fallback)
- One global margin/markup rule with price rounding
- CSV price list import/export with change preview
- Write-back to WooCommerce core COGS