Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release also contains the patch from issue Support PHP 7.2, now that core Drupal does. That patch has been part of Ubercart 7.x-3.x-dev since July 2018, but this is the first fixed-point release to contain the patch since Drupal core became compatible with PHP 7.2 in November 2018.
Drupal coding standards have changed, so this release contains over 5000 changes to conform to the new coding standards. In addition, the following issues have been fixed:
Second alpha release. The biggest changes are around payment and shipping systems which have been converted to use plugins, but many other fixes and improvements have been made as well.
This is a maintenance release for Ubercart 7.x-3.x, containing bug fixes but no new features. Users are also encouraged to test out Ubercart 8.x-4.x for Drupal 8 and let us know what they think!
This will likely be the last release of Ubercart for Drupal 6, which reaches end of life on February 24th, 2016. Users are encouraged to upgrade to Ubercart 7.x-3.x or contribute to the upgrade path to Ubercart 8.x-4.x.
The 6.x-2.x branch of Ubercart will reach end of life when Drupal 8 is released and Drupal 6 is discontinued. You should consider upgrading your sites to 7.x-3.x.
Issue #1380772: Update product display via ajax when add-to-cart form data changes (e.g. attributes).
Issue #1533286: Add support for Variable module to allow translation of checkout messages.
Issue #1553700: Implement add to cart, print invoice and set order status as Views Bulk Operations.
Issue #1566306: Add setter callbacks for product node properties.
Issue #859724: Add help message explaining how to use PayPal in 2Checkout.
Issue #730120: Add dimensions and package quantity fields to Views.
Issue #1060810: Add shippable field and filter to Views.
Issue #1603740: Allow hook_uc_cart_pane_alter() to change weight and enabled values.
Issue #1655398: Add option to notify when bulk changing the order status.
Issue #1380772: Add identifying classes to replaceable product node elements.
Issue #1380772: Set Ajax ID on attribute subform.
Issue #998630: Add support for 2Checkout header redirect method.
Issue #1556368: Allow 'Notify customer when a role is revoked' conditions to check for role being revoked.
Issue #1744998: Add id to order total preview table.
Bug fixes since 7.x-3.1:
Issue #1587336: uc_order depends on uc_product.
Issue #1487268: Fix entity creation callback for orders.
Issue #1621410 by jacksinn: Remove $ from in front of variable_get
Issue #658176: Remove inline CSS.
Issue #436684: Allow translation of attribute names, labels, help text and option values.
Issue #730120: Add dimensions and package quantity fields to Views.
Issue #1060810: Add shippable field and filter to Views.
Issue #1603740: Allow hook_cart_pane_alter() to change weight and enabled values.
Issue #998630: Add support for 2Checkout header redirect method.
Issue #1556368: Allow 'Notify customer when a role is revoked' conditions to check for role being revoked.
Backport 'uc_quantity' form element from 7.x-3.x.
Issue #1744998: Add id to order total preview table.
Issue #657734: Make uc_payment_get_totals() use a theme function.
Issue #1690466: Add CyberSource transaction request ID to payment data.
Issue #464578: Add <label> tags to checkout address fields for accessibility.
Issue #464578: Add <label> tags to credit card fields for accessibility.
Bug fixes since 6.x-2.9:
Issue #1547810: Mention security issues around 'administer conditional actions' in README.txt.
Issue #1555082: Bad query in tax reports.
Prevent PHP Notices when visiting Attributes and Options tabs on products that don't have attributes.
Issue #1558528 by AntoineSolutions: Missing return array() in uc_ups_update_6201().
Issue #1571116 by balloon: db_query() wrong in papua_new_guinea_598_1.cif.
Ubercart 7.x-3.0-rc1 was released with errors that affected the order-edit page and the use of attribute options to change the price of products. Since these errors were so wide-reaching and detrimental to the working of Ubercart, a new release with these fixes has been created.
#1118036-8: add weight_unit to {uc_order_products} table was committed accidentally right when the release was tagged. That was an in-progress patch that causes problems on the order-edit form. See that issue for a small patch to fix that problem.
Changes since Ubercart 7.x-3.0-beta4:
API:
uc_order_load_line_items() returns stored and calculated line items together.
Product nodes have display_price and display_price_suffix, which show price changes that are ultimately calculated during checkout (e.g., VAT).
Added currency field to orders.
Added default values to uc_payment_enter().
Removed uc_strip_form().
Database:
Increased size of {uc_payment_receipts}.comment.
Theme:
Invoice templates can use $shippable variable.
Added theme_uc_checkout_pane_cart_review().
Removed theme_uc_cart_view_price().
Removed theme_uc_address_pane().
UI:
Converted "View orders" page to a View.
Address field settings moved from checkout settings to country settings.
Notifications require "Serial Number Content" setting in the Merchant Center.
Merchant-calculated shipping quotes use Ubercart shipping quotes. Set a default shipping address to get a fallback rate before actual rates are calculated.
With google_analytics.module enabled, Google Analytics data is recorded for Google Checkout orders.
Final release of Ubercart for Drupal 5.x. No further changes are anticipated; this is a minor release to include the last set of fixes committed to this branch. Please consider upgrading your sites to Drupal 6 or 7.
theme_uc_price() takes one parameter: 'price', a float.
theme_uc_product_price() expects a render element with a #value and optional #title and #attributes. Element children may be used to display text after the price.
'view' $op added to hook_uc_cart_item()
Allows modules to modify items before they are shown on the cart page.
Additional country files
Payment method improvements
Printable packing slips
Stock management improvements
Separate node permissions for product kits
Colorbox support for product images
Alter hooks for cart and checkout panes
Themeable order invoices*
Numerous bugs fixed
Special update instructions
* IMPORTANT:
Because of the changes to order invoices, any customizations made to the invoice template files need to be made as template overrides in the theme layer. Copy uc_order.tpl.php, uc_order-customer.tpl.php, and any other templates you wish to change from uc_order/templates to your theme's folder. uc_order.tpl.php is basically a blank file, but it is necessary for the theme overrides to work correctly. Rename your {template}.itpl.php files to the format uc_order-{template}.tpl.php and change the tokens to PHP variables. See the documentation page for more details.
Here's the "first draft" of the 3.x release of Ubercart. It has been ported to the Drupal 7 APIs and should have the same basic functionality as the 2.x branch. This should be enough to allow Ubercart contrib modules to be ported to Drupal 7, as very little of the existing APIs have changed. If you find something that hasn't been documented in CHANGELOG.txt, please file an issue.