Releases: remp2020/crm-products-module
Releases · remp2020/crm-products-module
3.6.0
- BREAKING: Changed signature of
PostalFeeConditionInterface::isReached
method. Parameter$value
is now optional. remp/respekt#320- If you implement
PostalFeeConditionInterface
, alter your implementation ofisReached
method to accept nullable$value
.
- If you implement
- Updated Font Awesome to v6 in the default frontend layout. remp/crm#2936
- Change country postal fee condition - configuration value is now optional and used only when required by the implementation. remp/respekt#320
- Changed
OrdersRepository
andCountryPostalFeesFormFactory
to use newDatabaseTransaction
API. remp/crm#3330 - Removed brand name "Denník N" from translation strings. remp/novydenik#1316
- Added command
products:change_vat
to handle VAT rate change. remp/crm#3357
3.5.0
- BREAKING: Added migration that changes type of
vat
column inproducts
table fromint
todecimal(10,2)
. remp/crm#3277 - Fixed do not show eshop info and link in digital books library if there is no shop host url. remp/respekt#300
- Added new options to command
products:calculate_averages
. remp/crm#3193- Option
--period
sets period for which payments should be taken into account. Eg.P2Y
will use only payments in the last two years. Can be configured also in neon config - usesetPeriod('P2Y)
in setup directive ofproductsCalculateAveragesCommand
. - Option
--segment_code
allows to calculate averages only for users from provided segment.
- Option
3.4.0
- BREAKING: Changed address parameter in
EbookProviderInterface::getDownloadLinks()
to nullable. remp/crm#3199 - BREAKING: Changed
PostalFeePaymentItem
constructor -$vat
variable is now of typefloat
(previouslyint
). remp/crm#3277- Some ebook distribution centers (providers) do not require address (user's email is enough).
- Updated
EbookProvider
to catch exception and log it (will maintain previous behavior - no change for frontend user). - If your distribution center (provider) requires address, check for it in your
EbookProviderInterface
implementation and throw exception.
- Reverted formatting from
price
back tonumber
inAvgProductsPaymentWidget
. remp/crm#3212 - Added auto login after user registration in
CheckoutFormFactory
. remp/helpdesk#2995
3.3.1
3.3.0
- Added new payment resolver action for not settled payments. remp/crm#3109
- Changed the payment formatting to
price
inAvgProductsPaymentWidget
. remp/crm#3212 - Changed shop checkout form validation errors display. Added bounce and highlight to inputs with error and scroll to first input with error. remp/remp#3202
3.2.0
- Fixed possible XSS vulnerability and enabled proactively-before-disabled escaping of values. remp/crm#1794
- Changed product stats table to include sum row also to the head of the table. remp/novydenik#1244
- Rewritten existing hermes registrations/handlers to use new
TriggerManager
to register 'Trigger handlers' events. remp/crm#1409 - Added extracted implementation of
OrderScenarioConditionalModel
fromCrm\ScenariosModule\Events\ConditionCheckEventHandler
. remp/crm#1409
3.0.0
2.10.0
- Fixed the sorting of product tags and failing form in case of editing product with user's assignable tag. remp/crm#2900
- Fixed assigning tags to products in product form. remp/helpdesk#2068
- Added partial german translations for frontend part. remp/crm#2966
- Removed hardcoded string for password checkout form label. remp/crm#2967
- Changed the registration of events - module now uses
LazyEventEmitter
which supports lazy event listeners registration. remp/crm#2116 - Added Google Tag ecommerce events into cart and checkout page. remp/crm#2882
- For further information about events and Google Tag manager setup see: https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm.
2.9.0
2.7.0
- Added
PreNotificationEventHandler
which adds list of payment items to notification params so they can be listed in email. remp/crm#2812- Usage in Mailer template:
<ul> {% for item in payment_items %} <li>{{ item.name }} - {{ item.count }} × {{ item.amount|format_currency('EUR') }} (VAT: {{ item.vat }}%)</li> {% endfor %} </ul>
- Usage in Mailer template:
- Removed requirement to provide
status
inOrdersRepository::update()
when updating order. remp/crm#2880