From e779ef330985bbe8ae28647f8de0850b2ae78b03 Mon Sep 17 00:00:00 2001 From: Cid Lopes Date: Wed, 30 Aug 2023 12:13:56 +0300 Subject: [PATCH 1/2] Some default categories have no path --- Model/Category/Builder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/Category/Builder.php b/Model/Category/Builder.php index 13b34730d..f8abe18a9 100644 --- a/Model/Category/Builder.php +++ b/Model/Category/Builder.php @@ -92,8 +92,8 @@ public function build(Category $category, Store $store) $nostoCategory->setParentId($category->getParentId()); $nostoCategory->setTitle($this->getCategoryNameById($category->getId(), $store->getId())); $path = $this->nostoCategoryService->getCategory($category, $store); - $nostoCategory->setPath($path); - $nostoCategory->setCategoryString($path); + $nostoCategory->setPath($path ?? ''); + $nostoCategory->setCategoryString($path ?? ''); $nostoCategory->setUrl($category->getUrl()); $nostoCategory->setAvailable($category->getIsActive() ?? false); } catch (Exception $e) { From e8ba4b01bc0d47f5bb5f6f732e1c801dbfd8918a Mon Sep 17 00:00:00 2001 From: Cid Lopes Date: Mon, 25 Sep 2023 14:20:07 +0300 Subject: [PATCH 2/2] Bump version && update changelog --- CHANGELOG.md | 4 ++++ composer.json | 2 +- etc/module.xml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aab3cefc..cebb83a47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. +### 7.3.1 +* Fix issue with category export where default categories were not exported correctly + ### 7.3.0 * Update tagging with category listing support * Add category export + ### 7.2.6 * Convert price in cart tagging item to avoid rounding errors diff --git a/composer.json b/composer.json index d7b05b19c..3ef160142 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "nosto/module-nostotagging", "description": "Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.", "type": "magento2-module", - "version": "7.3.0", + "version": "7.3.1", "require-dev": { "phpmd/phpmd": "^2.5", "sebastian/phpcpd": "*", diff --git a/etc/module.xml b/etc/module.xml index 44ed5f640..c38c7a55c 100755 --- a/etc/module.xml +++ b/etc/module.xml @@ -37,5 +37,5 @@ - +