Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 391.77 KB
MD5: 8e888f85fd1a664a6b3023730eb73646
SHA-1: ea7e84ea5fa87a597d4973408f94f763a997cefd
SHA-256: da2b79e9cca521ef2c1e48319d7b802f0f4c96f9fa7716fa75c4dc772c0833f4
Download zip 533.68 KB
MD5: 236faa8889d002b720f3b2033bad64d4
SHA-1: 817022797dd8ae80f9766ca83ca585f25dee2491
SHA-256: ad71d74571f45dcf7018ad7bf804a8dc614f537e2e91275bb172a7a2ea99629a

Release notes

Long in coming, this release of Commerce Core 1.x resolves many longstanding issues with a focus on performance, PHP 7.4 compatibility, and various quality of life improvements.

New features

The most notable new features in the release include:

  • The customer profile add form is now hidden on edit pages by default, preventing the creation of empty profiles on order save.
  • Updates to the way the continue button is processed in checkout to support client-side validation on checkout forms via third party modules.
  • There is no an E-mail address extra field on orders that can be enabled on rendered orders. Please review the notes after updating to understand how to enable this extra field. It will appear to be visible on the order field display settings page, but it will not actually appear until you resave that form. (We didn't want it to automatically appear on sites that aren't ready for it!)
  • You can now disable permitting multiple checkout completions per order in the order settings form. Toggling this may help resolve longstanding issues with off-site payment gateway notifications triggering the process twice asynchronously.
  • The line item quantity token will trim the decimal places off of integer quantity values, e.g. a quantity of "1.00" will now replace as "1".

Performance improvements

In addition to some minor optimizations, the following performance related improvements were included:

  • The number of products loaded on product display pages with multiple variations has been reduced.
  • New indexes were added to the order table to make order Views more performant on sites with a lot of orders.
  • Sites with large numbers of order and product revisions can delete unnecessary revisions using entity_revision_delete().

Sites with large numbers of orders or order revisions should review the update messages before applying updates. Two updates in particular may need to be skipped and processed asynchronously - adding a new field to the order revision table and adding four indexes to the order table.

Contributors (33)

rszrama, nullvariable, SpartyDan, joshmiller, khiminrm, GoZ, danmer, jsacksick, Anybody, sjmobley, danyg, TomTech, czigor, scotwith1t, ron_s, bojanz, shylajaphp, aryashreep, TynanFox, thePanz, lisastreeter, krystalcode, torgosPizza, mr.baileys, amateescu, Bird-Kid, mthomas, jonhattan, mglaman, getu-lar, recidive, axle_foley00, ram4nd

Changelog

Issues: 30 issues resolved.

Changes since 7.x-1.15:

Bug

  • #3200790 by rszrama: setter permissions "administer payment transactions" should be labeled "administer payments"
  • #3206011 by danyg: ensure orders with more than payment transaction are recognized as having payments
  • #3236711 by Anybody, rszrama: commerce_line_item_form_alter creates core warning as it loads "false" order
  • #2868778 by czigor, scotwith1t: Views relating to line items may not have a line item id
  • #3160005 by ron_s: JavaScript bug in customer profile code
  • #3103484 by Bird-Kid: ensure deleted line items result in order saves during cart refresh.
  • #3023467 by rszrama: ensure product reference autocomplete widgets have at least one valid SKU when required.
  • #2568791 by jonhattan, rszrama: translate the options for the "Related customer profile reference field" in the customer profile checkout pane settings form.
  • #2512632 by mglaman, getu-lar: add a commerce_payment_transaction theme hook implementation.
  • #3057706 by TynanFox, rszrama: fix Add to Cart form warnings regarding reset() for products with optional, empty attributes.

Feature

Task

Created by: rszrama
Created on: 30 Oct 2021 at 06:59 UTC
Last updated: 30 Oct 2021 at 06:59 UTC
Bug fixes
New features
Unsupported

Other releases