diff --git a/PluginInstallation/3.0.5/packlink-pro-shipping.zip b/PluginInstallation/3.0.5/packlink-pro-shipping.zip new file mode 100644 index 0000000..dfe1d7f Binary files /dev/null and b/PluginInstallation/3.0.5/packlink-pro-shipping.zip differ diff --git a/PluginInstallation/CHANGELOG.md b/PluginInstallation/CHANGELOG.md index 0217267..cf8525a 100644 --- a/PluginInstallation/CHANGELOG.md +++ b/PluginInstallation/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [v3.0.5](https://github.com/logeecom/pl_woocommerce_module/compare/v3.0.4...v3.0.5) - 2020-10-21 +### Changed +- Update to the latest Core 3.0.4. +- Add sending "disable_carriers" analytics. + ## [v3.0.4](https://github.com/logeecom/pl_woocommerce_module/compare/v3.0.3...v3.0.4) - 2020-09-28 ### Changed - Check whether Packlink object is defined before initializing checkout script. diff --git a/src/Components/ShippingMethod/class-shop-shipping-method-service.php b/src/Components/ShippingMethod/class-shop-shipping-method-service.php index 969d84d..8259db2 100755 --- a/src/Components/ShippingMethod/class-shop-shipping-method-service.php +++ b/src/Components/ShippingMethod/class-shop-shipping-method-service.php @@ -15,6 +15,7 @@ use Logeecom\Infrastructure\ORM\RepositoryRegistry; use Logeecom\Infrastructure\ServiceRegister; use Logeecom\Infrastructure\Singleton; +use Packlink\BusinessLogic\Controllers\AnalyticsController; use Packlink\BusinessLogic\ShippingMethod\Interfaces\ShopShippingMethodService; use Packlink\BusinessLogic\ShippingMethod\Models\ShippingMethod; use Packlink\BusinessLogic\ShippingMethod\Models\ShippingPricePolicy; @@ -132,6 +133,7 @@ public function getCarrierLogoFilePath( $carrier_name ) { */ public function disableShopServices() { Shipping_Method_Helper::disable_shop_shipping_methods(); + AnalyticsController::sendOtherServicesDisabledEvent(); return true; } diff --git a/src/composer.json b/src/composer.json index 2c65c1f..cfe3c26 100644 --- a/src/composer.json +++ b/src/composer.json @@ -1,7 +1,7 @@ { "name": "packlink/woocommerce", "description": "Packlink WooCommerce Integration", - "version": "3.0.4", + "version": "3.0.5", "type": "library", "repositories": [ { @@ -12,7 +12,7 @@ ], "require": { "php": ">=5.5", - "packlink/integration-core": "3.0.1", + "packlink/integration-core": "3.0.4", "ext-json": "*", "ext-curl": "*", "ext-zip": "*", diff --git a/src/composer.lock b/src/composer.lock index 979c92e..14a5fa4 100644 --- a/src/composer.lock +++ b/src/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8e5855c15ecb3c90c610fcc940e63f7c", + "content-hash": "095942ee89e4da983905cb6bcb138a8a", "packages": [ { "name": "iio/libmergepdf", @@ -58,16 +58,16 @@ }, { "name": "packlink/integration-core", - "version": "3.0.1", + "version": "3.0.4", "source": { "type": "git", "url": "git@github.com:packlink-dev/ecommerce_module_core.git", - "reference": "f900eff47479312a619336b0df935937d57ad3f5" + "reference": "c30d35c4e22bf3cade442de986b4410b31e4e937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/packlink-dev/ecommerce_module_core/zipball/f900eff47479312a619336b0df935937d57ad3f5", - "reference": "f900eff47479312a619336b0df935937d57ad3f5", + "url": "https://api.github.com/repos/packlink-dev/ecommerce_module_core/zipball/c30d35c4e22bf3cade442de986b4410b31e4e937", + "reference": "c30d35c4e22bf3cade442de986b4410b31e4e937", "shasum": "" }, "require": { @@ -104,7 +104,7 @@ "proprietary" ], "description": "Packlink integrations core library", - "time": "2020-09-01T11:17:12+00:00" + "time": "2020-10-12T14:30:41+00:00" }, { "name": "setasign/fpdf", diff --git a/src/packlink-pro-shipping.php b/src/packlink-pro-shipping.php index 261b072..eef7182 100644 --- a/src/packlink-pro-shipping.php +++ b/src/packlink-pro-shipping.php @@ -9,7 +9,7 @@ * Plugin Name: Packlink PRO Shipping * Plugin URI: https://en.wordpress.org/plugins/packlink-pro-shipping/ * Description: Save up to 70% on your shipping costs. No fixed fees, no minimum shipping volume required. Manage all your shipments in a single platform. - * Version: 3.0.4 + * Version: 3.0.5 * Author: Packlink Shipping S.L. * Author URI: https://pro.packlink.es/ * License: GPL diff --git a/src/readme.txt b/src/readme.txt index ca76e10..e908b49 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -4,7 +4,7 @@ Tags: woocommerce, shipment, shipping, packlink Requires at least: 4.7 Requires PHP: 5.5 Tested up to: 5.5 -Stable tag: 3.0.4 +Stable tag: 3.0.5 License: LICENSE-2.0 License URI: http://www.apache.org/licenses/LICENSE-2.0 @@ -68,6 +68,12 @@ Click