Tested Updated Perfect rating

Cost of Goods for WooCommerce

(2 customer reviews)

From: $19.99 / year

Save WooCommerce products purchase costs.

Clear

Description

With Cost of Goods for WooCommerce Pro plugin you can save WooCommerce products purchase costs.

After enabling the plugin, new “Cost (excl. tax)” input field will be added to the product’s edit page.

Cost of Goods for WooCommerce - Simple Product Cost Input

For variable products you can either set single cost for all variations:

Cost of Goods for WooCommerce - Variable Product Cost Input

or set costs for each variation individually:

Cost of Goods for WooCommerce - Variation Product Cost Input

Cost of Goods Plugin Options

Plugin options are located in “WooCommerce > Settings > Cost of Goods”.

  • Admin orders list columns options
  • Admin products list columns options
  • Bulk edit costs tool
  • Import costs tool
  • Orders tools
  • Reports

Admin Orders List Columns

This section lets you add custom columns to WooCommerce admin orders list.

Cost of Goods for WooCommerce - Admin Orders List Columns Options

Order cost
Displays pre-calculated order total cost.
Default: no
Order cost: Order statuses
Select order statuses to show cost column. Leave empty to show for all orders.
Default: None
Order profit
Displays pre-calculated order profit.
Default: yes
Order profit: Order statuses
Select order statuses to show profit column. Leave empty to show for all orders.
Default: None

Admin Products List Columns

This section lets you add custom columns to WooCommerce admin products list.

Cost of Goods for WooCommerce - Admin Products List Columns Options

Product cost
Displays product cost.
Default: no
Product profit
Displays product profit.
Default: no

Bulk Edit Costs Tool

Bulk edit tool is located in “Tools > Bulk Edit Costs”. Use it if you need to bulk edit costs for all products from a single page.

Cost of Goods for WooCommerce - Bulk Edit Costs Tool

Manage stock
Enable this if you want to manage products stock in addition to cost of goods.
Default: no
Manage stock: Stock update method
Ignored unless “Manage stock” checkbox is enabled above. Possible values: Update product meta; Use product functions.
Default: Update product meta

Import Costs Tool

Import tool is located in “Tools > Import Costs”. Use it if you need to import costs from other meta fields.

Cost of Goods for WooCommerce - Import Costs Tool Options

Key to import from
Meta key to import costs from.
Default: _wc_cog_cost

Cost of Goods for WooCommerce - Import Costs Tool

Orders Tools

Cost of Goods for WooCommerce - Orders Tools Options

Recalculate orders cost and profit for all orders
Set items costs in all orders (overriding previous costs). Enable the checkbox and save changes to run the tool.
Default: no
Recalculate orders cost and profit for orders with no costs
Set items costs in orders that do not have costs set. Enable the checkbox and save changes to run the tool.
Default: no

Reports

Orders Report

Cost of Goods orders report is available in “Reports > Orders > Cost of Goods”.

Cost of Goods for WooCommerce - Orders Report

Stock Report

Cost of Goods stock report is available in “Reports > Stock > Cost of Goods”.

Cost of Goods for WooCommerce - Reports - Stock

2 reviews for Cost of Goods for WooCommerce

  1. numanzahid (verified owner)

    Great Plugin. Really what I needed.

  2. benye

    Great plugin! Great support!

Add a review

Your email address will not be published. Required fields are marked *

7 thoughts on "Cost of Goods for WooCommerce"

  1. Hello,

    when am adding a product to order, the cost of goods does not filled, and the system did not calculate the profit. I must add the cost manually.

    http://www.preklady-textu.cz/crm/preview/cost-of-good-error.png

    Thanks

    1. Hi Hani,

      Would it be possible for me to log in to your site’s admin, if yes – my email is [email protected]

  2. Hello

    I am getting this error in my site http://prntscr.com/p8zxgf

    1. Hi Daniel,

      Thanks for reporting. I’m not getting the error on my test server, however, I will add some more safety checks to the code to make this error impossible. Will be releasing new plugin version later today.

    2. Hi again Daniel,

      We’ve just released new plugin version 1.3.5. Could you please update and let me know if the warning is gone?

  3. hi there

    cost of good is showing up in invoice. can you please help me solve this problem. I am using this plugin for invoices. https://wordpress.org/plugins/print-invoices-packing-slip-labels-for-woocommerce/

    1. Hi,

      Sorry for the late reply.

      I’ve just added the compatibility with “WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels” plugin in v1.3.4.

Leave a Reply

Your email address will not be published. Required fields are marked *

Changelog

1.3.6 - 02/10/2019

  • Dev - Bulk Edit Costs Tool - Manage stock - "Stock update method" option added.

1.3.5 - 23/09/2019

  • Dev - Reports - Additional safe checks added (to avoid possible PHP warnings on some servers).

1.3.4 - 06/09/2019

  • Dev - Tools - Bulk Edit Costs - Better styling (modified row).
  • Dev - "WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels" plugin compatibility.
  • WC tested up to: 3.7.

1.3.3 - 04/08/2019

  • Fix - Tools - Bulk Edit Costs - Search by product title - Now searching in any part of the title (not only from the beginning).
  • Dev - Tools - Bulk Edit Costs - Better styling (active row).
  • Dev - Tools - Bulk Edit Costs - Manage stock - Trailing zeros removed from stock input.

1.3.2 - 08/07/2019

  • Dev - Tools - Bulk Edit Costs - "Search by product title" input added.
  • Dev - Tools - Bulk Edit Costs - "Stock" column added. "Manage stock" option added.
  • Dev - Tools - Bulk Edit Costs - "Price" column added.
  • Dev - Tools - Bulk Edit Costs - Restyling and minor code refactoring.
  • Dev - Reports - "Stock > Cost of goods" report added.

1.3.1 - 26/06/2019

  • Dev - Admin Orders List Columns - "Order statuses" options added.

1.3.0 - 18/06/2019

  • Dev - "Cost of goods" report added (to "Reports > Orders").

1.2.0 - 17/05/2019

  • Dev - Tools - "Bulk Edit Costs" tool added.
  • Dev - Admin settings descriptions updated etc.
  • Dev - Minor code refactoring.
  • WC tested up to: 3.6.
  • Tested up to: 5.2.

1.1.1 - 19/12/2018

  • Fix - Core - add_cost_input_shop_order() - Getting order on AJAX correctly now.

1.1.0 - 06/12/2018

  • Fix - Comma decimal separator bug fixed.
  • Dev - Profit in percent added to profit HTML output.
  • Dev - Cost meta changed from _alg_cost to _alg_wc_cog_cost.
  • Dev - Forcing cost of goods to be always set excluding taxes.
  • Dev - Saving costs as order item meta.
  • Dev - Saving total cost and profit as order meta.
  • Dev - Import Costs Tool - Code optimized.
  • Dev - Major code refactoring.
  • Dev - Plugin URI updated.
  • Pro - Dev - "Recalculate orders cost and profit for all orders" option added.
  • Pro - Dev - "Recalculate orders cost and profit for orders with no costs" option added.

1.0.1 - 17/05/2018

  • Fix - Cost not saved for simple products - bug fixed.
  • Fix - Admin settings link fixed.

1.0.0 - 10/05/2018

  • Initial Release.

Frequently Asked Questions

Q. How could I import/export products costs from/to CSV file.

A. Exact steps depend on which tool you are using for importing/exporting the data:

  • If you are using the standard "WooCommerce products (CSV)" tool for importing products from CSV (as described here), then you just need to add to your CSV file column named:
    "Meta: _alg_wc_cog_cost"
  • If you are using some other tool for importing, then you need to set for the column to import to meta with _alg_wc_cog_cost key.
  • Similarly when exporting product costs, you would need to set to export product meta with _alg_wc_cog_cost key.

Q. After installing the plugin I still have nothing showing for profit etc.

A. Go to "WooCommerce > Settings > Cost of Goods", check "Recalculate orders cost and profit for all orders" option there and click "Save changes". This will calculate profit for all previous orders.

Free version

This plugin is a premium version of free "Cost of Goods for WooCommerce" plugin.

Developers

Product costs are stored in product's meta with _alg_wc_cog_cost key, so if you need to get it with PHP:

$cost = get_post_meta( $product_id, '_alg_wc_cog_cost', true ); 

Prices & Licenses

Single siteUnlimited sites
1 year[buy] $19.99 / year[buy] $29.99 / year
Lifetime[buy] $39.99[buy] $59.99

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.