Releases: remp2020/crm-products-module
Releases · remp2020/crm-products-module
2.6.0
2.5.0
- BREAKING: Changed tracking from Universal Analytics to Google Analytics 4.
- Removed
ga()
calls and added data layer events. - Include Google Tag Manager in your page header code (
/admin/config-admin/
-> Shop page) to process data layer.
- Removed
- Fixed disabling of validation of billing address in checkout, previously billing address was validated even if it was not processed. remp/heldpdesk#1825
- Fixed deprecation warning when searching products by tags (search string was empty and
str_replace
complained). remp/crm#2831 - Fixed checkout of empty cart (eg. products were removed in other tab). remp/crm#2829
2.4.0
- Fixed saving empty tag or tag that already exists. remp/crm#2800
- IMPORTANT: Added transformation of
products.code
to URL friendly string before storing it into database. remp/crm#2628- All new products and all changes to
code
property will result in URL friendly string. It won't be transformed ifcode
is not changed while updating product. - IMPORTANT: In future we will enforce URL friendly UNIQUE
code
for all products. You'll have to manually redirect old URLs which do not fulfill these conditions to new URLs.// example route for redirection of old canonical URL to new canonical URL // (see all supported routes in ProductsModule.php) $router->prepend(new Route($shopHost . '/<action show>/1234/mäkčene-a-dĺžne-ľščťžýáíé', [ 'module' => 'Products', 'presenter' => 'Shop', 'action' => 'show', 'id' => 1234, 'code' => 'makcene-a-dlzne-lsctzyaie', ], Route::ONE_WAY));
- All new products and all changes to
- Changed
ProductBuilder
to useRepository::insert()
instead ofBuilder::store()
.
2.3.0
- BREAKING: Changed signature of
ProductSaveEvent
to accept and provideActiveRow $product
instead ofint $productId
. remp/crm#2761- If you emit this event, replace
$productId
with$product
as the first parameter of event constructor. - If you listen to this event, replace use of
$event->getProductId()
with$event->getProduct()
.
- If you emit this event, replace
- BREAKING: Changed signature of
OrderStatusChangeEvent
to accept and provideActiveRow $order
instead ofint $orderId
. remp/crm#2761- If you emit this event, replace
$orderId
with$order
as the first parameter of event constructor. - If you listen to this event, replace use of
$event->getOrderId()
with$event->getOrder()
.
- If you emit this event, replace
2.2.0
2.1.0
- BREAKING: Changed signature of
PostalFeeMessageConditionInterface
. remp/crm#2637- The method
getReachedMessage
now requires two parameters, cart$products
and postal fee condition$value
. - New method
getNotReachedMessage
which is intended to be displayed for users, who haven't reached the condition yet. Method accepts the same set of parameters.
- The method
- Fixed search products by
author
query condition. remp/crm#1872 - Added
SortShopProductsFormValidationDataProviderInterface
used inSortShopProductsFormFactory
to provide a way to define custom sorting (eg. alternate products of two categories). remp/crm#2464 - Changed the registration of widgets - module now uses improved
LazyWidgetManager
and all widgets extendBaseLazyWidget
class. remp/crm#2075 - Fixed mistyped
YesNoHelper
latte filter call inTagsAdmin/default.latte
file. Should beyesNo
instead ofYesNo
. remp/helpdesk#1536 - Fixed missing translations in the flash messages. remp/crm#2636
- Added ability to set form defaults for
ProductsFormFactory
. remp/crm#2648
1.2.3
2.0.0
- BREAKING: Changed PHP version requirement to 8.0. remp/crm#2519
- BREAKING: Changed Latte version from v2 to v3. remp/crm#2519
- Changed that user stats computed by
products:calculate_averages
command (product_payments
,product_payments_amount
) are now stored and loaded from/touser_stats
table, instead ofuser_meta
table. remp/crm#2207- Added new command option
--delete
, that deletes old stats data first from bothuser_stats
anduser_meta
(where data was stored previously) tables. - Added command option
--user_id
to compute values for single user.
- Added new command option
- Removed the rounding of CZK prices from the product's list. remp/crm#2076
- Refactored presenters to use
PreviousNextPaginator
instead ofVisualPaginator
. remp/crm#2512 - Fixed UX bug on submitting gift fields after login. And UX bug on billing address form with no delivery adress. remp/crm#1019
- Added screen for products search results. remp/crm#1872