Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.1 - Fix product category tagging #353

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning(http://semver.org/).

## 4.2.1
- Fix a bug where the product categories would not be rendered correctly in the product tagging

## 4.2.0
- Update tagging with category listing support
- Add category export
Expand Down
2 changes: 1 addition & 1 deletion classes/models/NostoProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected function amendCategories(Product $product)
$category = new Category((int)$categoryId, NostoHelperContext::getLanguageId());
$nostoCategory = NostoCategory::loadData($category);
if (!empty($nostoCategory)) {
$this->addCategory($nostoCategory->getPath());
$this->addCategory($nostoCategory->getCategoryString());
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion nostotagging.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class NostoTagging extends Module
*
* @var string
*/
const PLUGIN_VERSION = '4.2.0';
const PLUGIN_VERSION = '4.2.1';

/**
* Internal name of the Nosto plug-in
Expand Down