Appearance
<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /changelog/Changelog.4.31.md for this page in Markdown format</div>
Version 4
version 4.31
version 4.31.0x
- [4.31.3] cd-debt: Re-release of 4.31.2 with compiled assets
- [4.31.2] cd-fix: Registered touch event for view metrics (ios devices would not trigger the click event)
- [4.31.1] cd-fix: A fix was implemented in the slides admin list page where if there weren't any slides, the page would throw an error due to view metrics wrong parameter type being passed
- [4.31.1] ui-fix: Renamed numSlides lang values from "Number of slides" to "Slide Limit"
- [4.31.0] cd-feet: Implemented view metrics feature (impressions & hits tracking)
- [4.31.0] cd-fix: advisable_ai/settings fix key used for enable and update key to eshop.admin.settings.advisable_ai.title.enable
- [4.31.0] cd-feet: In google catalog added custom label with the name of the line the product belongs
Notes
- [4.31.0] In order for view metrics to function, a
data-ovmattribute must be added to each trackable element. Thedata-ovmattribute can ge generated from thetheme_helper'sobservableViewMetrichelper function. TheobservableViewMetricfunction takes in atypeandidparameter. Thetypeparameter can be eitherproductorcategory. Theidparameter is the id of the product or category. TheobservableViewMetricfunction will return a string that can be used as thedata-ovmattribute value. For example,data-ovm="<?= observableViewMetric('product', $product['product_id']) ?>"will generate adata-ovmattribute value that will track the product's view metrics. - [4.31.0] To enable view metrics frontend observer, import
assets/main/js/es6/components/observable-view-metrics.jsinassets/main/js/es6/config.js. Checkassets/main/js/es6/config.example.jsfor example. - [4.31.0] Must run
php cli.php patch/viewMetricsto setup view metrics feature prerequisites (orphp cli.php patch/viewMetrics/1to just reset view metrics settings, orphp cli.php patch/viewMetrics/2to only create the view metrics table, orphp cli.php patch/viewMetrics/3to do both - alias ofphp cli.php patch/viewMetrics) - [4.31.0] Needs
composer i - [4.31.0] Needs
npm ci && npm run production && npm run admin-production - [4.31.0] Check for overrides in
Product_model::getFeedProductsandGoogle_catalog::parseItem