Repository navigation
2.11.18
🏆 Main features
Catalog: Tool to migrate product positions in categories
Elasticsuite uses a specific database table to contain manual product positions in categories.
The logic being that
- Elasticsuite's optimizers feature should relieve you from the cumbersome task of manually merchandise your products in all categories for the most part
- but then you still had the ability to assign manual positions there and there
Up to now, when migrating to Elasticsuite, if you really wanted to keep some legacy manual product positions in some categories, you had to manually migrate the data from the native Magento database table catalog_category_product to Elasticsuite's smile_virtualcategory_catalog_category_product_position with a custom data setup or executing SQL queries in your database.
This release introduces the interactive CLI command elasticsuite:category-position:migrate which allows you to migrate product positions either for specific categories (or all if you really feel like it, even though we don't recommend it).
/var/www/html $ php bin/magento elasticsuite:category-position:migrate --help
Description:
Migrate category product positions to ElasticSuite table.
Usage:
elasticsuite:category-position:migrate [options]
Options:
--category=CATEGORY Category ID to migrate (omit to process all categories).
--dry-run Dry-run: preview only (no database changes will be made).
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
As Elasticsuite only supports strictly positive positions and to be able to only pick some positions, the command will ask you how to deal with
- negative positions
- zero positions
- positive positions
/var/www/html $ php bin/magento elasticsuite:category-position:migrate --dry-run
Transfer negative positions to positive and contiguous ones (y/n) y
Transfer zero positions? (y/n) n
Transfer positive positions? (y/n) y
We encourage you to use the "dry run" mode and to test on a select few categories.
💎 Product recommender: option to add parent grouped product(s) to Upsell recommendations
Elasticsuite already provides an option to keep the native Magento behavior of automatically adding the parent bundle products to the manual Upsell recommendations of a product.
This release introduces the Stores > Configuration > Elasticsuite > Recommender > Upsell products > Systematically add parent grouped products to manually selected upsell products setting that will allow you to do that for the parent grouped product(s) of the product you want Upsell recommendations for.
📦 Features
- [Catalog] Feature #3464, migrate legacy product positions in categories to ElasticSuite by @vahonc in #3698
- 💎 [Explain] Behavioral Boosts score detail: extract metrics value and show on tooltip by @vahonc
- 💎 [Recommender] Upsell: add ability to automatically add parent grouped products as well as bundle by @rbayet
🐛 Fixes
- 💎 [Metapackages][GoogleAnalytics] Removing GA module from magento/CE metapackages by @rbayet
- 💎 [Explain] Fix null coalesce on translation string generating error by @vahonc
- [Swatch] Fix error when value is not an array fixes #3800 by @PierreGauthier in #3806
- [VirtualCategories] Fixes #3055 Router vs subcategories w/ same url_key by @rbayet in #3802
💻 Technical
- [Core] Extra unit tests/deprecation fixes by @rbayet in #3795 and #3796
- 💎 [Explain] Differenciate visually highlight and field raw value if multiple values by @rbayet
Full Changelog: 2.11.17.1...2.11.18