Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download commerce-7.x-1.3.tar.gztar.gz 345.41 KB
MD5: 827c1fde0fa75a5bcea3bc10f2b2aadf
SHA-1: 0f57001494ee973bb942a885da4833f7fcbd5f0b
SHA-256: 833b9064ff0bb8e7de44ad04cfaa5d891f0fe1d349c555c066065e2ab04911de
Download commerce-7.x-1.3.zipzip 468.12 KB
MD5: 8a7191fe6f114d7677136b37108f0cee
SHA-1: 0b7610b4db413398476733bcd353c43c8b089002
SHA-256: a848e9ab313a0c1f51fe05b57a59e1f285f0098a1ccaa7bc13bc0b7f71f3483f

Release notes

I'll update this node to include a summary of changes in a bit. For now, just be sure to run update.php after updating to the new version.

Change log

Changes since 7.x-1.2 (64 commits):

  • Removing an unnecessary update function.
  • #1349924 by OnkelTem: update the Entity exists by property condition to include an options list for the various properties available by entity type.
  • Revert the patch from issue #1098028 to change the checkout review pane markup; decided to postpone this to 2.x and use a contributed module approach instead.
  • #1308754 by bojanz: improve the inspection of customer profile for changes when trying to determine if a duplicate profile needs to be created.
  • #1118498 by amateescu, helior, jbova: do not display an empty attribute field widget on the Add to Cart form.
  • Adding an area handler that got missed in the last commit.
  • #1030128 by helior: update our cart Views form altering functions to remove buttons from the form when no line items are shown; also add an area handler that can be used to add an empty cart message to Views blocks or pages.
  • #1434512 by helior: improve the UX of the Entity Translation integration on Products by preventing unintentional wiping of translations through the translation interface.
  • #1417414 by IcanDivideBy0: add and use an API function to determine the first checkout page sorted by weight.
  • #1430910 by helior, skyredwang: add relationships to relate the commerce_order table to the commerce_payment_transaction table and to a representative payment transaction.
  • #1555886 by sahaj, rszrama: add currency formatting support for the Kyrgyzstani Som.
  • #1550314 by philipz: add currency formatting support for the Polish Złoty.
  • #1556552 by Yaazkal: add currency formatting support for the Colombian Peso.
  • #1428280 by bojanz, googletorp, rszrama: add a pluggable entity label callback to customer profiles that will look for a default address field to determine the label by default.
  • #1355638 by amateescu: fix credit card type validation for Visa, Visa Electron, and Switch numbers.
  • #1392044 by helior: follow-up patch that corrects a typo in a set of t() arguments for the original patch.
  • #1563574 by rszrama: do not wrap database column names in braces reserved for table names, as table prefixing does not apply to individual columns.
  • #1022736 by rszrama: update the default argument handler for current cart order ID to return a 0 integer value instead of FALSE when the user does not have a current cart order.
  • #1559466 by scotthooker: correct the individual customer profile type menu items so they use the customer profile type name instead of just 'Profile types' for each profile type.
  • #1121722 by helior: use i18n_field to translate the price field label in our field formatter.
  • #1165808 by helior: preserve query parameters when Add to Cart forms are submitted; minor API change in that submit handlers redirecting Add to Cart form submissions must ensure they're executing after the default submit handler, but this should be standard practice anyways.
  • #1098028 by googletorp, fearlsgroove, helior: change the HTML of the checkout review pane to a more themeable set of divs and headers as with user profile pages instead of a table based layout within the pane. This represents an API change, as themes styling the previous table or overriding it entirely will need to be updated.
  • #1190422 follow-up by rszrama: also clear the entity info cache when line item types and customer profile types are reset.
  • #1190422 by mr.baileys: clear the entity cache when new product types are added so menu items get added properly even when other modules are enabled that also interact with these menu items.
  • #1481212 by mr.baileys: return MENU_NOT_FOUND and MENU_ACCESS_DENIED instead of calling drupal_not_found() and drupal_access_denied() respectively in the checkout router.
  • #1555388 by helior: fix failing tests by updating our call to _options_get_options() to pass the arguments expected in Drupal 7.x-dev, keeping us backwards compatible with Drupal 7.12 and lower.
  • #1427780 by helior: add a hidden module for testing the behavior of the previous commit.
  • #1427780 by axel.rutz: change our Commerce entity controller to invoke hooks following an entity insert or update until after the entity cache has been updated so loads of the entity in question in the related hook invocations won't load a stale cached entity.
  • #1392044 by helior: respect checkout pane 'locked' values in the checkout form builder validation process; minor API change - locked panes that have been moved to alternate pages will be automatically moved back next time the form is submitted unless hook_commerce_checkout_pane_info_alter() is used to unlock those panes.
  • #1253114 by amateescu: serialize price field data arrays later in the field storage process (pre_insert / update) to avoid saving unserialized data arrays elsewhere; includes in update function for fields stored in a SQL database, but non-SQL databases will need to be repaired manually (via resaving the products in question at a minimum).
  • #1458866 by amateescu: fix the checkout submit throbber on all browsers by adding the span in the form itself and only removing an element-invisible class from it when the checkout button is clicked; minor API change removes the JS theme function Drupal.theme.prototype.checkoutProcessing.
  • Fixing a broken test committed in the last commit due to a function name change.
  • #1536346 by helior, Everett Zufelt: make proper use of the 'administer payment methods' permission while preserving compatibility with the existing behavior of 'administer payments' on payment methods pages as a deprecated feature (to be removed in 7.x-1.5).
  • #1425920 by svendecabooter: update the help text for injected product fields on the referencing bundle's 'Manage display' tab to try and clarify where other configuration may be necessary.
  • #1508412 by amateescu: fix the cart form View to include the default classes on its line item quantity field.
  • #1528136 by sfyn: update the Commerce entity controller to support entity_load() with no IDs passed, supporting the loading of all entities of the request type.
  • #1431778 by acrazyanimal, davidwhthomas: prevent an undefined index error on customer profile forms by ensuring the customer profile in question does contain an addressfield in question before attempting to remove its widget's fieldset.
  • #1541076 by amateescu, helior: use the proper entity's uid property when preparing the chained creator tokens for payment transactions.
  • #1541118 by helior: adding MENU_CONTEXT_PAGE to the payment transaction 'View' menu item to support additional local task tabs like 'Devel' from the Commerce Devel module.
  • #1515818 by helior: use the 'View any order' permission for the default Orders View on the back end instead of the more permissive 'administer orders' permission.
  • #1515818 by helior: add i18n_field support to the title of customer profile checkout panes so the properly translated instance label of the related customer profile reference field is used when possible.
  • #1370668 by mr.baileys, rszrama: add the option to turn off default order revisions when order updates are made through the checkout form, rules, and order editing.
  • #1532138 by dpolant, helior: add default token formatters for the price field and product reference field.
  • #1543844 by hadsie: when the Cart form is submitted using the Checkout button altered in by the checkout module, redirect directly to the order's appropriate URL instead of going through the router menu item provided by the Cart module.
  • #1532026 by Dippers, joshmiller, rszrama: do not use an array union to join non-associative arrays where we accommodate pre-existing submit handlers in various entity forms.
  • #1512160 by greenmother: pass the parameter to the token for order admin URLs that we're already passing for the other order URL tokens.
  • #1534464 by bojanz, amateescu: update the Price module implementation of hook_field_load() to support multiple invocation on a data set by checking to ensure data has not been unserialized already prior to unserialization.
  • #1539938 by helior: remove *_build_content() functions for our core entity types that were marked deprecated since 7.x-1.0-rc1.
  • #1530748 by helior: provide proper currency formatting for the Japanese Yen (JPY).
  • #1475038 by intyms: add support for the Moldovan Leu (MDL).
  • #1479588 by ipwa: properly format the Peruvian Nuevo Soles.
  • #1376282 by amateescu: fix a variable typo in the Customer module and rearrange an if statement to ensure a related variable has data before checking its data type.
  • #1459746 by rszrama: fix the description of the 'Administer checkout' permission so it doesn't pretend to give access to the checkout form for any order.
  • #1462554 by mjpa: pad year numbers in credit card select lists with leading zeroes for years 2000 - 2009.
  • #1376564 by dpolant: preserve messages in the current session instead of rendering them into the checkout page when we detect a Rules based redirect.
  • #1242156 by rszrama: add a mail-username property to Commerce Order available to Rules that replaces illegal username characters in e-mail addresses and trims them to be used as usernames for accounts created during anonymous checkout completion.
  • #1439598 by kervi: add currency support for the Belarusian ruble.
  • #1428260 by googletorp: when updating a product configured to create a new revision by default, ensure the Change Log fieldset is not collapsed.
  • #1420698 by amateescu: add a redirect callback for the cart/my menu item to prevent invalid arguments being passed to drupal_goto().
  • #1397096 by amateescu: prevent a notice when saving checkout panes with no review callbacks.
  • #1423204 by das-peter: clean up broken line item references in the shopping cart order refresh process.
  • #1427144 by googletorp, amateescu: ensure the revision parameter in the product type definition is always initialized to the default value.
  • #1414554 by cjoy, amateescu: fix product entity translation where we were overriding an array instead of merging onto an existing array.
  • #1280608 by mr.baileys: provide an alternate default checkout completion message for sites where the filtered_html filter format is not available.
Created by: rszrama
Created on: 9 May 2012 at 17:49 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
New features
Bug fixes
Insecure

Other releases