Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Drupal Commerce 7.0-1.0-beta3 comes almost two months after the initial beta releases (beta2 being a quick release to address missed files). A lot of work has gone into ferreting out some bugs as more developers put the Commerce modules to the test in varying situations. Even though a majority of the commits for this release are one-off bug fixes and feature improvements, this release does represent focused efforts in the following areas:
- bojanz updated our Views integration to accommodate the new UI improvements in Views after participating in the Views UI sprint himself.
- We've improved our Rules integration with support for Rules' "unchanged" entity parameters and additional actions and conditions. Of particular note is the new "Order address component comparison" condition that simplifies the process of configuring a rule to be contingent on some aspect of an order's address.
- Usability improvements were contributed from several new contributors, standardizing interface elements and removing some unnecessary items. Combined with the new address condition, the Tax system has received particular UX attention. It still has a ways to go, but the situation is much improved over beta2.
- We've made changes to better accommodate ongoing development in a few more contributed modules: Features, Entity translation, and Title.
Dynamic Pricing Fixes
Finally, and most significantly, we resolved a deep underlying issue that was manifesting itself in a variety of bugs pertaining to product prices. This involved changing our approach to handling price amounts, which we've stored in the database as integers and converted to decimals upon load and presave. Instead we now handle the price amount as an integer until the point of display. Developers should take note that they may need to update their price handling, particularly when communicating prices to payment gateways. The most common change involves using the API function commerce_currency_amount_to_decimal() on price amounts when transmitting them to a payment service to convert them to the decimal values commonly expected by payment APIs. Additionally, payment transaction amounts should be set as integers, converting decimal values using commerce_currency_decimal_to_amount() as necessary. See this commit to Commerce CyberSource for examples.
Run update.php
To deal with some legacy data that may exist in price field data arrays, there are several update functions that you'll need to run. If you have large amounts of products, line items, and/or orders, please be warned that there are updates for each of these entities loading and resaving them all 50 at a time.
For more information, refer to: #1124416: Revise the way we handle price amount values
It's exciting, too, that for the time being our "needs review" and "reviewed and tested by the community" queues are completely empty. Yay!
All 83 commits since the beta2 release are listed here:
- 2011-03-01 15:25:35 -0500
Re-applying commits lost in The Great Git Migration from pcambra, recrit, and rszrama. - 2011-03-04 14:27:00 +0100
Update quantity to 0 (zero) should behave same as "remove" http://drupal.org/node/1080342 - 2011-03-04 10:17:45 -0500
Remove a hanging ' in the currency filter. - 2011-03-06 20:32:37 +0100
Fix link to payment method in the payment transaction view http://drupal.org/node/1083200 - 2011-03-07 15:48:39 +0100
Rules do not update order state http://drupal.org/node/1080764 - 2011-03-14 18:01:29 -0400
Fix some pass-by-reference problems with a few uses of drupal_render(). - 2011-03-15 15:52:27 +0100
Missing views group for customer profile relationships http://drupal.org/node/1093344 - 2011-03-16 03:13:30 +0100
Merge changes of all the test ongoin tasks - 2011-03-16 13:57:00 +0100
No indication that an order needs to be saved after line item changes http://drupal.org/node/1059400 - 2011-03-16 16:58:14 -0400
#1095148: Currency settings for Brasilian Real (BRL) by recidive: add currency formatting support for Brazilian Real. - 2011-03-17 15:07:18 -0400
Merge branch 'merge_tests_16032011' of http://git.drupal.org/sandbox/pcambra/1081200 into pcambra-merge_tests_16032011 - 2011-03-21 12:30:28 +0100
Convert handlers to use get_value() and sanitize_value() - 2011-03-21 12:33:41 +0100
Increase Views API version to 3. - 2011-03-21 14:12:23 +0100
Add offsite tests for payment http://drupal.org/node/1069896 - 2011-03-21 15:17:53 +0100
Prevent notices - 2011-03-21 16:07:55 +0100
Refactor value getting in area handlers per dereine's suggestion. - 2011-03-21 16:21:50 +0100
Bringing back pre_render in the payment amount handler, not having it breaks the area handler (and possibly other things) - 2011-03-21 16:33:57 +0100
Removing the language code from the handlers after consulting with rfay. It's unused and unneded. - 2011-03-21 19:52:56 +0100
Fix the dependent options in commerce_order_plugin_argument_validate_user, remove unneeded code. - 2011-03-21 20:07:52 +0100
Accidentally commited half-way change from hook_views_data() to hook_views_data_alter() in commerce_cart. Finishing it now. - 2011-03-22 01:27:29 -0400
Merge branch 'views_integration' of http://git.drupal.org/sandbox/bojanz/1097750 into bojanz-views_integration - 2011-03-22 16:12:39 -0400
Add currency support for the Bulgarian Lev. - 2011-03-22 16:57:15 -0400
#1065574: Add ability to specify a log message on order status update by rszrama: add the ability for an order status update to include a log message and default it to save the order as a new revision on update. - 2011-03-22 21:19:00 -0400
Attach a clone of the original order when loaded to the order object so it is preserved for use in Rules. - 2011-03-22 21:24:24 -0400
Update the comments for commerce_order_status_update() as the TODO is not necessary given hook_commerce_order_update() and the related Rules event. - 2011-03-22 21:25:17 -0400
Fixing a merge conflict due to an errant whitespace adjustment in the original patch. - 2011-03-22 23:16:36 -0400
#1065574: Add ability to specify a log message on order status update by rszrama: add pertinent log messages when updating order statuses. - 2011-03-22 23:21:32 -0400
Merge branch '1080342' of http://git.drupal.org/sandbox/pcambra/1081200 into pcambra-1080342 - 2011-03-22 23:24:28 -0400
#1093302: commerce_currency_format passes the wrong param to format callbacks by bojanz: pass the proper arguments to custom currency formatting callbacks. - 2011-03-22 23:45:38 -0400
Merge branch '1093344' of http://git.drupal.org/sandbox/pcambra/1081200 into pcambra-1093344 - 2011-03-22 23:54:58 -0400
Merge branch '1083200' of http://git.drupal.org/sandbox/pcambra/1081200 into pcambra-1083200 - 2011-03-23 01:28:06 -0400
Merge branch '1059400' of http://git.drupal.org/sandbox/pcambra/1081200 into pcambra-1059400 - 2011-03-23 01:31:18 -0400
#1059400: No indication that an order needs to be saved after line item changes by Artusamak, rszrama: tweak to the conditional statement and message displayed when prompting the user to save an order with manually added line items. - 2011-03-23 12:38:38 +0100
Re-exported all views (readding fields where needed), fixed notice - 2011-03-23 12:38:43 +0100
Merge branch '7.x-1.x' of git://git.drupal.org/project/commerce into views_integration - 2011-03-23 15:37:20 +0100
Change wording of one of the 'Link this field to' options in the order field handler - 2011-03-23 16:28:07 +0100
The shopping cart block needs to show quantity and total by default - 2011-03-23 16:41:59 +0100
Add human readable names to views - 2011-03-23 16:44:43 +0100
Prevent errors in the Views admin in regards to the line items form. - 2011-03-23 12:02:37 -0400
Fixing a minor type in a View description. - 2011-03-24 10:56:26 -0400
Hide the plugin type on our Rules overview tables that explicitly only show reaction rules. - 2011-03-24 16:30:04 -0400
#1104462: Fix inconsistent language: "Checkout complete rules" vs. "Checkout completion rules" by tgeller: fix an inconsistent table label for checkout completion rules. - 2011-03-24 16:50:51 -0400
Product reference is displaying disabled products http://drupal.org/node/1029518 - 2011-03-25 11:12:39 -0400
#1029518: Product reference is displaying disabled products by rszrama: fix a PHP notice in the event that every referenced product is disabled and therefore should not be shown via one of the text based product reference field display formatters. - 2011-03-25 23:25:23 -0400
#1100194: Add simple conditions for checking address components by rszrama: add a condition to perform a simple comparison of a component of an order's address. - 2011-03-28 19:15:02 -0400
#1108280: "Explanation or submission guidelines" text does not appear on product edit forms for custom product types by rszrama: display the custom product type help text on product edit forms. - 2011-03-29 23:53:55 -0400
#1109758: Errors with creating entities (i.e. an Order with Line items) via Rules by rszrama: fix a few problems with the Order entity property definitions and callbacks discovered when trying to create an entity via Rules. - 2011-04-01 01:40:08 -0400
Only fail validation when returning from a redirected payment service if the method's validation function explicitly returns FALSE. - 2011-04-01 18:51:43 +0200
#1108674: Product View shows machine name instead of title of product types - Product View shows machine name instead of title of product types - 2011-04-01 16:18:15 -0400
Issue #1113122: menu_rebuild performance issue by rszrama: add a parameter to skip cache resets and menu rebuilding on API functions that do these. - 2011-04-01 17:24:20 -0400
Issue #1113122: menu_rebuild performance issue by rszrama: added the parameter to a couple of hook invocations I missed in the previous patch. - 2011-04-01 18:44:02 -0400
Issue #1111966: Fix line items types menu links when there are multiple line item types by pcambra: fixed the line item type menu items to be in line with our other entity type items. - 2011-04-01 20:56:31 -0400
Issue #1113634: UX/DX: Remove the option of *not* having a default rules component for a tax rate by rfay: removed the checkbox on the tax rate form for toggling the default Rules component on and off. - 2011-04-01 21:15:59 -0400
Fixing an incorrectly named parameter in the hook_commerce_tax_rate_delete() invocation; was , should have been . - 2011-04-01 22:15:30 -0400
Add common labels for address components. - 2011-04-01 23:57:58 -0400
Add some additional descriptive text to the parameters of the 'Order address component comparison' condition. - 2011-04-02 00:25:07 -0400
Issue #1108166: Features integration? by pcambra: added code to accommodate product types defined by Features. - 2011-04-04 15:23:37 +0200
Issue #1115558: The field hooks use archaic argument names ($object / $object_type instead of $entity / $entity_type) - The field hooks use archaic argument names ( / instead of / ) - 2011-04-04 14:41:40 -0400
Issue #1114940: Handle over the line item after adding to cart by hunziker: stored the new / updated product line item in the form state when a product is added to the cart. - 2011-04-04 15:07:14 -0400
amateescu: removed a superfluous rules_invoke_all() in the product controller's save method. - 2011-04-04 15:58:58 -0400
Issue #1115532: Abstract out the creation of the product reference field / instance - Abstract out the creation of the product reference field / instance - 2011-04-05 17:07:37 -0400
Issue #1115994: Increase product reference autocomplete textfield maxlength from 128 to unlimited by c600g: increased the maxlength of a product reference autocomplete text field to 1024 (same as taxonomy term reference autocomplete). - 2011-04-06 16:43:40 -0400
Issue #1118692: commerce_tax depends on commerce_product_pricing; add dependencies on commerce by rfay: added a missing dependency on Product Pricing for Tax. - 2011-04-18 13:46:22 -0400
Issue #1128176: How to remove all products from an order (clear the cart) before adding a new one by Flowster: add an action to empty a cart order (i.e. remove all products from an order). - 2011-04-19 23:05:58 -0400
Issue #1124416: Revise the way we handle price amount values by rszrama: fixed price amount handling so that amounts remain as loaded from the database until they are converted to decimal values per the currency on display. - 2011-04-20 15:39:21 -0400
Issue #1112900: Rebuild line item cache when a line item type module is enabled prior to configuration by pcambra, rszrama: fixed the configuration of line item types as modules implementing the hook are enabled. - 2011-04-20 16:50:26 -0400
Issue #1038590: Unable to alter saved values by using commerce_checkout_pane_info_alter() by das-peter, rszrama: adjust the ordering of data inclusion when building a checkout pane array. - 2011-04-20 17:00:42 -0400
Issue #928240: Throbber implemented incorrectly: floating and design by DjebbZ: prevent throbber duplication on the checkout form when parts of the form are rebuilt via #ajax. - 2011-04-20 17:29:52 -0400
Issue #1117090: Commerce database incompatible with sqlite by rfay: changes an index name to ensure compatibility with sqlite despite http://drupal.org/node/1008128 being unresolved. - 2011-04-20 17:46:22 -0400
Issue #1061308: Checkout review pane shows pane review information unconditionally by GuyPaddock: properly filter checkout panes from the review pane if their review checkboxes are unchecked. - 2011-04-20 23:36:40 -0400
Issue #1094088: _order not dependant on cart or checkout but view commerce_orders fails without by rbayliss: use an alter hook to filter the main order View to exclude the Cart and Checkout states when those modules are enabeld. - 2011-04-21 14:27:40 -0400
Issue #1118692: commerce_tax depends on commerce_product_pricing; add dependencies on commerce by rfay: add a commerce.module depdendency to remaining .info files not specifying it. - 2011-04-21 14:29:30 -0400
Removing some remaining $ tags. - 2011-04-21 14:33:04 -0400
Issue #1117198: Minor improvement to product price tax select element to explain tax addition by rfay: provide a better title and a description for the tax inclusive select list on the price widget. - 2011-04-21 15:35:19 -0400
Issue #1035044: Move URL tokens to UI modules by rbayliss: moved URL tokens for orders and products to the UI modules. - 2011-04-22 00:02:30 -0400
Issue #1071682: Cart item quantity by rszrama: put a smaller limit on the maxlength of quantity fields to prevent data type related errors on save. - 2011-04-22 15:21:30 -0400
Issue #1131192: Add tests for Views relationships by rfay, rszrama: fix the duplication of relationships in Views on our reference fields. - 2011-04-22 16:14:12 -0400
Issue #1095814: line items missing order_id when created from admin by xlyz: properly set the order_id of new line items added onto newly created orders when the order add form is submitted. - 2011-04-22 18:10:29 -0400
#1128816: Update customer profile manager form to support new Address Field functionality by googletorp, don't convert Add another item buttons. - 2011-04-23 00:04:40 -0400
Issue #1032302: Integrate translation handler for commerce products by das-peter, rfay, bojanz, pcambra: Integrate translation handler for commerce products. - 2011-04-23 00:04:41 -0400
Issue #1032302: Integrate translation handler for commerce products by rszrama: function renaming and documentation tweaks. - 2011-04-23 00:04:41 -0400
Issue [#1032303] by rszrama: update the presentation of the multilingual radios element on the product type form. - 2011-04-23 00:04:41 -0400
Issue #1032302: Integrate translation handler for commerce products by pcambra, rszrama: add title translation support via the Title module, alter untranslatable entities out of the Entity translation settings form, and fix a bug in the translation tab access callback.