From 720a3948f85b0ca1eb8f99e3435902de9bc2ee38 Mon Sep 17 00:00:00 2001 From: Stijn Bernards Date: Mon, 3 May 2021 17:02:45 +0200 Subject: [PATCH 1/3] Update Infotext.php Paazl widget config second argument is the storeview not the scope type --- Plugin/Carrier/Infotext.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugin/Carrier/Infotext.php b/Plugin/Carrier/Infotext.php index abb1764..7709509 100755 --- a/Plugin/Carrier/Infotext.php +++ b/Plugin/Carrier/Infotext.php @@ -55,8 +55,7 @@ public function afterModelToDataObject(ShippingMethodConverter $subject, Shippin { $carrierCode = $result->getCarrierCode(); $infotext = $this->scopeConfig->getValue( - 'carriers/' . $carrierCode . '/infotext', - \Magento\Store\Model\ScopeInterface::SCOPE_STORE + 'carriers/' . $carrierCode . '/infotext' ); $extensibleAttribute = ($result->getExtensionAttributes()) ? $result->getExtensionAttributes() From a933a67b2173f3fe31e51b6f529452a31a2d116d Mon Sep 17 00:00:00 2001 From: Eric Claeren Date: Mon, 17 May 2021 13:26:20 +0200 Subject: [PATCH 2/3] #60: Use full qualified return path for interface --- Api/Webapi/CheckShippingOptionInterface.php | 7 ++----- Api/Webapi/GuestCheckShippingOptionInterface.php | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Api/Webapi/CheckShippingOptionInterface.php b/Api/Webapi/CheckShippingOptionInterface.php index 0669459..91c2f5b 100644 --- a/Api/Webapi/CheckShippingOptionInterface.php +++ b/Api/Webapi/CheckShippingOptionInterface.php @@ -7,9 +7,6 @@ namespace Paazl\CheckoutWidget\Api\Webapi; -use Magento\Framework\Exception\NoSuchEntityException; -use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface; - /** * Interface CheckShippingOptionInterface */ @@ -17,8 +14,8 @@ interface CheckShippingOptionInterface { /** * @param string $cartId - * @return CheckQuoteResultInterface - * @throws NoSuchEntityException + * @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface + * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function get($cartId); } diff --git a/Api/Webapi/GuestCheckShippingOptionInterface.php b/Api/Webapi/GuestCheckShippingOptionInterface.php index 47c923d..79456cf 100644 --- a/Api/Webapi/GuestCheckShippingOptionInterface.php +++ b/Api/Webapi/GuestCheckShippingOptionInterface.php @@ -7,9 +7,6 @@ namespace Paazl\CheckoutWidget\Api\Webapi; -use Magento\Framework\Exception\NoSuchEntityException; -use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface; - /** * Interface CheckShippingOptionInterface */ @@ -17,8 +14,8 @@ interface GuestCheckShippingOptionInterface { /** * @param int $cartId - * @return CheckQuoteResultInterface - * @throws NoSuchEntityException + * @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface + * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function get($cartId); } From 32e007ac6f631ec192de1c224e9118e08fcb0ec1 Mon Sep 17 00:00:00 2001 From: Marvin-Magmodules Date: Fri, 4 Jun 2021 16:12:48 +0200 Subject: [PATCH 3/3] Version bump --- composer.json | 2 +- etc/config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7b30f9a..6f5f7af 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "paazl/magento2-checkout-widget", "description": "Paazl checkoutWidget for Magento 2", "type": "magento2-module", - "version": "1.6.0", + "version": "1.6.1", "keywords": [ "Paazl", "Magento 2", diff --git a/etc/config.xml b/etc/config.xml index b80229b..03568e1 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -8,7 +8,7 @@ - v1.6.0 + v1.6.1 0 0 0