Ubercart 2.3 and Ubercart 3.0 Alpha 3 released (now with Rules integration!)

Ubercart 2.3:
They say good things come to those who wait, and there are many good things in this version of Ubercart. Product images now support Colorbox, which functions like Thickbox and Lightbox2, but also has a version for Drupal 7. The definitions of cart panes and checkout panes can now be altered by other module.

The biggest change, though, is that order invoice templates now use the theme system to allow customizations. Instead of altering the module files directly, it is now correct to override them in the theme, just like node and page templates. This does mean, however, that your customized .itpl.php files need to change their tokens into theme variables. See the upgrade documentation page for details. *note: If you have previously customized your invoice templates, you must update them to the new format (.tpl.php).

Thanks in large part go to TR, who has helped maintain the issue queue and fix many, many bugs.

Ubercart 3.0 Alpha 3:
No, your senses do not deceive you. Ubercart is now integrated with the Rules module! Rules has long been the standard way for Drupal sites to take actions as various events occur. Rules 2 for Drupal 7 will bring even greater flexibility and power to site administrators than ever before. And all of Ubercart's data will be available through the Rules interface and API. Ubercart is being developed with the latest versions of Drupal and Rules, so if anything breaks during testing, it shouldn't be long before a fix is available.

Testing:
The short and sweet is, please test the 3.0 alpha 3 release. Alpha 3 IS NOT READY FOR PRODUCTION, but all the major changes for 3.0 are complete and it is ready for anyone and everyone "kick the tires." The upgrade path from 2.0 to 3.0 still needs some work, but most of the issues are dependent on completion of the Drupal 6- Drupal 7 upgrade path. As always, bugs, feature request, etc... can be posted to the issue queue.

Development Road Map:
With the release of 3.0 Alpha 3 we have achieved our primary goals for the 3.0. The goals were to port Ubercart to Drupal 7, to integrate with Rules, and to provide a set of "coder rules" to allow module developers to easily update Ubercart sub-modules to 3.0. We have a few small tasks yet to complete like menu cleanup, replacing the catalog with a default view etc... But at this point we are basically waiting on Drupal 7 to reach beta and the be released. We will continue to implement these small features until Drupal 7 reaches Beta (rumored to be in 2-4 weeks), and then proceed in lock step with Drupal through beta to a stable release. More information on the road map can be found on the official road map page and you can always make suggestions as comments on the road map, or as "feature requests" in the issue queue.

Cheers,
The Ubercart Team

Joined: 07/16/2008
Juice: 392

Thanks for all your guys's hard work on these two updates. I'm really looking forward to using Drupal 7, and the fact that Ubercart is ready for it will make my transition that much easier.

As for the Drupal 6 - Ubercart 2.3 update. I'm glad to see that another "box" has been enabled for Ubercart. Thickbox is really dated and Lightbox2 was getting too old for me as well. ColourBox is a nice addition (although I like Prettybox).

Also I noticed that the new 2.3 version is roughly 200k larger. I'm not complaining about the size, but this huge difference makes me wary on upgrading my live sites . Why is the new version so much bigger? Surely it can't all be code changes and additions. Was colourbox integrated into the module? Did someone leave some extra crud in the zip?

Joined: 08/07/2007
Juice: 6784

That extra size is from the translation files that I decided to leave in this time. I thought that by now if they were in CVS, then people were saying they were good enough to be included. So, if there are problems with the translations there, you can let me know in an issue, or just commit the fixes yourself. Everyone has access to the translation folders of every project.

Joined: 04/01/2008
Juice: 398

Wow!
Great work, many thanks!

ktf
ktf's picture
Joined: 06/22/2009
Juice: 71

Not sure if this is the right place to ask this, but is there anything special I need to do to get Colorbox running on 2.3?

I've done this:
- downloaded and enabled the jquery_update and colorbox module
- downloaded colorbox itself from their site and extracted it to sites/all/libraries
- changed the ubercart image widget from lightbox2 to colorbox

But now, clicking on a product image just loads the full image in the browser, with no widget. Is there something I've missed?

Thanks for a great release, by the way! You guys are awesome.

TR
TR's picture
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3318

Have you tried Lightbox2 or Thickbox? If all are broken, then it's your setup that's the problem.

<tr>.
ktf
ktf's picture
Joined: 06/22/2009
Juice: 71

Lightbox2 is working fine, I just figured I'd go for something a little prettier.

Joined: 11/09/2009
Juice: 7

Thankyou for your hard work! Smiling

|| www.ubuntumagazine.org || www.bitsstudio.com || THANKYOU for develop and share Ubercart! ||

TR
TR's picture
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3318

I tested on a clean install of Ubercart 2.3 and found this can happen if you don't install Colorbox correctly - read the Colorbox README.txt for details. The main thing to watch out for is you need the 6.x-2.x version of jQuery Update - NOT the 6.x-1.x version. If you have the 6.x-1.x version, you will see a JavaScript error on your product page which causes the Colorbox script to fail. You will have to download the 6.x-2.x version of jQuery Update then run update.php. Also, be sure to download and install the Colorbox plugin as described in the README. If you do all that then Colorbox behaves as expected.

<tr>.
Joined: 04/24/2009
Juice: 315

I've reported issues w/ jQuery Update 6.x-1.1 for other stuff too and would have to recommend 6.x-2.0-alpha1 for any setup.

--
I work here and made these Ubercarts.

ktf
ktf's picture
Joined: 06/22/2009
Juice: 71

Ah, I was using JQuery update 1.1, not 2.0-alpha. That fixed the problem, and Colorbox is now working wonderfully!

Thanks again for a great release!

Joined: 06/30/2010
Juice: 4

Thank you evertyhing, what you did... I like Ubercart.

But I have to know something. The product export / import is not was really good in the ubercart 2. I mean I have 150-200 product in the webshop, and I have to change every week a 30-50 prices and every day the stock level... I can't import from a excel or xml file. I was waiting this Ubercart 3, maybe this version give me this feature, but I can't see anything like this in the Road map.
I would like to ask, I missed something, or it's coming in the 3th or 4th version?
I have to build webshops sometimes, and this is my only problem with the drupal/ubercart system.

Joined: 07/16/2008
Juice: 392

@attishu have you looked into node import module?

Or more specifically the node_import extensions for ubercart.

http://www.ubercart.org/project/node_import_uc_stock

I do agree with you though, Ubercart is pretty tedious if you need to add many products a day. Hopefully it's something that can be improved by someone in the future.