Skip to content

Commit

Permalink
v2.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-sg-pacheco committed Apr 4, 2023
1 parent 82ec9e3 commit 1e21142
Show file tree
Hide file tree
Showing 9 changed files with 396 additions and 14 deletions.
22 changes: 20 additions & 2 deletions cost-of-goods-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Cost of Goods for WooCommerce
Plugin URI: https://wpfactory.com/item/cost-of-goods-for-woocommerce/
Description: Save product purchase costs (cost of goods) in WooCommerce. Beautifully.
Version: 2.9.3
Version: 2.9.4
Author: WPFactory
Author URI: https://wpfactory.com
Text Domain: cost-of-goods-for-woocommerce
Expand Down Expand Up @@ -57,20 +57,38 @@ function alg_wc_cog_is_plugin_active( $plugin ) {
*/
final class Alg_WC_Cost_of_Goods {

/**
* Pro.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Pro
*/
public $pro;

/**
* Plugin version.
*
* @var string
* @since 1.0.0
*/
public $version = '2.9.3';
public $version = '2.9.4';

/**
* @var Alg_WC_Cost_of_Goods The single instance of the class
* @since 1.0.0
*/
protected static $_instance = null;

/**
* Core.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Core
*/
public $core;

/**
* Main Alg_WC_Cost_of_Goods Instance
*
Expand Down
11 changes: 10 additions & 1 deletion includes/analytics/class-alg-wc-cog-analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Cost of Goods for WooCommerce - Analytics Class.
*
* @version 2.6.3
* @version 2.9.4
* @since 1.7.0
* @author WPFactory
*/
Expand All @@ -13,6 +13,15 @@

class Alg_WC_Cost_of_Goods_Analytics {

/**
* Orders.
*
* @since 2.9.4
*
* @var mixed Alg_WC_Cost_of_Goods_Analytics_Orders
*/
public $orders;

/**
* Constructor.
*
Expand Down
65 changes: 64 additions & 1 deletion includes/class-alg-wc-cog-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Cost of Goods for WooCommerce - Core Class.
*
* @version 2.8.2
* @version 2.9.4
* @since 1.0.0
* @author WPFactory
*/
Expand All @@ -15,6 +15,69 @@

class Alg_WC_Cost_of_Goods_Core {

/**
* Import tool
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Import_Tool
*/
public $import_tool;

/**
* Products.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Products
*/
public $products;

/**
* Add stock feature.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Products_Add_Stock
*/
public $products_add_stock;

/**
* Cost Archive.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Products_Cost_Archive
*/
public $products_cost_archive;

/**
* Costs input.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Cost_Inputs
*/
public $cost_inputs;

/**
* Orders.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Orders
*/
public $orders;

/**
* Bulk edit tool.
*
* @since 2.9.4
*
* @var Alg_WC_Cost_of_Goods_Bulk_Edit_Tool;
*/
public $bulk_edit_tool;

/**
* Constructor.
*
Expand Down
11 changes: 10 additions & 1 deletion includes/class-alg-wc-cog-cost-inputs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Cost of Goods for WooCommerce - Costs input.
*
* @version 2.6.5
* @version 2.9.4
* @since 2.6.4
* @author WPFactory
*/
Expand All @@ -15,6 +15,15 @@

class Alg_WC_Cost_of_Goods_Cost_Inputs {

/**
* Cost field template.
*
* @since 2.9.4
*
* @var string
*/
public $cost_field_template;

/**
*
* Alg_WC_Cost_of_Goods_Cost_Inputs constructor.
Expand Down
Loading

0 comments on commit 1e21142

Please sign in to comment.