Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download commerce-7.x-1.12.tar.gztar.gz 372.96 KB
MD5: 398790375ddc2e1bde90fe38e2cd625a
SHA-1: 54a6bffb8b2a0bf260cc6ae12ecfc0ba4da3b09d
SHA-256: b3604ad6a7865709afba02438cd26d8aec569995ae2088b5e72043f494f1125a
Download commerce-7.x-1.12.zipzip 510.09 KB
MD5: a2f69ee9b961cec54a1511127039e980
SHA-1: ec7b0bbf07c54f20a761d90ce22223d0f8be1e12
SHA-256: f9800945e0a3af83f3959b4695da2fcafe01b6664293b11a19773bcfcc621485

Release notes

This release was a long time in coming and is packed full of bug fixes, great new features, and a variety of performance improvements and API documentation additions.

This release includes a breaking change: because of changes summarized in #2697017: Revert the EntityFieldQuery based product matcher and arbitrary options list limit, product reference fields may not be showing the expected number of options. The solution is to edit the field and supply a sufficiently large number for your site's use case.

Notable updates include:

  • A new Views filter to restrict the results of line item Views to line items that are actually still referenced by orders. (In other words, no more accidentally including "orphaned line items" in such Views.
  • A new Views field handler that finally lets you edit product attributes in the cart! It's about time, eh? : D
  • Interface improvements / tokens to include an order's selected payment method on the review page and in e-mails / other communications.
  • New hooks including:
    • hook_commerce_default_currency_alter() - adjust the site's default currency instead of just using the site-wide variable.
    • hook_commerce_checkout_first_checkout_page() - set the checkout form entry point via code, bypassing costly checkout pane / page info array builds.
    • hook_commerce_cart_order_pre_refresh() - prepare orders prior to the full shopping cart order refresh routine.

Note: you should upgrade directly to Commerce 7.x-1.13, which includes all of the features listed in this release.

Changes since 7.x-1.11 (61 commits):

  • #2699821 by rszrama: add more argument documentation for commerce_payment_credit_card_form().
  • #2355789 by michfuer, rszrama: properly validate credit card start dates when used.
  • #2699415 by Scott Robertson: allow modules to act on an order prior to commerce_cart_order_refresh logic.
  • #2699789 by rszrama: add hook_commerce_checkout_first_checkout_page() to the commerce hook group.
  • #2633648 by mglaman, joelpittet, rszrama: allow the first checkout page ID to be set via a hook, bypassing the checkout pane / page info array build process, to improve checkout entry performance.
  • #2560443 by akosipax, joelpittet, rszrama: Trim whitespace on the account checkout pane's e-mail address field
  • #2399045 by joelpittet, rszrama: commerce_product_autocomplete throws PHP warning when no arguments are passed
  • #2657792 by joelpittet: Cart order totals incorrect after updating line item quanity
  • #2653904 by joelpittet, smccabe, rszrama: Improve commerce_line_item_delete_references() by only saving the order once
  • #2595209 by joelpittet, rszrama: commerce_product_reference_entity_view() calls some functions multiple times with the same input
  • #2678718 by czigor: Small performance improvements in commerce_customer_profile_pane_checkout_form_submit()
  • #2658402 by joelpittet, rszrama: improve the performance of commerce_order_calculate_total().
  • #2652858 by acrazyanimal: Use Identical operator rather then Equals for AJAX triggers
  • #2430337 by wannesderoy, Damien Tournoud: HHVM incompatibility
  • #2632084 by smccabe, joelpittet, mglaman, torgosPizza: Improve performance of commerce_order_ui_menu()
  • #2415237 by joelpittet: add a hook_commerce_default_currency_alter().
  • #2068351 by joelpittet, Pere Orga: Optimize images using lossless compression
  • #2341617 by Deciphered, rszrama: Illegal string offset 'title' in commerce_payment_method_get_title()
  • #2630292 by nvahalik: Add commerce_payment entity hook documentation.
  • #2632084 by joelpittet, mglaman: Improve the performance of commerce_order_ui_menu().
  • #2389573 by mglaman, torgosPizza, joelpittet: Use a static cache in commerce_product_reference_field_extra_fields()
  • #2424937 by benjy: createDummyProduct should use the $currency_code parameter
  • #1972700 by a.ross, discipolo, rszrama, joelpittet: Use render API instead of custom markup for SKU/Title
  • #1819318 by vensires, rszrama: Notice: Undefined index: amount in commerce_price_field_formatter_view() (line 442 of commerce/modules/price/commerce_price.module
  • Merge branch '7.x-1.x' of git.drupal.org:project/commerce into 7.x-1.x
  • #1916910 by joelpittet, DYdave: Move hook_field_views_data to commerce_customer.views.inc
  • #2535164 by mglaman, pjcdawkins: Use a static cache in commerce_product_load_by_sku()
  • #2486203 by daggerhart: Remove unnecessary code from commerce_customer_field_formatter_view()
  • #2460491 by joelpittet: CommerceCustomerProfileEntityController::delete doesn't adhear to commerce_customer_profile_can_delete with multiple
  • #2576677 by dsdeiz: total_label not defined in commerce_line_item_theme()
  • #2314151 by epicflux: Fix an unterminated entity reference error in commerce_simplexml_add_children().
  • #2500311 by AndrewsizZ: ERROR There is no method getElementName for this instance of the class RulesLoop
  • #2299695 by dooug: fix a couple typos in the customer profile API documentation.
  • Add some documentation to hook_commerce_tax_rate_info() regarding its usage with third party tax service integrations.
  • #2564911 by joachim: add a browser autocomplete hint for the e-mail field on the anonymous account information checkout pane.
  • #2178989 by primozsusa: fix the Is Product Display Views filter SQL in the event no product display node types are defined.
  • #2485529 by mglaman, aleksijohansson: resolve an error deleting orders with missing line items via a try / catch.
  • #1531602 by mihai_brb: pass entity to Commerce entity access check contexts.
  • #2504431 by michee.lengronne: All line items displayed when array empty in commerce_line_item_field_widget_form
  • #2511484 by nvahalik, mglaman: Add hook_commerce_order_delete() to API documentation
  • Add a token to payment transactions and orders for the payment method display title.
  • #2096361 by mglaman, bendiy, d.moiseev: Move Product Match functions from db_select to EntityFieldQuery
  • #1211278 by rszrama: add a Views form field handler for editing line item attributes in the cart.
  • #1302232 by rszrama: add a review callback for the core Payment checkout pane to show the selected payment method's title in the review checkout pane.
  • #2423729 by daveparrish: Missing redirect_form_back callback override in API documentation
  • #2535790: testCommerceProductReferenceReferenceProducts doesn't properly send arguments to commerce_product_match_products
  • #2533870 by dbarbar: Canadian Dollar (CAD) currency symbol $
  • #2367533 by michfuer: Commerce should use '#title_display' => 'invisible'
  • #2304383 by joelpittet, ordermind, kenorb: Warning on AJAX: htmlspecialchars() expects parameter 1 to be string in bootstrap.inc on line 1567
  • #2510344: fix the logic check to prevent commas from being added to SKUs.
  • Fix a doc block in the previous commit.
  • #2497641 by rszrama: add a Line Item Views filter to restrict results to non-orphaned line items.
  • Update the tests to work with Addressfield 1.0 and later.
  • Update .travis.yml, there's no need to use older versions of addressfield and rules for testing anymore.
  • #2474501 by rszrama: switch to using the getBundle() property to determine entity types via the metadata wrapper.
  • Ignore phpStorm .idea directories.
  • #2457047 by Kartagis: Turkish Lira symbol changed, use the new one
  • Remove CommerceSandboxTestCase.
  • Fix 'Only variables should be passed by reference' errors in tests.
  • Add .travis.yml
Created by: rszrama
Created on: 5 Apr 2016 at 04:20 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Bug fixes
New features
Insecure

Other releases