BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Pihlfelt Cost & Margin Pricing for WooCommerce icon
Actively maintained Tested with WP 7.1 #8 in cost of goods

Pihlfelt Cost & Margin Pricing for WooCommerce

Calculate sale prices from purchase prices: margin rules, supplier price list import, multi-currency costs and price rounding.

Active installs<10New
Downloads · 30d59▼ -43.3% vs prev. 30d
Rating—0 reviews
Health score60/100Fair
All-time downloads129Since Aug 2026
Support resolved—No recent threads
RequiresWP 6.5PHP 8.1+
Downloads · 7d17▲ +54.5% week over week
Our verdict

Use with caution

Pihlfelt Cost & Margin Pricing… works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far
  • Needs PHP 8.1 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

71522Aug 21Sep 10Oct 1
Yesterday7
Daily average (1y)3
Peak day30Aug 21, 2026
Last 12 months132

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Pihlfelt Cost & Margin Pric… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cost of goods #91 799 Best cost of goods plugins →
margin >100 1,962 Best margin plugins →
pricing >100 5,216 Best pricing plugins →
purchase price >100 1,792 Best purchase price plugins →
supplier >100 418 Best supplier plugins →

About Pihlfelt Cost & Margin Pricing for WooC…

From the official readme · v1.0.0

Description

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 [pihlcmp_lowest_price] shortcode — a discreet, theme-friendly line like “Lowest price last 30 days: 199 kr” with CSS classes for styling, and a label attribute to change or remove the text. 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
  • Change journal with one-click undo
  • Price change log — also records price/cost edits made outside the plugin (who, when, what)
  • Margin health warnings: products selling below real cost and sales priced below cost
  • Lowest price last 30 days per product — the EU Omnibus reference for sale marketing
  • Optional scheduled runs (monthly) — explicit opt-in, fully journaled and undoable

Everything above is included and fully functional — nothing here is locked, limited or time-restricted.

A separate commercial plugin, Pihlfelt Cost & Margin Pricing Pro, is available from pihlfelt.se for stores that need more: several suppliers per product with a cost strategy, master-list and Excel import, rules per category/supplier/product, margin-based sale prices, a margin floor, extra scheduling intervals with email reports, and margin/supplier reports. It is a different plugin with its own code — it is not unlocked from within this one.

External Services

This plugin fetches currency exchange rates from two services: on a daily schedule, when a new currency first needs a rate (e.g. during an import preview), and when you click “Fetch rates now” — and only when you use purchase prices in a currency other than your store currency.

European Central Bank (ECB) reference rates — the primary source. The plugin requests the public daily reference rate file. No personal data and no data about your store is sent; it is a plain file download. Terms: https://www.ecb.europa.eu/services/disclaimer/html/index.en.html

ExchangeRate-API open endpoint (open.er-api.com) — used as fallback when the ECB feed is unavailable, and for currencies the ECB does not publish. The request URL contains only your store’s base currency code; no personal data and no other data about your store is sent. Terms: https://www.exchangerate-api.com/terms — attribution is shown on the plugin’s settings page as required.

Rates are indicative reference rates intended for price calculation suggestions, not for payment processing.

Frequently asked questions

Does this replace WooCommerce’s Cost of Goods field?

No — it builds on it. The plugin stores supplier, currency and exchange rate details, and always writes the resulting cost to WooCommerce core’s COGS field. Woo’s own reports and exports keep working.

Can prices be changed without my approval?

Only if you explicitly enable scheduled automatic runs in 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 diff that you apply explicitly. Products you have adjusted manually are detected and skipped until you actively release them.

How do sale prices work?

A product’s sale price can come from two places, and you always win: You: type a price in WooCommerce’s normal sale price field (e.g. a weekend campaign at a fixed price). The plugin recognizes that this sale is yours and leaves the whole product alone until you remove it. This plugin does not generate sale prices — it calculates and maintains your ordinary prices. Any sale price on a product is yours, and the plugin leaves that product alone until you remove it. Margin-based sale prices, on-sale flags and scheduled campaigns are part of the separate Pro plugin (see the link below).

What do blank cells in the import file mean?

Blank always means “leave unchanged” — a file can never accidentally clear something by omitting it. on_sale yes with no dates = on sale until you turn it off (a leftover, already-ended schedule from an old campaign is cleared automatically so “yes” means visibly on sale). To explicitly remove a schedule date, put a dash (-) in the date cell. The only required columns are a cost column and one identifier column.

Does the plugin track price history?

Yes. Every change the plugin makes is journaled, and price/cost edits made anywhere else (the product editor, other plugins, the REST API, scheduled sales) are logged too — visible under “Recent changes” on the product’s Cost & Margin tab. This also gives you the lowest price of the last 30 days per product, the reference value the EU Omnibus rules require when marketing a price cut. The log starts at plugin activation; earlier history cannot be known.

How do I show the 30-day lowest price to customers?

Place the [pihlcmp_lowest_price] shortcode where you want it — in the product description, a block, or your theme’s product template (echo do_shortcode( '[pihlcmp_lowest_price]' );). It renders a discreet line: “Lowest price last 30 days: 199 kr”. Use label="Your text:" to change the text, label="" for the bare price, and id="123" outside a product context. The output carries the CSS classes pihlcmp-lowest-price, pihlcmp-lowest-price-label and pihlcmp-lowest-price-value so you can style every part; no styling is imposed. The plugin never adds anything to your storefront on its own.

How many suppliers can I have?

As many as you like. Each product is priced from one supplier’s cost: pick the supplier on the product’s Cost & Margin tab (or in each variation’s box), enter the cost and save. To move a product to a different supplier, select the new supplier, enter its cost and tick “Remove cost row” — the old row is replaced in one save. Imports run one supplier’s price list at a time, and the products list has a supplier column and filter so you can always see who supplies what.

Which currencies are supported?

All major currencies via the ECB daily reference rates (about 30), and roughly 130 more via the automatic fallback source. You can also enter exchange rates manually — manual rates always win.

Changelog

1.0.0

  • Initial release.

Full changelog on WordPress.org →

Screenshots

Price runs — preview every change before applying: old and new price, the resulting real margin, and exactly which parameters built each price. Large changes need a per-row tick; every applied run has one-click Undo.
Price runs — preview every change before applying: old and new price, the resulting real…
Import, step 2 — the supplier's file with auto-detected separator and encoding; map the columns once and the mapping is remembered per supplier.
Import, step 2 — the supplier's file with auto-detected separator and encoding; map the…
Import, step 3 — every row matched to your products with cost changes, calculated prices and the full calculation breakdown; large changes wait for your tick.
Import, step 3 — every row matched to your products with cost changes, calculated prices…
Pricing rules — set the margin or markup once, add landed costs, and land prices on psychological endings like …199. Rounding rules are defined on the same page.
Pricing rules — set the margin or markup once, add landed costs, and land prices on…
Suppliers — currencies, FX buffers, lead times and minimum order values in one place.
Suppliers — currencies, FX buffers, lead times and minimum order values in one place.
Settings — the two safety thresholds, manual exchange rates, and current rates with their source.
Settings — the two safety thresholds, manual exchange rates, and current rates with their…
Automatic runs — optional scheduled repricing (explicit opt-in) with the full safety net spelled out, plus how long the change journal is kept.
Automatic runs — optional scheduled repricing (explicit opt-in) with the full safety net…
The product's Cost & Margin tab — supplier and purchase price in the supplier's currency, price lock, and the full "Why this price?" breakdown: cost, exchange rate, buffers, rule, VAT and rounding, with the 30-day lowest price (Omnibus reference) and the product's recent price changes.
The product's Cost & Margin tab — supplier and purchase price in the supplier's currency…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Pihlfelt Cost & Margin Pricin… alternatives

All cost of goods plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Cost of Goods: Product Cost & Profit Calculator for WooCommerce Cost of Goods: Product Cost & Profit Calculator for WooComm… Calculate COGS & profit margins, unlock detailed insights into product profitability, and… by WPFactory 9K+ ★★★★★★★★★★ 4.7 (41) 2 weeks ago 77
2 F4 Total Stock Value for WooCommerce F4 Total Stock Value for WooCommerce Adds a few infos about the current stock value to the WooCommerce Analytics. by FAKTOR VIER 1K+ ★★★★★★★★★★ 4 (4) 4 days ago 74
3 Ni Cost of Goods for WooCommerce Ni Cost of Goods for WooCommerce Add cost of goods (COGS) to WooCommerce products and see real profit, profit margin and… by Anzar Ahmed 200+ ★★★★★★★★★★ 3.5 (4) 3 weeks ago 60
4 Cost of Goods Manager for WooCommerce Cost of Goods Manager for WooCommerce Add cost of goods management functionality to products for your store to quickly and easily… by bizswoop 20+ ★★★★★★★★★★ 5 (1) 5 years ago 31
5 Profit Margin Calculator for WooCommerce Profit Margin Calculator for WooCommerce A lightweight, easy-to-use WooCommerce extension that calculates product profit and profit… by InfinityTechCare 10+ ★★★★★★★★★★ No reviews 1 month ago 62
6 Profitly — Profit Analytics for WooCommerce Profitly — Profit Analytics for WooCommerce See your WooCommerce store's real profit. Track cost of goods (COGS), gateway fees, and… by StandaloneTech <10 ★★★★★★★★★★ 5 (1) 2 weeks ago 71
7 A1 Profit Reports for WooCommerce A1 Profit Reports for WooCommerce Profit tracking for WooCommerce, built on WooCommerce's native Cost of Goods Sold field —… by a1plugins <10 ★★★★★★★★★★ No reviews 1 month ago 55
9 PurchaseDesk – Purchase Orders, Cost of Goods (COGS) & Suppliers for WooCommerce PurchaseDesk PurchaseDesk for WooCommerce: purchase orders, supplier records, goods receipt and cost of… by erenlabs <10 ★★★★★★★★★★ No reviews 2 weeks ago 64
10 CostHarbor Supplier Updates for WooCommerce CostHarbor Supplier Updates for WooCommerce Generate a WooCommerce catalog template, enter supplier costs, and preview guarded cost and… by spguard <10 ★★★★★★★★★★ No reviews 4 weeks ago 64
11 AutoROICalc for WooCommerce AutoROICalc for WooCommerce Optimize WooCommerce sales with insightful reporting. Track ROI, analyze order… by AutoROICalc <10 ★★★★★★★★★★ No reviews 4 months ago 49

FAQ

Pihlfelt Cost & Margin Pricing for…: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 2, 2026

Is Pihlfelt Cost & Margin Pricing… free?

Yes. Pihlfelt Cost & Margin Pricing… is free to download and use from the official WordPress.org plugin directory.

Is Pihlfelt Cost & Margin Pricing… safe to use in 2026?

Pihlfelt Cost & Margin Pricing… works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.

How many websites use Pihlfelt Cost & Margin Pricing…?

Pihlfelt Cost & Margin Pricing… is active on <10 WordPress websites and has been downloaded 129 times since it launched in August 2026. It was downloaded 59 times in the last 30 days.

Does Pihlfelt Cost & Margin Pricing… work with WordPress 7.1?

Yes. The developer has tested Pihlfelt Cost & Margin Pricing… up to WordPress 7.1.2, the latest release. It requires WordPress 6.5 or newer.

What PHP version does Pihlfelt Cost & Margin Pricing… need?

Pihlfelt Cost & Margin Pricing… requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Pihlfelt Cost & Margin Pricing… last updated?

The latest version, 1.0.0, was released on August 21, 2026 (1 month ago).

Who makes Pihlfelt Cost & Margin Pricing…?

Pihlfelt Cost & Margin Pricing… is developed and maintained by Kristoffer Pihlfelt.

What are the best alternatives to Pihlfelt Cost & Margin Pricing…?

The most popular alternatives to Pihlfelt Cost & Margin Pricing… are Cost of Goods: Product Cost… (9K+ installs), F4 Total Stock Value for Wo… (1K+ installs) and Ni Cost of Goods for WooCom… (200+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.