Title: Cost of Goods: Product Cost &amp; Profit Calculator for WooCommerce
Author: WPFactory
Published: <strong>6 Desember 2018</strong>
Last modified: 2 Oktober 2026

---

Cari plugin

![](https://ps.w.org/cost-of-goods-for-woocommerce/assets/banner-772x250.png?rev
=2970921)

![](https://ps.w.org/cost-of-goods-for-woocommerce/assets/icon.svg?rev=2970921)

# Cost of Goods: Product Cost & Profit Calculator for WooCommerce

 Oleh [WPFactory](https://profiles.wordpress.org/wpcodefactory/)

[Unduh](https://downloads.wordpress.org/plugin/cost-of-goods-for-woocommerce.4.2.3.zip)

 * [Detail](https://id.wordpress.org/plugins/cost-of-goods-for-woocommerce/#description)
 * [Ulasan](https://id.wordpress.org/plugins/cost-of-goods-for-woocommerce/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/cost-of-goods-for-woocommerce/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/cost-of-goods-for-woocommerce/#developers)

 [Bantuan](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/)

## Deskripsi

> “Best Plugin There is For Woocommerce Profit Calculation: I cannot believe how
> amazing this plugin really is! I don’t normally write reviews, but I have tested
> a couple of plugins to calculate profit etc. But this is by far the best. There
> are many options to choose from and once you get it all set, it works wonders.
> Also Pablo from support has been great! Thank you so much in abundance.” – ⭐⭐
> ⭐⭐⭐ [shahican](https://wordpress.org/support/topic/best-plugin-there-is-for-woocommerce-profit-calculation/)

[Main Page](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
| [Support Forum](https://wpfactory.com/support/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
| [Documentation & How to](https://wpfactory.com/docs/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
| [Demo](https://cogsprofitcalculator.instawp.xyz/)

Every WooCommerce store owner recognizes the significance of understanding their
financial health, but pinpointing exact metrics like Cost of Goods Sold (COGS) can
often be a complex chore with the default WooCommerce settings.

So whether for a product, category, or the whole store, and for a specific period,
a month, quarter, or any time frame you can think of, our plugin will give you a
holistic overview of financial reporting for your WooCommerce store.

**In a nutshell, this what you’ll expect to get in this plugin:**

 * **Customizable Product Costs:** Define the costs of goods for each of your products
   to track profitability accurately
 * **Versatile Costs for Variable Products:** Assign costs either to each individual
   variation or to all variations collectively, offering flexibility based on your
   product range
 * **Enhanced Admin Visibility:** Add sortable columns in the WooCommerce admin 
   section, providing insights into product/order cost and profit directly in product
   and order lists
 * **Smooth Data Import/Export:** Effortlessly integrate product costs via CSV files,
   utilizing the standard WooCommerce Import and Export tools
 * **Bulk Edit Functionality:** Modify product costs, prices, and stock in bulk 
   from a dedicated page, streamlining inventory management
 * **Import from Other Metas:** With the specialized import tool, bring in costs
   from other product metas to ensure consistent pricing data
 * **Optional Order Meta Box:** Integrate a “Cost of Goods” meta box in the admin
   order edit page for deeper cost insights at the order level
 * **Profit Warning:** Receive a notification on the admin order edit page when 
   a particular order’s profit dips below zero
 * **Flexible Order Costs:** Define additional costs either universally across all
   orders or on a per-order basis
 * **Automatic Average Cost Calculation**
 * **Analytics Integration**

### 🤝 Recommended By

 * [WPGlob: Best WooCommerce Pricing Plugins for WordPress 2023](https://wpglob.com/best-woocommerce-pricing-plugins-for-wordpress-2022/)
 * [PPWP Pro: Easy Way to Track Cost of Goods in WooCommerce Stores](https://passwordprotectwp.com/cost-of-goods-for-woocommerce/)
 * [WooCommerce Features: Best WooCommerce Cost of Goods Plugins for Tracking Profit](https://removewcfeatures.com/woocommerce-cost-of-goods/#cost-of-goods-for-woocommerce)
 * [Download Free WP: Top Cost of Goods for WooCommerce](https://downloadfreewpplugins.com/wordpress/cost-of-goods-for-woocommerce/)
 * [WPFavs: Best COGS Plugin](https://wpfavs.com/single-plugin-page?slug=cost-of-goods-for-woocommerce)
 * [LearnWoo: Best WooCommerce Reporting and Analytics Plugins](https://learnwoo.com/woocommerce-reporting-and-analytics-plugins/)

### 🚀 Main Features: FREE Version

### 🚀 Product Cost of Goods Sold (COGS) Management

#### 🚀 Cost of Goods Sold (COGS) & Profit Calculation

 * Create a cost field for every simple product, variable, or variation to properly
   calculate profit
 * Select to calculate profit based on the price with tax, without tax, or regular
   price
 * Show & customize profit text, select to show profit, profit percentage, profit
   margin, or any mix of these values
 * Get detailed figures by selecting how many decimal points to show in cost field
   for accurate reporting
 * Select cost field location from different placements, you can insert in product
   page in General tab, pricing section, Inventory & SKU, or Advanced tab
 * Show product cost & product profit in WooCommerce Admin list to have a general
   overview, as well as allowing to sort by cost & profit for all products at once

#### 🚀 Save Historical Data for Cost of Goods

By preserving past cost data, this feature enables businesses to track how the cost
structure of their products has evolved, providing a clear window into shifts in
supplier pricing, manufacturing costs, or other contributing factors.

Such historical data becomes invaluable when analyzing profitability trends, forecasting
future expenses, and making informed pricing decisions.

### 🚀 Order Cost of Goods Sold (COGS) & Profit Management

#### 🚀 Calculate Cost & Profit by Order

 * Show Profit & Cost of Goods Sold fields in WooCommerce admin orders list to easily
   track cost & profit per order
 * For accurate reporting, select which order statuses to show costs values
 * For Profit, select what columns to add, include any of profit, profit percentage,
   profit margin values to the orders columns
 * ِAdd items cost field to order **edit ** page either as editable or just readonly
 * Re-adjust order costs even after order is processed if cost changed, for a better&
   accurate reporting
 * Edit order by items, or for the whole order at once
 * Enable notification in order edit page in case order profit is below zero
 * Import items costs when adding items to orders (in order edit page)

#### 🚀 Total Order Cost & Profit Calculation

 * Define options for order cost and profit calculations based on your financial
   standards
 * Select to calculate order costs to be either subtotal including tax, total including
   tax, or total excluding tax
 * Select to calculate order shipping costs in order profit (by percentage, i.e.
   including part of shipping cost or all of it)
 * Add order fees to order profit
 * Adds order taxes to the order profit
 * Select when to calculate order profit based on order status

#### 🚀 Refunded Orders Cost & Profit Calculation

 * Calculate orders quantity by excluding refunded items
 * Select to calculate refunds from many options: Profits ignoring refunds, subtract
   total refunded items from profit, subtract each item’s refund amount from profit,
   or go further and calculate profit by the difference between Net Payment and 
   Cost
 * Select to include tax on Net Payment

#### 🚀 Orders Extra Costs

 * Insert a fixed or percentage (from total order) extra cost to be added to all
   orders
 * Choose to include meta box on order edit page to calculate extra costs like: 
   Handling fees, Shipping Fees, or Payment fees (by order)
 * Add extra costs by order meta (like Stripe & PayPal transaction fees)

### 🚀 Payment Gateways Cost Management

 * Add fixed costs and/or percentage costs to orders based on the payment gateway
   which processed the order
 * Works on default payment gateways (CoD, Direct transfers, CC) as well as any 
   extra custom gateway used on your store

### 🚀 Shipping Methods Cost Management

 * Calculate extra costs associated with each shipping method by fixed and/or percentage
   cost
 * Use shipping methods instances (with shipping zones) instead of shipping methods
 * Works on all shipping methods available on your store

### 🚀 Costs Bulk Edit Tools

Navigating the financial aspects of a WooCommerce store can often be complex, especially
when it comes to making widespread changes to product costs.

Our plugin seamlessly addresses this challenge, introducing free tools that empower
store owners to apply bulk changes to product costs, without the usual hassles, 
using these methods:

 * **Manual Edits:** Dive into the details by manually editing the cost, regular
   price, sale price, stock, and even tags for each product
 * **By Price:** Modify product costs based on a set percentage, offering a more
   uniform approach to price alterations
 * **By Profit:** Add a specific percentage to ensure profitability is maintained
   or optimized across the board

### 🚀 Bulk Change Prices by Costs & Desired Profit

Once you set product costs, you can use our built-in tool to change product prices
based on a desired profit, either by a fixed amount or profit perecentageز

### 🚀 Import & Export Costs

 * Import and export product costs from and to a CSV file with standard WooCommerce
   Import and Export tools
 * You can also use our import tool if you need to import costs from another product
   metas

### 🚀 More Advanced Options

 * Replace comma by dots when updating cost meta
 * Create a new meta box on product page to calculate stock & cost per each stock
   received
 * View history of Stock & Cost snapshots
 * Unlimited costs update hooks that can be used to trigger cost update

### 🏆 Do More: PRO Version

Everything highlighted above —and much more— is accessible in the complimentary 
version. However, for those seeking to elevate their experience and dive deeper,
we offer the upgraded [Cost of Goods for WooCommerce Pro](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
plugin.

Opt for the Pro version and discover a collection of more features, such as:

### 🏆 Advanced Bulk Edits

 * Add Cost field to product bulk and quick edit
 * Add “Add stock” fields (stock and cost) to product bulk and quick edit

### 🏆 Include Cost & Profit in Emails

Opt in and include the order cost and profit on the admin new order email

### 🏆 Include Shipping Classes Costs

 * Add extra costs for your orders based on product’s shipping classes
 * Select fixed cost calculations per product, or per shipping class

### 🏆 Handle Multi-Currencies Stores

 * Calculate order cost and profit based on custom exchange rates (Cost and profit
   will be converted to the shop base currency)
 * Add extra costs based on the order currency

### 🏆 Orders Recalculation Tool

 * Recalculate cost and profit for all orders
 * Select to only recalculate cost and profit for orders with no costs
 * Recalculate cost and profit for orders within specific time frame

### 🏆 Cost & Profit Data in WooCommerce Analytics Reports

 * Add cost & profit to the report charts (Analytics > Orders tab)
 * Add cost, profit & category columns to the report charts (Analytics > Stock tab)
 * Add cost & profit including charts to the report charts (Analytics > Revenue 
   tab)

### 🏆 Advanced Compatibility Options

The plugin works seamlessly with tons of plugins, but for advanced harmony with 
some popular plugins, the plugin has advanced & tailored compatibility options with:

 * [**Openpos – WooCommerce Point Of Sale (POS):**](https://codecanyon.net/item/openpos-a-complete-pos-plugins-for-woocomerce/22613341)
   Manages POS orders on orders reports
 * [**Product Add-Ons by WooCommerce:**](https://woocommerce.com/products/product-add-ons/)
   Adds costs fields for the addons and creates an order meta with addons costs
 * [**CURCY – Multi Currency for WooCommerce:**](https://wordpress.org/plugins/woo-multi-currency/)
   Get currency rates from CURCY plugin instead of the Multicurrency > Order calculation
   option
 * [**ExchangeRate-API:**](https://www.exchangerate-api.com/docs/free) Get currency
   rates from ExchangeRate-API instead of the Multicurrency > Order calculation 
   option
 * [**Metorik:**](https://metorik.com/) Sync cost with _wc_cog_cost meta
 * [**WP All Import:**](https://wordpress.org/plugins/wp-all-import/) Convert numbers
   with commas to dots & Remove all invalid characters from a float number, like
   currency values
 * [**WPC Product Bundles for WooCommerce:**](https://wordpress.org/plugins/woo-product-bundle/)
   Exclude Smart bundle product type from stock and orders report & properly handle
   Smart bundle cost from its items
 * [**ATUM Inventory Management for WooCommerce:**](https://wordpress.org/plugins/atum-stock-manager-for-woocommerce/)
   Copy & sync costs from ATUM and properly handle taxes on import
 * [**WooCommerce Food:**](https://exthemes.net/woocommerce-food/) Add fixed costs
   to food options

### 🏆 Premium Support

And much more.

### What’s Next? Discover More Plugins by WPFactory

WPFactory has a diverse range of plugins tailored to enhance your experience, some
of our top-selling plugins are:

 * [**Min Max Step Quantity**](https://wpfactory.com/item/product-quantity-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Set minimum, maximum, step, and default product quantities, including dropdowns
   and decimal options on WooCommerce (**[Free version](https://wordpress.org/plugins/product-quantity-for-woocommerce/)**)
 * [**Cost of Goods for WooCommerce**](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Enhance profit maximization and financial management by accurately calculating
   your WooCommerce store’s COGS (**[Free version](https://wordpress.org/plugins/cost-of-goods-for-woocommerce/)**)
 * [**Maximum Products per User**](https://wpfactory.com/item/maximum-products-per-user-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Impose personalized purchase limits based on user roles and date ranges to manage
   customer buying behavior (**[Free version](https://wordpress.org/plugins/maximum-products-per-user-for-woocommerce/)**)
 * [**Order Minimum/Maximum Amount**](https://wpfactory.com/item/order-minimum-maximum-amount-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Customize order limits by amount, quantity, weight, or volume, including user
   role, category, and more (**[Free version](https://wordpress.org/plugins/order-minimum-amount-for-woocommerce/)**)
 * [**EU/UK VAT Manager for WooCommerce**](https://wpfactory.com/item/eu-vat-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Automate VAT compliance for your WooCommerce store, including settings and VIES
   validation for a seamless experience (**[Free version](https://wordpress.org/plugins/eu-vat-for-woocommerce/)**)
 * [**Email Verification for WooCommerce**](https://wpfactory.com/item/email-verification-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Boost security and credibility by verifying customer emails, reducing spam, and
   improving email marketing (**[Free version](https://wordpress.org/plugins/maximum-products-per-user-for-woocommerce/)**)
 * [**Free Shipping Over Amount for WooCommerce**](https://wpfactory.com/item/amount-left-free-shipping-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Encourage higher spending by offering free shipping based on amount, with a progress
   bar for customers (**[Free version](https://wordpress.org/plugins/amount-left-free-shipping-woocommerce/)**)
 * [**Dynamic Pricing & Bulk Quantity Discounts**](https://wpfactory.com/item/product-price-by-quantity-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme):
   Advanced dynamic pricing and discount rules for WooCommerce, encouraging bulk
   purchases and driving more sales (**[Free version](https://wordpress.org/plugins/wholesale-pricing-woocommerce/)**)

### ❤️ User Testimonials: See What Others Are Saying!

> “The support is super fast and amazing.
>  Plugin also is great and work really 
> smooth and nice.” – ⭐⭐⭐⭐⭐ [Sina Arzany](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
> “Amazingly fast support, added a feature that we needed to work without any delay.
> Incredible service. Plug-in does exactly what we need it to do.” – ⭐⭐⭐⭐⭐ 
> [Scott](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
> “Excellent plugin with so much functionality but yet so easy to use to keep track
> of profit at an order level! Great work team!” – ⭐⭐⭐⭐⭐ [Tye](https://wpfactory.com/item/cost-of-goods-for-woocommerce/?utm_source=wporg&utm_medium=organic&utm_campaign=readme)
> “Best MUST have plugin: If you need to have a control under the costs of the products
> you sell, this plugin is a must have. It works perfectly without any conflict 
> with other plugins. Also I would like to point out the support of this plugin.
> They are always willing to help you and answering any question you could have.
> TOP TOP TOP” – ⭐⭐⭐⭐⭐ [betcazador](https://wordpress.org/support/topic/must-have-plugin-394/)

## Instalasi

**Follow these simplified steps to get your plugin up and running:**

**From the WordPress Admin Panel:**
 1. Navigate to “Plugins” > “Add New”. 2. Use
the search bar and find the plugin using the exact name. 3. Click “Install Now” 
for the desired plugin. 4. Once the installation is finished, and click “Activate”.

**Manual Installation Using FTP:**
 1. Download the desired plugin from WordPress.
org. 2. Using your preferred FTP client, upload the entire plugin folder to the /
wp-content/plugins/ directory of your WordPress installation. 3. Go to “Plugins”
> “Installed Plugins” in your dashboard and click “Activate”.

**Manual download & upload from the WordPress Admin Panel:**
 1. Download the desired
plugin in a ZIP format. 2. On your site, navigate to “Plugins” > “Add New” and click
the “Upload Plugin” button. 3. Choose the downloaded plugin file and click “Install
Now.” 4. After the installation is complete, click “Activate”.

**Post-Activation:**
 Once activated, access the plugin’s settings by navigating
to “WooCommerce > Settings” and look for the relevant tab.

## Tanya Jawab

### What can I do if the cost field is not saving?

If even after clicking “Update” on the product edit page the cost field is not saving,
please try to change this option:
 **– Cost field position**

### What is the easiest way to export the full inventory (cost of all goods)?

Probably the easiest way of doing it would be through the default WooCommerce export,
over:
 **– Products > All products > Export**

### How do I bulk edit cost of goods for a specific product category?

First, you have to enable two options:

 * Products > Quick and Bulk Edit > Cost field > Add “Cost” field to product “Quick
   Edit”
 * Products > Quick and Bulk Edit > Cost field > Add “Cost” field to product “Bulk
   Actions > Edit”

And then you can follow these steps:

 1. Access your products listing page
 2. Filter by the category
 3. Select all
 4. Click edit on “Bulk actions” dropdown
 5. Edit the field you want

## Ulasan

![](https://secure.gravatar.com/avatar/fb52f494b0b6dbc918578dcae8042a311cba6722deba00190e3425218e2a0d7c?
s=60&d=retro&r=g)

### 󠀁[Crazy ads in the Dashboard](https://wordpress.org/support/topic/crazy-ads-in-the-dashboard/)󠁿

 [Daniel Zimmermann](https://profiles.wordpress.org/optimiertes/) 23 Desember 2025
1 balasan

It's a tiny helper plugin that thinks it's the most important thing in the world,
publishing a huge banner in the Dashboard

![](https://secure.gravatar.com/avatar/4d064a9bb35c75e1f4566f09f32158ea2d4d0bdc09ae69401d3f87b2af70e2b2?
s=60&d=retro&r=g)

### 󠀁[Excellent support.](https://wordpress.org/support/topic/excellent-support-2590/)󠁿

 [heel1](https://profiles.wordpress.org/heel1/) 28 November 2025 1 balasan

Great support! Pablo went above and beyond to get a custom meta field working for
us, so we are very happy. This plugin greatly reduces our time spent on keeping 
cost prices up to date. If you want to keep track on cost price and by that also
on margins and profit then I would highly recommend this plugin and this author.
Thanks)

![](https://secure.gravatar.com/avatar/bf13832633b083433def80df4e693f10fa8cf61c207e028ce5ffbfc32e72a14c?
s=60&d=retro&r=g)

### 󠀁[Woocommerce store owner since +10 years, this is EXACTLY what I needed](https://wordpress.org/support/topic/woocommerce-store-owner-since-10-years-this-is-exactly-what-i-needed/)󠁿

 [Kenelli](https://profiles.wordpress.org/kenelli/) 26 November 2025 1 balasan

I managing a few ecommerces since +10 years, and the main issue is that were working
by feel, without really knowing our profit margins precisely. I've discover this
plugin and bought the Lifetime licence the minute after I tested it. It's a complete
plugin if you are a numbers guys (and you should be) to run a profitable e-commerce
store!

![](https://secure.gravatar.com/avatar/0f890105d9cf9b6986125e893c15ff490ac1056a6cb20783532d293e90983567?
s=60&d=retro&r=g)

### 󠀁[Great plugin and excellent support](https://wordpress.org/support/topic/great-plugin-and-excellent-support-337/)󠁿

 [hdat3rra](https://profiles.wordpress.org/hdat3rra/) 23 September 2025 1 balasan

The plugin features an intuitive interface and excellent support, quickly resolving
our issue. Its information in the Analytics provides valuable information about 
our costs and profit.

![](https://secure.gravatar.com/avatar/1e61e88b27a05eceec3a82d5a8bf8e277a6b5563557a9561597a743b57ac7a25?
s=60&d=retro&r=g)

### 󠀁[The best plugin to manage the cost of products](https://wordpress.org/support/topic/the-best-plugin-to-manage-the-cost-of-products/)󠁿

 [Daniele](https://profiles.wordpress.org/dabesa/) 1 Mei 2024 1 balasan

I've been using this plugin for over a year and really happy with it. It has all
the features needed, and the support goes above & beyond to help!

![](https://secure.gravatar.com/avatar/807225c3ea3b68a06bf38e9eeb36b47654652b4ba16c8f1148036daa3e649d0b?
s=60&d=retro&r=g)

### 󠀁[The best Costs plugin for Woocommerce](https://wordpress.org/support/topic/the-best-costs-plugin-for-woocommerce/)󠁿

 [DeepBlue](https://profiles.wordpress.org/deepblue5/) 4 Maret 2024 1 balasan

Amazing Costs plugin for Woocommerce The best features (bulk edit cost and bulk 
edit prices) great statistics and amazing support with Pablo The best pick for Woocommerce!

 [ Baca semua 41 ulasan ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/)

## Kontributor & Pengembang

“Cost of Goods: Product Cost & Profit Calculator for WooCommerce” adalah perangkat
lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor

 *   [ WPFactory ](https://profiles.wordpress.org/wpcodefactory/)
 *   [ Omar AlDabbas ](https://profiles.wordpress.org/omardabbas/)
 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)
 *   [ Tom Anbinder ](https://profiles.wordpress.org/anbinder/)
 *   [ Kousik Mukherjee ](https://profiles.wordpress.org/kousikmukherjeeli/)

“Cost of Goods: Product Cost & Profit Calculator for WooCommerce” telah diterjemahkan
dalam 2 bahasa. Terima kasih kepada [para penerjemah](https://translate.wordpress.org/projects/wp-plugins/cost-of-goods-for-woocommerce/contributors)
untuk kontribusi-nya.

[Terjemahkan “Cost of Goods: Product Cost & Profit Calculator for WooCommerce” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/cost-of-goods-for-woocommerce)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/cost-of-goods-for-woocommerce/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/cost-of-goods-for-woocommerce/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/cost-of-goods-for-woocommerce/)
melalui [RSS](https://plugins.trac.wordpress.org/log/cost-of-goods-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 4.2.3 – 02/10/2026

 * Dev – Products – Improved Last update datetime description.

#### 4.2.2 – 02/10/2026

 * Dev – Products – Added new option to save the last update date and time (`Y-m-
   d H:i:s`) in `_alg_wc_cog_last_update_datetime` meta.

#### 4.2.1 – 18/09/2026

 * Security – minor hardening.
 * Tested up to: 7.1.
 * WC tested up to: 11.1.

#### 4.2.0 – 24/08/2026

 * Fix – Fixed Analytics Stock cost/profit totals cache.
 * WC tested up to: 11.0.

#### 4.1.9 – 14/07/2026

 * Fix – Fixed Order Extra costs.
 * Fix – Fixed WooCommerce product import with incorrect prefix meta.

#### 4.1.8 – 13/07/2026

 * Fix – Fixed Cost Archive display.
 * Fix – Fixed Add Stock variation history.
 * Fix – Fixed Add Stock updating on variations.

#### 4.1.7 – 09/07/2026

 * Fix – General security improvements.

#### 4.1.6 – 30/06/2026

 * Fix – Remove external link to woo.com.
 * Fix – Fixed nonce, escaping and validation checks.
 * Fix – Prefix updated to wpfcogs.
 * WC tested up to: 10.9.

#### 4.1.5 – 08/06/2026

 * Fix – Fixed I18n issues on functions.
 * Fix – Fixed nonce, escaping and validation checks.
 * Fix – Removed unnecessary `load_plugin_textdomain()` function.
 * Fix – Changed Short Description from readme.txt.
 * Fix – Code refactoring.
 * Fix – Fixed `WordPress.WP.I18n.MissingTranslatorsComment` issues.
 * Dev – Moved translations to languages folder.

#### 4.1.4 – 22/05/2026

 * Update `$version` property.

#### 4.1.3 – 22/05/2026

 * Tested up to: 7.0.

#### 4.1.2 – 08/05/2026

 * Fix – Analytics – Fixed data inflation with the option “Orders > Extra Costs”.

#### 4.1.1 – 06/05/2026

 * Fix – Improved sanitization in product cost/profit shortcodes.
 * WC tested up to: 10.7.

#### 4.1.0 – 12/03/2026

 * Dev – Improved deploy mechanism.
 * Fix – Fixed `.gitattributes`.

#### 4.0.9 – 03/03/2026

 * Fix – Fixed “Analytics > Products” report.

#### 4.0.8 – 13/02/2026

 * Dev – Orders – Added options to setup the cost and profit columns width.
 * WC tested up to: 10.5.

#### 4.0.7 – 02/02/2026

 * Fix – Analytics – Products – Prevented possible inconsistency on profit total.

#### 4.0.6 – 28/01/2026

 * Orders – Improved “Extra Costs: From Meta” description.

#### 4.0.5 – 23/01/2026

 * WC tested up to: 10.4.
 * Dev – Updated Key Manager library to version 1.0.8.
 * Improved Settings text from Analytics and Multicurrency sections.

#### 4.0.4 – 22/12/2025

 * Updated cross-selling library to version 1.0.9.

#### 4.0.3 – 17/12/2025

 * Updated cross-selling library to version 1.0.7.

#### 4.0.2 – 09/12/2025

 * Dev – Products – Added new option to normalize cost while importing CSV.
 * Tested up to: 6.9.

#### 4.0.1 – 01/12/2025

 * Dev – Tools – Added new option to filter bulk edit products by attributes.

#### 4.0.0 – 20/11/2025

 * Fix – Trying to avoid get_id() on bool error.

#### 3.9.9 – 20/11/2025

 * Dev – Advanced – Added the `woocommerce_update_order` hook to the option Order
   calculation hooks.

#### 3.9.8 – 10/11/2025

 * Dev – Products – Last Update Date now being saved as `_wpfcogs_last_update_date`
   meta.

#### 3.9.7 – 07/11/2025

 * Dev – Products – Added new option to set a last update date template.
 * Dev – Products – Added new option to display a last update date as cost input
   description on admin product pages.
 * Dev – Products – Improved Standards on Cost Archive code.

#### 3.9.6 – 06/11/2025

 * Fix – Products – Improved reliability of Cost and Add Stock fields on Quick end
   Bulk Edit.
 * WC tested up to: 10.3.

#### 3.9.5 – 29/10/2025

 * Fix – Add stock – Fixed Uncaught TypeError: Cannot access offset of type string.

#### 3.9.4 – 22/10/2025

 * Fix – Add stock – Fixed Uncaught TypeError: Cannot access offset of type string.

#### 3.9.3 – 17/10/2025

 * Fix – Products – Cost field was not working with the “Bulk actions > Edit” option.

#### 3.9.2 – 22/09/2025

 * Fix – Analytics – Improved stock calculation.

#### 3.9.1 – 17/09/2025

 * Fix – Analytics – Improved stock calculation.
 * Fix – “Analytics > Categories” now considering Multicurrency section.
 * Fix – Analytics – Fixed Multicurrency option with the Overview and Variations
   sections.
 * Dev – Analytics – Stock – New option added to generate the CSV with the products
   selected by the Cost of Goods filter.

#### 3.9.0 – 13/09/2025

 * Fix – Fixed error where some orders could have the cost set as zero.

#### 3.8.9 – 12/09/2025

 * Fix – Advanced – Ignored order profit on the option “Avoid empty order metadata
   from being saved to database”.
 * Fix – “Analytics > Products” section now considering Multicurrency section.

#### 3.8.8 – 09/09/2025

 * Fix – Analytics – Improved stock calculation.

#### 3.8.7 – 04/09/2025

 * Fix – Fixed possible php warning on order updating.
 * Dev – Improved prevention of possible duplicate order meta.

#### 3.8.6 – 03/09/2025

 * Dev – Improved prevention of possible duplicate order meta.

#### 3.8.5 – 29/08/2025

 * Dev – Added `wpfcogs_update_order_items_costs_validation` filter.

#### 3.8.4 – 28/08/2025

 * Fix – Product profit was being calculated wrong on admin product page and Analytics
   Stock report if prices included taxes.
 * Dev – Analytics – Replace “Consider stock” option by adding new columns considering
   quantity.
 * Dev – Analytics – Added extra stock data option with product category, price,
   total price, total stock, total products, total average cost, price, and profit.

#### 3.8.3 – 19/08/2025

 * Dev – Improve profit sanitization to avoid possible errors with dirty data on
   database.

#### 3.8.2 – 19/08/2025

 * Dev – Added Recommendations box on settings page via Cross-selling library.
 * WC tested up to: 10.1.

#### 3.8.1 – 11/08/2025

 * Fix – Orders – Fixed admin order page sorting by ID and Date.

#### 3.8.0 – 04/08/2025

 * Dev – Compatibility – Added option to add Cost column to WBW Product Table plugin.
 * Dev – Compatibility – Added option to add Profit column to WBW Product Table 
   plugin.

#### 3.7.9 – 31/07/2025

 * Fix – Fixed possible compatibility error with the plugin Sugar Calendar: “Too
   few arguments to function WPFCOGS_Bulk_Edit_Tool::disable_screen_option_on_automatically_tab()”.
 * WC tested up to: 9.9.

#### 3.7.8 – 23/07/2025

 * Dev – Extra costs from meta – Added option to treat extra costs from meta as 
   profit instead of cost.
 * Dev – Extra costs from meta – Code refactoring.
 * Dev – Minified js and css automatically generated.

#### 3.7.7 – 12/07/2025

 * Fix – Analytics – Fixed inflated analytics.

#### 3.7.6 – 23/06/2025

 * Dev – Improved WPFactory menu.
 * Dev – Compatibility – WCFM – Added new option to add the cost input to the frontend
   manager.
 * Dev – Compatibility – WCFM – Added new option to Show the total cost and profit
   on the Vendor’s Sales by Date report.

#### 3.7.5 – 18/06/2025

 * Fix – Add Stock – Quick edit couldn’t work if the Bulk Edit was disabled.
 * Dev – Improved WPFactory menu.

#### 3.7.4 – 17/06/2025

 * Fix – Add Stock – Fixed possible bug with the quick edit.
 * Dev – Add Stock – Added new option to calculate the cost based on the Cost decimals
   option.
 * Dev – Improved the way product cost meta is saved.

#### 3.7.3 – 11/06/2025

 * WC tested up to: 9.9.

#### 3.7.2 – 09/05/2025

 * Fix – Analytics – Stock – Cost and profit total was not working in some cases.
 * Dev – Now triggering `updated_post_meta` on Tools > Import even if From meta 
   value is the same as new one.

#### 3.7.1 – 08/05/2025

 * Fix – Fixed vulnerability.

#### 3.7.0 – 28/04/2025

 * Dev – Add Stock – Added a remove button on the “Add stock feature” to delete 
   a specific date from the history.

#### 3.6.9 – 18/04/2025

 * Fix – Translation loading was triggered too early.
 * Dev – Added the order item meta profit as `_wpfcogs_item_profit`.
 * Dev – Orders – Added new option to improve admin new order emails by showing 
   a detailed info of profit and cost for each item.
 * Tested up to: 6.8.
 * WC tested up to: 9.8.

#### 3.6.8 – 26/03/2025

 * Dev – Analytics – Added cost and profit options for the Variations tab.

#### 3.6.7 – 19/03/2025

 * Dev – Payment Gateways – Added option to set a fixed profit.
 * Dev – Payment Gateways – Option changed from `wpfcogs_gateway_costs_enabled` 
   to `wpfcogs_gateways_values_enabled`.
 * Dev – Payment Gateways – Code refactored.

#### 3.6.6 – 14/03/2025

 * Fix – Compatibility – WPC Product Bundles – Bundle cost was not being excluded
   from order item.

#### 3.6.5 – 11/03/2025

 * Dev – Key Manager library – Changed namespace from `v5\PucFactory` to `v5p4\PucFactory`
   so it won’t conflict with other plugins loading possible older versions of Puc.
 * WC tested up to: 9.7.

#### 3.6.4 – 25/02/2025

 * Dev – Multicurrency – Added new option to convert Extra Costs From Meta.

#### 3.6.3 – 11/02/2025

 * Fix – Orders – Extra costs – Fixed possible error “Call to a member function 
   get_meta() on false” on a admin order page.
 * Dev – Improved Composer loading.

#### 3.6.2 – 28/01/2025

 * Fix – Tools – Orders recalculation – Fixed date options.
 * Dev – Tools – Orders recalculation – New option added to override item costs 
   on recalculation.
 * WC tested up to: 9.6.

[View older changelog entries](https://plugins.svn.wordpress.org/cost-of-goods-for-woocommerce/trunk/changelog-older.txt)

## Plugin komersial

Plugin ini gratis tetapi menawarkan dukungan upgrade dan bantuan berbayar.

## Meta

 *  Versi **4.2.3**
 *  Diperbarui **7 hari yang lalu**
 *  Instalasi Aktif **9,000+**
 *  Versi WordPress ** 6.1 atau yang terbaru **
 *  Diuji hingga **7.1.3**
 *  Bahasa
 * [Dutch](https://nl.wordpress.org/plugins/cost-of-goods-for-woocommerce/), [English (US)](https://wordpress.org/plugins/cost-of-goods-for-woocommerce/),
   dan [Ukrainian](https://uk.wordpress.org/plugins/cost-of-goods-for-woocommerce/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/cost-of-goods-for-woocommerce)
 * Tag
 * [cost](https://id.wordpress.org/plugins/tags/cost/)[cost of goods](https://id.wordpress.org/plugins/tags/cost-of-goods/)
   [profit](https://id.wordpress.org/plugins/tags/profit/)[profit calculator](https://id.wordpress.org/plugins/tags/profit-calculator/)
   [woocommerce](https://id.wordpress.org/plugins/tags/woocommerce/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/cost-of-goods-for-woocommerce/advanced/)

## Rating

 4.7 dari 5 bintang.

 *  [  36 ulasan 5-bintang     ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/?filter=5)
 *  [  0 ulasan 4-bintang     ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/?filter=4)
 *  [  2 ulasan 3-bintang     ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/?filter=3)
 *  [  2 ulasan 2-bintang     ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/?filter=2)
 *  [  1 ulasan 1-bintang     ](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/)

## Kontributor

 *   [ WPFactory ](https://profiles.wordpress.org/wpcodefactory/)
 *   [ Omar AlDabbas ](https://profiles.wordpress.org/omardabbas/)
 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)
 *   [ Tom Anbinder ](https://profiles.wordpress.org/anbinder/)
 *   [ Kousik Mukherjee ](https://profiles.wordpress.org/kousikmukherjeeli/)

## Bantuan

Masalah yang diselesaikan dua bulan terakhir:

     0 dari 1

 [Lihat forum bantuan](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/)