Skip to content

Releases: wpcodefactory/cost-of-goods-for-woocommerce

v2.5.7

23 May 18:29
Compare
Choose a tag to compare
  • Dev - Compatibility - ATUM - New option: "Use function from ATUM plugin to copy the cost meta".
  • Dev - Tools - Product import costs tool - Create alg_wc_cog_copy_product_meta_args filter.
  • Dev - Tools - Product import costs tool - Create alg_wc_cog_can_copy_cost filter.
  • Dev - Tools - Product Import Costs Tool - Improve copy_product_meta() function.
  • Dev - Move compatibility code to an exclusive class.
  • Dev - Add "Bulk edit costs" and "Import costs" to plugin action links.
  • WC tested up to: 6.5.

v2.5.6

10 May 16:35
Compare
Choose a tag to compare
  • Dev - Remove package-lock.json.
  • Dev - Sync _alg_wc_cog_cost meta between different languages while using Polylang/WPML.

v2.5.5

18 Apr 23:59
Compare
Choose a tag to compare
  • Fix - Tools - Analytics - Products tab does not take quantity into consideration.
  • Fix - Tools - Analytics - Profit total from products tab is just calculating from totals.
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" columns to categories tab.
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" totals to the report chart on the categories tab.
  • Dev - Tools - Analytics - Add option to consider stock for cost and profit calculation on stock tab.
  • Dev - Tools - Analytics - Add profit to summary based on Product profit HTML template option, except on stock tab.
  • WC tested up to: 6.4.

v2.5.4

29 Mar 18:14
Compare
Choose a tag to compare
  • Dev - Advanced - Force costs update - Create option to auto fill empty order items costs on order meta update.
  • Fix - Recalculate orders cost and profit - Order ID is not passed when recalculation doesn't run via background processing.

v2.5.3

14 Mar 14:30
Compare
Choose a tag to compare
  • Fix - Orders - Admin new order email - Too few arguments to function Alg_WC_Cost_of_Goods_Orders::woocommerce_email_order_meta() when used with the "Woo Custom Emails" plugin.
  • Fix - Products - Add stock - Improve method used to update stock. From update_post_meta() to wc_update_product_stock().
  • Dev - Orders - Extra Costs: From Meta - Use dots to access serialized array metas.

v2.5.2

09 Mar 15:03
Compare
Choose a tag to compare
  • Fix - Unsupported operand types: float / string in PHP 8 if Product profit HTML template is set as %profit%.
  • WC tested up to: 6.3.

v2.5.1

10 Feb 22:49
Compare
Choose a tag to compare
  • Fix - Reports - Stock - Cost of goods - Products having costs and prices with decimal places after zero don't get displayed on the report.
  • Dev - Tools - Bulk edit costs - Add "by price" and "by profit" sections.
  • Dev - Tools - Bulk edit costs - By price - Add option to define the costs from a percentage of product prices.
  • Dev - Tools - Bulk edit costs - By profit - Add option to define the costs according to a profit percentage.
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" columns to products tab.
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" totals to products tab.
  • Tested up to: 5.9.

v2.5.0

20 Jan 01:05
Compare
Choose a tag to compare
  • WC tested up to: 6.1.

v2.4.9

06 Oct 22:06
Compare
Choose a tag to compare
  • Fix - Add cost of goods on orders placed by WooCommerce REST API.
  • Dev - Improve Alg_WC_Cost_of_Goods_Orders::update_order_items_costs() function args.
  • WC tested up to: 5.7.

v2.4.8

13 Sep 17:07
Compare
Choose a tag to compare
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" totals columns to revenue tab.
  • Dev - Tools - Analytics - Add option to add "Cost" and "Profit" totals columns to the report chart from the revenue tab.
  • Improve readme.