Skip to content

Releases: remp2020/crm-products-module

3.6.0

28 Nov 09:13
Compare
Choose a tag to compare
  • BREAKING: Changed signature of PostalFeeConditionInterface::isReached method. Parameter $value is now optional. remp/respekt#320
    • If you implement PostalFeeConditionInterface, alter your implementation of isReached method to accept nullable $value.
  • 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 and CountryPostalFeesFormFactory to use new DatabaseTransaction 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

25 Oct 12:20
Compare
Choose a tag to compare
  • BREAKING: Added migration that changes type of vat column in products table from int to decimal(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 - use setPeriod('P2Y) in setup directive of productsCalculateAveragesCommand.
    • Option --segment_code allows to calculate averages only for users from provided segment.

3.4.0

20 Sep 12:59
Compare
Choose a tag to compare
  • BREAKING: Changed address parameter in EbookProviderInterface::getDownloadLinks() to nullable. remp/crm#3199
  • BREAKING: Changed PostalFeePaymentItem constructor - $vat variable is now of type float (previously int). 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 to number in AvgProductsPaymentWidget. remp/crm#3212
  • Added auto login after user registration in CheckoutFormFactory. remp/helpdesk#2995

3.3.1

12 Aug 09:13
Compare
Choose a tag to compare
  • Fixed use of internal seeder within open-source modules.

3.3.0

12 Jul 11:15
Compare
Choose a tag to compare
  • Added new payment resolver action for not settled payments. remp/crm#3109
  • Changed the payment formatting to price in AvgProductsPaymentWidget. 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

24 May 10:25
Compare
Choose a tag to compare
  • 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 from Crm\ScenariosModule\Events\ConditionCheckEventHandler. remp/crm#1409

3.0.0

22 Jan 20:55
Compare
Choose a tag to compare
  • BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
    • Use package remp/crm-rector:^3.0 to automatically fix these renames.
  • Fixed errors reported by PHPStan (level 3). remp/crm#2988

2.10.0

03 Oct 10:59
Compare
Choose a tag to compare
  • 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

2.9.0

24 Aug 15:30
Compare
Choose a tag to compare
  • Moved cart related code into trait for reusing in different part of application. remp/crm#2906
  • Added column sorting into product_tags table. remp/crm#2900
  • Added products.checkout_form.submit widget placeholder to shop checkout page. remp/novydenik#1100

2.7.0

28 Jun 09:04
Compare
Choose a tag to compare
  • 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 }} &times; {{ item.amount|format_currency('EUR') }} (VAT: {{ item.vat }}%)</li>
        {% endfor %}
      </ul>
  • Removed requirement to provide status in OrdersRepository::update() when updating order. remp/crm#2880