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/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) { 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 @@ - +