Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Drupal Commerce 1.x for Drupal 7 has been stable for many years and supports tens of thousands of online stores. Continued development of this version focuses on bug fixing, PHP 7 compatibility, and performance improvements with only the occasional new feature.
Highlights in this release include:
- Translatable "Add to cart" button text can now be configured for every product display!
- Administration UI form improvements to prevent and / or delete "orphaned" payment transactions and line items.
- Performance improvements to cart loading, cart block rendering, and transaction loading.
- Improved support for PHP versions up to 7.2.
Our community contributor MVP for this release is torgospizza, who contributed multiple performance improvements in addition to weighing in on the patch to allow customization of the "Add to Cart" button text. Thanks to Erik for his long support based on his work at https://www.rifftrax.com.
Changes since 7.x-1.14 (32 commits):
- #2924395 by torgosPizza: add an index to the remote_id column of the commerce_payment_transaction table.
- #2924395 by torgosPizza: check for the new indexes on transaction tables before adding them.
- #2655184 by rszrama: remove debug code from the conditional statement that checked to ensure an order had not changed during checkout routing.
- #2927409 by rszrama: Avoid calling commerce_currency_amount_to_decimal() with an empty string $amount
- #2926261 by kostajh, citlacom, rszrama: fix fatal errors when the credit card number field is left blank or starts with a zero on the checkout form.
- #2938408 by opdavies: fix a typo in a docblock.
- #2924792 by rszrama, vagelis-prokopiou: resolve an array_key_exists() regression introduced in 7.x-1.14 for sites using multiple optional attribute fields on a single product type.
- #2108263 by evomase, mglaman, jsacksick: Load updated line item object from DB in commerce_line_item_manager_validate()
- #1208896 by andyg5000, amateescu, tseven, mr.baileys: Disallow the deletion of an order with payments without explicit permission / approval
- #2453499 by a.milkovsky, jsacksick: improve profile copying logic to avoid false error messages on the checkout form when other Ajax processes validate a checkout form with a copy checkbox on it.
- #2410391 by mglaman: check the order status of an order represented on a shopping cart form before submitting it.
- #2161121 by czigor, mglaman, rszrama: Add a form to delete orphaned line items.
- #2941961 by Poornachandran, czigor: Commerce order save should save the latest time in the $order->changed during order update
- #3006593 by ezeedub: adding the skip_save support from #2316709 to commerce_cart_order_product_line_item_delete().
- #2617370 by andyg5000, kingandy, rszrama: Only show enabled order statuses in admin order status list
- #1147690 by vasike, torgosPizza, deggertsen, chOP, johnpicozzi, kotnik, capfive, rszrama: Make "Add to cart" button text a display formatter setting, configurable per view mode for each product reference field instance.
- #2963540 by das-peter: Add the 'entity_type' condition to the reverse relationship views handler.
- #2835086 by BramDriesen, y_h, das-peter: commerce_currency_format doesn't use the symbol_spacer everywhere
- #2936294 by BramDriesen, bojanz: Non-breaking space is not being trimmed
- #2864602 by Marko B, bojanz: Update the credit card validation / detection rules
- #3029327 by garphy: Rules event "order paid in full" is not fired when payment method use custom a complete status
- #2632550 by tbradbury, smccabe, bojanz, torgosPizza: Improve performance of cart order ID selection for anonymous users
- #3012177 by DamienMcKenna, BramDriesen: only validate the credit card type if a credit card number is actually inputted.
- #2900972 by mglaman, czigor: Use drupal_static for commerce_line_item_summary_links
- #2936294 by czigor, BramDriesen, bojanz, jsacksick, rszrama: Non-breaking space is not being trimmed
- #1379084 by czigor, rszrama: reduce the line item quantity Views field to a maxlength of 6 to avoid accidental fatal errors on shopping cart forms due to database field types.
- #2868200 by hgoto, rszrama, lisastreeter: when order revisioning is enabled by default, use a distinct order log message when an order is first paid in full.
- #3016482 by firewaller: Skip the placed timestamp migration if no orders were found.
- #3035138 by jkamizato, rszrama, mrP: fix a PHP 7.2 warning related to non-numeric amount values passed to commerce_currency_amount_to_decimal().
- #2994910 by dshumaker, czigor: prevent undefined index errors when loading payment method rules.
- #2293537 by mglaman, Ian Clysdale, czigor, rszrama, ssoulless: change our approach to matching Add to Cart form attributes selections to work with translated taxonomies / products.
- #2321205 by anrikun, rszrama, mglaman: check the proper access when generating an order URI in the Order UI module.