Changeset 3277209
- Timestamp:
- 04/19/2025 01:03:18 PM (10 months ago)
- Location:
- wc-smart-cod
- Files:
-
- 10 edited
- 1 copied
-
tags/1.7.3 (copied) (copied from wc-smart-cod/trunk)
-
tags/1.7.3/README.txt (modified) (6 diffs)
-
tags/1.7.3/admin/class-wc-smart-cod-admin.php (modified) (2 diffs)
-
tags/1.7.3/includes/class-wc-smart-cod.php (modified) (2 diffs)
-
tags/1.7.3/public/class-wc-smart-cod-public.php (modified) (1 diff)
-
tags/1.7.3/wc-smart-cod.php (modified) (2 diffs)
-
trunk/README.txt (modified) (6 diffs)
-
trunk/admin/class-wc-smart-cod-admin.php (modified) (2 diffs)
-
trunk/includes/class-wc-smart-cod.php (modified) (2 diffs)
-
trunk/public/class-wc-smart-cod-public.php (modified) (1 diff)
-
trunk/wc-smart-cod.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-smart-cod/tags/1.7.3/README.txt
r3076684 r3277209 3 3 Tags: WooCommerce, Cash on Delivery, COD, COD Extra Fee, Smart COD, WooCommerce COD, Multiple Fees 4 4 Requires at least: 3.0.1 5 Tested up to: 6. 56 Stable tag: 1.7. 25 Tested up to: 6.8 6 Stable tag: 1.7.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 This plugin extends WooCommerce Cash on Delivery Gateway, providing the capability to add not one, but multiple different extra fees and restrictions based on customer's location, selected shipping method and many other factors. 15 16 It also supports many different restriction cases, covering every possible scenario you'll ever need. 14 **WooCommerce Smart COD** is a powerful plugin that extends the **WooCommerce Cash on Delivery (COD) Gateway**, enabling you to add **multiple extra fees and restrictions** based on a variety of customer conditions such as location, selected shipping method, and more. 15 16 Whether you’re managing a small shop or a large e-commerce business, this plugin helps you fine-tune your Cash on Delivery service to cater to a wide range of scenarios and requirements. 17 18 A common challenge faced by WooCommerce store owners is the inability to apply an extra fee for the Cash on Delivery (COD) payment method. This is a critical feature for many e-commerce shops, as charging an additional fee for COD is a standard practice. 19 This plugin not only addresses this issue but goes even further, offering a wide range of customizable restrictions and flexible extra fees. It’s the all-in-one solution for managing COD payments in your store. 17 20 18 21 = WooCommerce Smart COD PRO = … … 41 44 42 45 = Restrictions = 43 Restriction can be enable or disable. The switch between enable and disable is extremely easy. 44 The restrictions available are: 46 Each restriction can be easily toggled between Enable and Disable. When set to Enable, the restriction will allow the Cash on Delivery (COD) payment option only for the specified selections. On the other hand, when set to Disable, the restriction will disable the COD option for the specified selections, making it unavailable for them. 45 47 46 48 * Shipping Zone … … 60 62 61 63 = Extra Fees = 62 The extra fee can be variable and except the "standard" one, you can define fees per:64 The extra fee is flexible, and in addition to the "standard" fee, you can define fees based on the following criteria: 63 65 64 66 * Shipping Zone … … 72 74 You can enable tax for this fee. 73 75 74 = Details = 75 76 A usual scenario that troubles every WooCommerce Shop Admin is that he can't charge the Cash on Delivery payment method with an extra fee. 77 That's a very crucial requirement for the e-shops since almost everyone is charging extra this method. 78 79 This plugin except of covering the above scenario, it goes many steps further, providing a high variety of restrictions and variable extra fees. It's the only COD plugin you'll ever need. 80 81 = Developers = 82 The plugin extends the already existing WooCommerce Cash on Delivery Gateway, so there is no need to enable or disable gateways. 83 The code is clean, fast and OO. 84 There are three filters you can use: 85 * One to alter the extra fee ( wc_smart_cod_fee ). 86 * One to alter the current cod restriction ( wc_smart_cod_available ). 87 * One to change the cod fee title ( wc_smart_cod_fee_title ). 76 = Developer-Friendly = 77 The plugin integrates seamlessly with WooCommerce and uses a clean, **object-oriented** codebase. It also provides the following filters for easy customization: 78 79 - `wc_smart_cod_fee`: Alter the extra fee. 80 - `wc_smart_cod_available`: Alter the current COD restriction. 81 - `wc_smart_cod_fee_title`: Change the COD fee title. 82 83 Since the plugin extends the existing WooCommerce Cash on Delivery Gateway, there’s **no need to enable or disable gateways** manually. 88 84 89 85 == Installation == … … 100 96 101 97 == Changelog == 98 99 = 1.7.3 = 100 * Fix - Deprecated creation of dynamic properties 102 101 103 102 = 1.6 = -
wc-smart-cod/tags/1.7.3/admin/class-wc-smart-cod-admin.php
r2985702 r3277209 48 48 * @param string $version The version of this plugin. 49 49 */ 50 51 public $new_wc = false; 52 50 53 public function __construct() { 51 54 … … 53 56 $this->plugin_name = 'wc-smart-cod'; 54 57 $this->version = SMART_COD_VER; 55 $this->new_wc = false;56 58 57 59 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); -
wc-smart-cod/tags/1.7.3/includes/class-wc-smart-cod.php
r3076684 r3277209 80 80 $this->plugin_name = 'wc-smart-cod'; 81 81 82 define( 'SMART_COD_VER', '1.7. 2' );82 define( 'SMART_COD_VER', '1.7.3' ); 83 83 84 84 self::$version = SMART_COD_VER; … … 312 312 313 313 public function dismiss_wsc_notice() { 314 set_transient( 'wsc-notice-dismissed', true, 2592000 );314 set_transient( 'wsc-notice-dismissed', true, 5184000 ); 315 315 die(); 316 316 } -
wc-smart-cod/tags/1.7.3/public/class-wc-smart-cod-public.php
r2985702 r3277209 52 52 private $reason; 53 53 54 public $cod_settings = array(); 55 public $restriction_settings = array(); 56 public $fee_settings = array(); 57 58 private $cart_products = false; 59 private $settings_analyzed = false; 60 private $nocharge_amount_mode = false; 61 54 62 public function __construct( $plugin_name ) { 55 63 56 64 $this->plugin_name = $plugin_name; 57 65 $this->version = SMART_COD_VER; 58 $this->cod_settings = array();59 66 60 67 $this->cart_products = -
wc-smart-cod/tags/1.7.3/wc-smart-cod.php
r3076684 r3277209 17 17 * Plugin URI: https://wordpress.org/plugins/wc-smart-cod/ 18 18 * Description: A powerful plugin that extends WooCommerce COD (Cash on Delivery) Gateway, supporting multiple extra fees and a multiple factor gateway restriction. 19 * Version: 1.7. 219 * Version: 1.7.3 20 20 * Author: woosmartcod.com 21 21 * Author URI: https://woosmartcod.com … … 25 25 * Domain Path: /languages 26 26 * WC requires at least: 2.7 27 * WC tested up to: 8.8.227 * WC tested up to: 9.8.1 28 28 */ 29 29 -
wc-smart-cod/trunk/README.txt
r3076684 r3277209 3 3 Tags: WooCommerce, Cash on Delivery, COD, COD Extra Fee, Smart COD, WooCommerce COD, Multiple Fees 4 4 Requires at least: 3.0.1 5 Tested up to: 6. 56 Stable tag: 1.7. 25 Tested up to: 6.8 6 Stable tag: 1.7.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 This plugin extends WooCommerce Cash on Delivery Gateway, providing the capability to add not one, but multiple different extra fees and restrictions based on customer's location, selected shipping method and many other factors. 15 16 It also supports many different restriction cases, covering every possible scenario you'll ever need. 14 **WooCommerce Smart COD** is a powerful plugin that extends the **WooCommerce Cash on Delivery (COD) Gateway**, enabling you to add **multiple extra fees and restrictions** based on a variety of customer conditions such as location, selected shipping method, and more. 15 16 Whether you’re managing a small shop or a large e-commerce business, this plugin helps you fine-tune your Cash on Delivery service to cater to a wide range of scenarios and requirements. 17 18 A common challenge faced by WooCommerce store owners is the inability to apply an extra fee for the Cash on Delivery (COD) payment method. This is a critical feature for many e-commerce shops, as charging an additional fee for COD is a standard practice. 19 This plugin not only addresses this issue but goes even further, offering a wide range of customizable restrictions and flexible extra fees. It’s the all-in-one solution for managing COD payments in your store. 17 20 18 21 = WooCommerce Smart COD PRO = … … 41 44 42 45 = Restrictions = 43 Restriction can be enable or disable. The switch between enable and disable is extremely easy. 44 The restrictions available are: 46 Each restriction can be easily toggled between Enable and Disable. When set to Enable, the restriction will allow the Cash on Delivery (COD) payment option only for the specified selections. On the other hand, when set to Disable, the restriction will disable the COD option for the specified selections, making it unavailable for them. 45 47 46 48 * Shipping Zone … … 60 62 61 63 = Extra Fees = 62 The extra fee can be variable and except the "standard" one, you can define fees per:64 The extra fee is flexible, and in addition to the "standard" fee, you can define fees based on the following criteria: 63 65 64 66 * Shipping Zone … … 72 74 You can enable tax for this fee. 73 75 74 = Details = 75 76 A usual scenario that troubles every WooCommerce Shop Admin is that he can't charge the Cash on Delivery payment method with an extra fee. 77 That's a very crucial requirement for the e-shops since almost everyone is charging extra this method. 78 79 This plugin except of covering the above scenario, it goes many steps further, providing a high variety of restrictions and variable extra fees. It's the only COD plugin you'll ever need. 80 81 = Developers = 82 The plugin extends the already existing WooCommerce Cash on Delivery Gateway, so there is no need to enable or disable gateways. 83 The code is clean, fast and OO. 84 There are three filters you can use: 85 * One to alter the extra fee ( wc_smart_cod_fee ). 86 * One to alter the current cod restriction ( wc_smart_cod_available ). 87 * One to change the cod fee title ( wc_smart_cod_fee_title ). 76 = Developer-Friendly = 77 The plugin integrates seamlessly with WooCommerce and uses a clean, **object-oriented** codebase. It also provides the following filters for easy customization: 78 79 - `wc_smart_cod_fee`: Alter the extra fee. 80 - `wc_smart_cod_available`: Alter the current COD restriction. 81 - `wc_smart_cod_fee_title`: Change the COD fee title. 82 83 Since the plugin extends the existing WooCommerce Cash on Delivery Gateway, there’s **no need to enable or disable gateways** manually. 88 84 89 85 == Installation == … … 100 96 101 97 == Changelog == 98 99 = 1.7.3 = 100 * Fix - Deprecated creation of dynamic properties 102 101 103 102 = 1.6 = -
wc-smart-cod/trunk/admin/class-wc-smart-cod-admin.php
r2985702 r3277209 48 48 * @param string $version The version of this plugin. 49 49 */ 50 51 public $new_wc = false; 52 50 53 public function __construct() { 51 54 … … 53 56 $this->plugin_name = 'wc-smart-cod'; 54 57 $this->version = SMART_COD_VER; 55 $this->new_wc = false;56 58 57 59 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); -
wc-smart-cod/trunk/includes/class-wc-smart-cod.php
r3076684 r3277209 80 80 $this->plugin_name = 'wc-smart-cod'; 81 81 82 define( 'SMART_COD_VER', '1.7. 2' );82 define( 'SMART_COD_VER', '1.7.3' ); 83 83 84 84 self::$version = SMART_COD_VER; … … 312 312 313 313 public function dismiss_wsc_notice() { 314 set_transient( 'wsc-notice-dismissed', true, 2592000 );314 set_transient( 'wsc-notice-dismissed', true, 5184000 ); 315 315 die(); 316 316 } -
wc-smart-cod/trunk/public/class-wc-smart-cod-public.php
r2985702 r3277209 52 52 private $reason; 53 53 54 public $cod_settings = array(); 55 public $restriction_settings = array(); 56 public $fee_settings = array(); 57 58 private $cart_products = false; 59 private $settings_analyzed = false; 60 private $nocharge_amount_mode = false; 61 54 62 public function __construct( $plugin_name ) { 55 63 56 64 $this->plugin_name = $plugin_name; 57 65 $this->version = SMART_COD_VER; 58 $this->cod_settings = array();59 66 60 67 $this->cart_products = -
wc-smart-cod/trunk/wc-smart-cod.php
r3076684 r3277209 17 17 * Plugin URI: https://wordpress.org/plugins/wc-smart-cod/ 18 18 * Description: A powerful plugin that extends WooCommerce COD (Cash on Delivery) Gateway, supporting multiple extra fees and a multiple factor gateway restriction. 19 * Version: 1.7. 219 * Version: 1.7.3 20 20 * Author: woosmartcod.com 21 21 * Author URI: https://woosmartcod.com … … 25 25 * Domain Path: /languages 26 26 * WC requires at least: 2.7 27 * WC tested up to: 8.8.227 * WC tested up to: 9.8.1 28 28 */ 29 29
Note: See TracChangeset
for help on using the changeset viewer.