From 3b8b5f14dbb5ea6eff687a997ee49ae2d0ca4ec3 Mon Sep 17 00:00:00 2001 From: Pieter Hoste Date: Mon, 4 Mar 2024 16:36:34 +0100 Subject: [PATCH 1/2] Fixes wrong config class member name. --- Model/Api/Builder/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Api/Builder/Order.php b/Model/Api/Builder/Order.php index ed871d1..4d0ef45 100755 --- a/Model/Api/Builder/Order.php +++ b/Model/Api/Builder/Order.php @@ -388,7 +388,7 @@ private function getProductDimemension(Item $item) $dimensionArray = []; $product = $item->getProduct(); - switch ($this->scopeConfig->getDimensionsMetric()) { + switch ($this->config->getDimensionsMetric()) { case DimensionsMetric::METRIC_MM: $k = 0.1; break; From 0a85f0c3a22f683eb4f0fa25fc4d9c3bacf22aae Mon Sep 17 00:00:00 2001 From: Marvin Besselsen Date: Tue, 5 Mar 2024 08:54:25 +0100 Subject: [PATCH 2/2] 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 bb5fb38..77cd732 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.16.0", + "version": "1.16.1", "keywords": [ "Paazl", "Magento 2", diff --git a/etc/config.xml b/etc/config.xml index 94ef55a..0ac17d8 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -8,7 +8,7 @@ - v1.16.0 + v1.16.1 0 0 0