9 replies [Last post]
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Was this information Helpful?

This is a note similar to my last pre-release notice. I'm about to roll out Ubercart Alpha 7d, the last minor release before we move on to Alpha 8, Beta, and Beyond. Eye-wink

This release has seen a major change to the way order statuses are handled. As such, contributed modules that depend on order statuses being numerical or that used the previous order status system to check when an order is updated will need to be updated. Order statuses have been made much more flexible, and a few well documented functions now exist to help module developers.

The install files include updates that should migrate your orders from the previous order status system to the new. This is no guarantee, but it has worked in testing. As always, you will definitely want to make a backup of your database before giving the new version a test drive.

The new order status system is based off of order states (major workflow stages) and statuses (minor workflow stage titles). For example, the states defined by the core modules include Canceled, In checkout, Post checkout, Payment received (if you have enabled the payment module) and Completed.

Ubercart also defines default statuses for each of these states. You can attach as many statuses to a particular state as you want. So... by default, Ubercart creates a Pending and a Processing order status for the Post checkout state. When an order is completed at checkout, it gets set to the default order status for the Post checkout state (which is normally Pending). You may adjust these or add extra order statuses for use when processing orders in the Order workflow settings page at /admin/store/settings/orders/edit/workflow.

There is certainly still some more work to be done, like integration with Drupal's actions module, but that will come in later versions. For now, I just hope it works for everyone. Eye-wink

The docs:

Many thanks to all those that tested out the Bazaar version so far. If you still have a chance to do it, please let me know how it goes. I'll be trying to post 7d in the next three hours sometime.

psynaptic's picture
Offline
Early adopter... addicted to alphas.Not KulvikTheminator
Joined: 08/28/2007
Juice: 731
Re: Alpha 7d and Order Statuses

Hey Ryan, development moves quick over here. Can't wait to get my hands on it and do some testing.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Alpha 7d and Order Statuses

In addition, this release will see the resolution of a problem that's plagued Übercart from its inception. Making a new revision of a product will save the old data in the previous revision. Basically, you can keep a record of the history of a product's cost, price, and physical attributes, as well as CCK data.

The core modules that have been affected the most, besides uc_product and uc_product_kit, are the shipping method modules that add information to the product form. If you have a shipping method that is based off of any of the core Übercart shipping methods, you should try to update them. Bazaar users can see the changes that were made using this command:
bzr diff -r 398..399 shipping/uc_flatrate

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Alpha 7d and Order Statuses

As always, the release will be delayed as I polish off the finishing touches. Basically, I talked with Gabor at Drupalcon and got some tips for making sure our translation templates are up to snuff. I've been checking our files for compliance and will put the release out in the morning w/ the most up to date templates.

cosmo83@drupal.org's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 236
Re: Re: Re: Alpha 7d and Order Statuses

Are we onto 7d except for the translation templates?
http://www.vingowine.com

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Alpha 7d and Order Statuses

Yep... still trying to figure out some silly CVS stuff. My keyword substitution isn't working as expected in SmartCVS or TortoiseCVS, so it's slowing me down. I'm about to just say screw it and move on. Eye-wink

cosmo83@drupal.org's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 236
Congrats...My site is

Congrats...

My site is updated to 7d then.. People can go ahead and buy from the store Laughing out loud

I have a few ideas/suggestions/requests for 8. Especially Am looking for reports,

Then the next part is the inventory. There are few modules which do the part , but they arent integrated.

For example my module works good for Credit Card purchases, but aint work for Paypal Checkout.

The next thing is also the packages/shipments. Am trying to code the fedex label printing module and it seems highly sophisticated. Need to simplify this for more integrations. I will be working on a full-fledged Fedex / DHL Module.

The next thing thats been troubling me is the shipping quotes. The shipping quotes right now are country based. Is there any plan for Zone - wise / ZipCode- Wise. Iam having this issue because we as a wine industry have regulations that we cannot ship to certain states by Fedex , But DHL does allow Express shipping to these states. By restricting shipping to the states, it will be better, right now iam just disabling the states from the dropdown, but this method aint work if i have DHL quotes also. I expect some other ppl might have the same trouble. FOr example lets say u have two Flatrates one for some states, and other for the different states. This way u can have regional rates.

Hope Iam not asking too much

arbel's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 08/12/2007
Juice: 331
Re: Congrats...My site is

there's the world shipping module that allow you to choose zip codes and states and regions for each shipping rule...

it's new so, there are probably some bugs...

Idan

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Congrats...My site is

What does the FedEx module do if you try to get a quote to a disallowed state? I would expect it to return an error, which wouldn't be shown to the customer. If you have other quoting modules, they should show up too. So, if a module existed for DHL, I would think you could have both enabled for the entire country. If DHL returns a quote and FedEx doesn't, then the customer just has fewer choices. If they see options for both, they can just choose.

cosmo83@drupal.org's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 236
Re: Re: Congrats...My site is

Fedex does return the quote, beacuse the APi ha not inbuilt any regulations yet.

So I shd be able to kick those quotes out programatically.

http://www.vingowine.com