Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Summary
- Added cart expiration (delete abandoned carts after a configured number of days)
- Promotion start/end dates now have a time component as well
- Reworked timezone handling for promotions and taxes
- Reworked Views integration for base fields, fixing over a dozen issues
- #3002939: Convert order/product multivalue configurable fields back into base fields improves both JSON API and GraphQL usage, since stores/variations/order_items fields are now available by default without selecting a bundle. It also eliminates a class of bugs where on some installs these fields weren't created properly.
Warning: Because of #3002939: Convert order/product multivalue configurable fields back into base fields, any exported product and order types will need to be updated to remove the exported stores/variations/order_items fields (which are now base fields), as well as dependencies on them from the exported form/view displays. We have tagged new releases of commerce_demo and commerce_recurring for this reason. See #3099622: Update for Commerce 2.16 for an example fix.
Contributors (31)
mirom, bojanz, johnjw59, czigor, dion-jensen, manuel.adan, firfin, lisastreeter, andyg5000, rovo, Gode.Agarunov, AndyD328, joachim, flocondetoile, mglaman, tuutti, rthornton, jacobbell84, carstenG, drugan, mradcliffe, Neograph734, quietone, Wim Leers, nlz, chrisrockwell, Hubbs, petar.gnjidic, tbradbury, shabana.navas, jsacksick
Changelog
Issues: 40 issues resolved.
Changes since 8.x-2.15:
Bug
- #2945939 by czigor, bojanz, dion-jensen, manuel.adan, firfin: Remove the default_store config key, replace it with isDefault() flag
- #3099624 by bojanz: MailHandler does not support specifying "CC" addresses
- #3099335 by bojanz: commerce_price_form_views_ui_config_item_form_alter() does not handle configurable fields properly
- #3099314 by bojanz: The currency_code views filter does not provide available options
- #3029969 by lisastreeter, andyg5000, bojanz: "Product variation: Operations links" causes a crash in ProductVariationListBuilder
- #3066704 by bojanz, rovo: Missing "Link to Product variation" views handler
- #3095829 by bojanz, Gode.Agarunov, AndyD328: The product/order views update functions should not cover Search API views
- #3003105 by czigor, bojanz: The views bundle (type) filter shows items that the user doesn't have access to
- #2914092 by bojanz, joachim: Views field handler for bundle field shows machine names for an entity with bundle plugins
- #3027073 by mradcliffe, bojanz: Exceptions thrown by Price need to have a message
- #3072156 by bojanz: ConfigurableFieldManager::hasData() doesn't work for address field types
- #3097581 by bojanz: EntityViewsData generates incorrect data for fields with multiple properties (address, price)
- #3097586: Multivalue base fields are missing the "delta" views field
- #3097072 by bojanz: Bundle plugin fields don't have views integration
- #3096157 by bojanz: Notice: Undefined index: entity_type in commerce_price.module on line 51
- #3095413 by bojanz: Error: Call to a member function getCountryCode() on null in Drupal\commerce_order\AddressBook->isAvailable()
- #3093398 by bojanz: Boolean getters must cast the value before returning it
- #3093396 by bojanz: PaymentMethod's is_default boolean is missing a default value
Feature
- #2853527 by flocondetoile, mglaman, bojanz, tuutti, rthornton, jacobbell84, carstenG, drugan: Implement the ability to expire and delete old carts
- #3096931 by bojanz: Add missing views data for address, date, list base fields
- #2977618 by nlz, czigor, chrisrockwell, Hubbs, bojanz, lisastreeter, petar.gnjidic, tbradbury, quietone: Add time to promotion start and end date
- #3093784 by bojanz: Add the concept of an order "calculation date"
- #3093082 by jsacksick: Create a views argument default plugin to extract a Product variation ID from URL
Task
- #2999704 by mirom, bojanz, johnjw59: Add weight for TaxTypes
- #3092772 by bojanz: Give plugins access to the full parent config entity, not just its ID
- #3096953 by bojanz: Create a StoreDate views filter, use it in Promotions
- #3096916 by bojanz, joachim: Generate reverse relationships for base entity references
- #3057438 by bojanz: Move the commerce_order_views_data_alter() state_machine workaround to CommerceEntityViewsData
- #3002939 by mglaman, Neograph734, bojanz, quietone, Wim Leers: Convert order/product multivalue configurable fields back into base fields
- #2883789 by bojanz, shabana.navas, nlz: Create a $store->timezone field and use it for promotions and taxes
- #3095320 by bojanz: CommerceWebDriverTestBase should not redefine assertSession
- #3093969 by bojanz: Don't show the uid field by default on the store form
- #3093383 by bojanz: Fix the tests on Drupal 8.8-beta1