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: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download commerce-8.x-2.15.tar.gztar.gz
616.52 KB
MD5: 0f4897c2e15e6a89ae807196721747d5
SHA-1: 4041d3fe12af8ea2f2feb31d818660bfaa513475
SHA-256: 4bb524a9f96ece31ed442e36f8b10a6f8b9cb3560348fd931e0b16eae9d6ecf8
Download commerce-8.x-2.15.zipzip
1.31 MB
MD5: 373dc254c2c50d9f61bbe013eb7e21b8
SHA-1: 935f40a5f9a36425109b4e3acb182e7a8d1d158f
SHA-256: 672d6d96da2e6e0dbe86417dfdfe68a14cdff5251a346ca2cd657d225fc055c2
Release notes
Summary
- Requires Drupal 8.7.0 or newer, PHP 7.0.8 or newer
- Requires the Token module (new dependency)
- Drupal 9 ready (no deprecations on Drupal 8.7 / 8.8)
- Compatible with Media Library
- New number pattern submodule (for generating sequential order/invoice numbers)
- Tax number field, with validation and verification for the European Union
Read the blog post for more information.
Contributors (35)
bojanz, czigor, jidrone, jwwj, mikelutz, eiriksm, amjad1233, iuana, mglaman, chrisrockwell, a.dmitriiev, Krzysztof Domański, mvonfrie, flocondetoile, agoradesign, yoeriotpr, quietone, NickWilde, Sarahphp1, myha, Neograph734, Niklan, andyg5000, smccabe, daveiano, archnode, xSDx, jsacksick, aleix, Jeff Veit, andrewbelcher, alexpott, lisastreeter, Morbus Iff, Bobík
Changelog
Issues: 62 issues resolved.
Changes since 8.x-2.14:
Bug
- #3091095 by bojanz: Tax rate resolvers don't have access to the tax type ID
- #3088905 by czigor: The "Calculated" price formatter must not show up for order item fields on the views ui
- #3091647 by bojanz: Number pattern's MonthlyTest/YearlyTest must not use strtotime
- #3035519 by czigor, jidrone, jwwj: Required fields on the registration form validated at checkout login
- #3090028 by mikelutz, bojanz: FunctionalJavascript tests are no longer run by DrupalCI
- #3074499 by czigor, bojanz: The single variation widget should not unset other deltas if present
- #3089135 by eiriksm: Invoking price splitter with an order without order items results in fatal error
- #3087512 by amjad1233: The Default checkout flow is still using a View for the sidebar summary
- #3088606 by bojanz: The EntityBundle views plugins are using the deprecated entityManager
- #3086820 by iuana, mglaman, bojanz: Order item Views module integration should verify purchasable entity type definition still exists
- #3079974 by chrisrockwell, bojanz: Offer configuration saved inconsistently when using "Save and add coupons" instead of "Save"
- #3034931 by czigor, bojanz, mvonfrie: Media library 'Browse media' broken
- #3036568 by eiriksm, yoeriotpr, quietone, NickWilde, bojanz: Cannot delete product variations that have no referenced product
- #2842579 by czigor, bojanz, Sarahphp1, myha: Payments should gracefully handle their gateway disappearing
- #3087921: There is no test coverage for payment's access control handlers
- #2978282 by bojanz: Payment information missing from order receipt when the payment gateway is off-site/manual
- #2926108 by bojanz, andyg5000: Payment's preprocess functions need to guard against deleted payment methods
- #3076336 by eiriksm, bojanz: If a variation references a deleted attribute, its not possible to edit it anymore
- #3087350 by bojanz: The product variation kernel test is missing coverage
- #3087170 by bojanz: ProductViewBuilder triggers deprecation errors
- #3083030 by bojanz: The Intra-Community EU VAT zone/rate is broken
- #3079003 by Morbus Iff: YAML for EFD customer profile is slightly out of date
- #3078756 by bojanz: TypeError: Argument 2 passed to Drupal\commerce\InlineFormManager::createInstance() must be of the type array, object given, called in /commerce/modules/order/src/Element/ProfileSelect.php on line 89
Feature
- #3080238 by bojanz: Allow sequential numbers to be reset from the UI
- #3080229 by bojanz: Update commerce_order to use commerce_number_pattern
- #3010632 by bojanz: "Save and add variations" does not save variation information entered during product creation
- #3085813 by a.dmitriiev: Consider moving from Kernel::TERMINATE event to DestructableInterface implementation
- #3000399 by Krzysztof Domański, bojanz: Add a CSS class to the "Go back" checkout link
- #3080677 by bojanz, chrisrockwell: Improve performance of 2.14 updates
- #2980488 by czigor, bojanz: "Product variation title" is not displayed if there is only a single (one) variation
- #3086504 by andrewbelcher: Allow the PraymentProcess pane to process an amount other than the balance
- #3086915 by bojanz: Add VIES verification to the EU tax number type
- #3083053 by bojanz: Introduce tax number type plugins
- #2730131 by bojanz, jsacksick, lisastreeter, agoradesign: Add a commerce_number_pattern submodule for sequential (order/invoice) number generation
- #2973913 by Bobík, bojanz: Support tokens in Payment instructions
- #2923854 by bojanz, mglaman: Start depending on Token
Task
- #3087070 by bojanz: Allow tax numbers to be re-verified
- #3092768 by bojanz: Deprecate and replace CommerceWebDriverTestBase::waitForAjaxToFinish()
- #3087069 by bojanz: Show the verification result in the TaxNumberDefaultFormatter
- #3092182 by bojanz: The number pattern listing should display the target entity type
- #3091760 by bojanz: Add typehints to final classes
- #3090107 by bojanz: Introduce an OrderKernelTestBase
- #3089327 by mikelutz, bojanz: Make the testsuite pass on PhpUnit 7
- #3089178 by mikelutz: Make the build pass against 8.8 without deprecation suppression
- #2952526 by mikelutz, bojanz: Make the build pass without deprecation warnings
- #3089027 by mikelutz: Replace the deprecated PHPUnit 4 setExpectedException() method usage
- #3089000 by mikelutz: Fix HEAD against Drupal 8.8
- #2927708 by czigor, bojanz: Remove the cardinality setting from attribute reference fields
- #2944281 by flocondetoile, agoradesign: PaymentGatewayBase::toMinorUnits() should be a public method
- #2890081 by Neograph734, eiriksm, Niklan: Add translation context for order/promotion/store.
- #3087849 by bojanz: Remove variation translation workarounds not needed in Drupal 8.7
- #2952929 by smccabe, bojanz, daveiano: Relax CurrencyForm validation to allow for cryptocurrencies
- #3078769 by bojanz: CommerceContentEntityStorage needs to pass additional constructor parameters to the parent
- #2874149 by archnode, xSDx, bojanz, jsacksick, aleix, Jeff Veit: Create a tax_number field type and use it on customer profiles
- #3086907 by bojanz: Add an "admin" view mode for profiles
- #3081539 by alexpott: Add base theme to tests/themes/commerce_test_theme/commerce_test_theme.info.yml
- #3082864 by bojanz: Remove unserialization workaround from PluginItem::setValue()
- #3080247 by bojanz: [Number pattern] Rework the pattern tokens, replace {number} with a real token
- #3029306 by bojanz, quietone: Remove use of deprecated ConfigurablePluginInterface
- #3078762 by bojanz: Remove usage of deprecated code
- #3056571 by bojanz: Require Drupal 8.7 and PHP 7.0