Skip to content

Commit

Permalink
Merge pull request #832 from Nosto/hotfix/7.3.1
Browse files Browse the repository at this point in the history
hotfix 7.3.1 - Some default categories have no path
  • Loading branch information
supercid authored Sep 25, 2023
2 parents 9ccc3c0 + e8ba4b0 commit 10d9137
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions Model/Category/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
<!--suppress XmlUnboundNsPrefix -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Nosto_Tagging" setup_version="7.3.0"/>
<module name="Nosto_Tagging" setup_version="7.3.1"/>
</config>

0 comments on commit 10d9137

Please sign in to comment.