Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: ^9.2 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Download commerce-8.x-2.31.tar.gztar.gz
779.92 KB
MD5: fc715bb77d20a8744d91addc01455be5
SHA-1: 0adcb88a29e936736b013387a559d91b9b1c7b41
SHA-256: 8531f7ca2e18e46453724b90c723aa745bcb43d241c539977885e7656705f3c4
Download commerce-8.x-2.31.zipzip
1.56 MB
MD5: b12202a7961ef51153057bdaac1e7e90
SHA-1: 75d59b4007f07ce7dbfc31f88c1003e30a20584e
SHA-256: 016952ff1935671ac015a8759f3a05ed210a1d429484c4b0c4a9c146cf891fbc
Release notes
Contributors (47)
_shY, abramm, anoopsingh92, jsacksick, rinasek, plopesc, MrDaleSmith, jefuri, NicolasGraph, immaculatexavier, Valdispert, cslevy, rkoller, kimberleycgm, Londova, Daniel Korte, lisastreeter, xamount, mrweiner, finne, John Pitcairn, tauanygb, pcambra, Aerzas, au_dave, skyredwang, MarcoL, trickfun, mrinalini9, dbouman, TomTech, R0djer, rclemings, Damien LAGUERRE, nno, joachim, liquidcms, eheller, mjmorley, Neograph734, mglaman, Berdir, jungKunwar, agoradesign, super_romeo, Evaldas Užkuras, miketsai
Changelog
Issues: 42 issues resolved.
Changes since 8.x-2.30:
Bug
- #3285023 by _shY, abramm: Remove the "commerce_product_variation_view" cache tag from ProductVariation::getCacheTagsToInvalidate().
- #3302827 by anoopsingh92: Split up array content over multiple lines when needed.
- #3294242 by plopesc, jsacksick: TaxTypeForm assumes that custom plugin is always present
- #3302354 by MrDaleSmith: Call to a member function isPositive() on null if the order balance is null.
- #3301586 by jefuri: getTaxTypes performance issue'
- #3302579 by jsacksick, NicolasGraph: Display inclusive setting of the BuyXGetY offer is buggy.
- #3278222 by jsacksick, NicolasGraph: Buy X get Y auto add does not work correctly.
- #3301601 by immaculatexavier, jefuri: buildCustomerProfile with dummy order does not reuse profiles.
- #3294573 by Valdispert: Commerce Products View Causes Error.
- #3300455 by jsacksick, cslevy: Ensure the "require_coupon" setting is on whenever a promotion references a coupon.
- #3300216 by jsacksick, rkoller: Fatal error on a Drupal 10 install.
- #3300172 by jsacksick, rkoller: Error on installation with Twig_Extension not found in PriceTwigExtension.php.
- #3281185 by jsacksick, kimberleycgm: Payment method profile overwrites order billing profile.
- #3299220 by jsacksick, Londova: Class "Twig_Extension" not found in include().
- #3294489 by jsacksick, xamount: Generation coupons ignores per customer limit.
- #3254971 by mrweiner, finne, John Pitcairn: PluginSelectWidget not allowing '- None- '.
- #3291776 by mrinalini9, dbouman: Coupon redemption form missing dependency on core/once.
- #3279941 by Damien LAGUERRE: Mail sent during the payment stage generates a rendering error.
- #2911501 by jsacksick, nno, joachim, Daniel Korte: can't see user account orders page with 'view any order', but tab is visible.
- #3282219: Access checking must be explicitly specified on...
- #3128719 by jsacksick, liquidcms: Payment method billing profile is not copied to the order for admin payments.
- #3257480 by eheller, jsacksick: Properly support removing multiple coupons from the promotion order processor.
- #3280104 by mjmorley: New to completed states should trigger a receive transition.
- Revert "Issue #3278227 by jsacksick: Total per customer at the coupon level is ignored for unknown customers."
- #3120117 by Neograph734, jsacksick: ProductVariationFieldRenderer's AJAXifiying breaks lazy_built fields (such as flags).
- #3277852 by Aerzas: ProductDefaultVariationEvent::setDefaultVariation should allow NULL.
- #3211910 by jsacksick, Berdir, jungKunwar: Mismatched entity and/or field definitions.
- #3276928 by jsacksick: Ensure applying promotions on free orders doesn't crash.
- #3274438 by Evaldas Užkuras, miketsai: Trying to access array offset on value of type null in Drupal\commerce_cart\Form\AddToCartForm.
Feature
- #3302853 by jsacksick, rinasek: Replace the PaymentListBuilder by a view.
- #3047103 followup: Add the missing checkout flow plugin.
- #2819041 by Daniel Korte, lisastreeter, jsacksick, Londova: Quantity limit in Shopping Cart.
- #3131962 by Aerzas, au_dave, skyredwang: Make Coupons field form display configurable.
- #3204961 by jsacksick, MarcoL, trickfun: Italian postal codes without VAT.
- Revert "Issue #3088598 by mglaman, jsacksick: Add an availability checker which checks if the purchasable entity is accessible or not."
- #3192519 by skyredwang, agoradesign, jsacksick, mglaman, super_romeo: Update product URL to include the selected variation ID.
- #3274002 by Aerzas: Update payment gateways filtering on add payment form.
Task
- #3293819 by tauanygb, pcambra: Fix example on OrderEvents > ORDER_ASSIGN constant.
- #3291590 by TomTech, jsacksick, R0djer: Prevent double-submit of cart pages.
- #3285107 by jsacksick: Set a higher priority to the availability order processor.
- Revert "Issue #3282333 by rclemings: Modify help text on OrderTypeForm.php."
- #3274829 by jsacksick: Allow availability results to return a code.