2 replies [Last post]
Watergeus's picture
Offline
Joined: 06/28/2009
Juice: 3
Was this information Helpful?

I'm looking to use Ubercart to replace our current shopping cart which isn't integrated with drupal but it seems that v2.0 has taken a distinct step backwards without workflow-ng.

We need to have shipping rules that vary according to the delivery country as well as the weight but we don't use UPS/Fedex; also we need discounts for members. UC Discount appears to be almost there, and uc_discounts_alt certainly is, but to make shipping rules seems to need php at the moment. I can make up those rules but I want the staff to be able to change them and they wouldn't be able to do it in php.

Am I missing something? The manual says that delivery is the most complicated bit and it is of course right. So it would be nice to have some support.

Chris

thill's picture
Offline
Joined: 01/25/2008
Juice: 815
Re: Flexible shipping and discount rules

I firmly believe leaving behind workflow-ng in favor of conditional actions was a good move. I have yet to come across something I can't do with CA that I could do with with workflow-ng.

You need to create your shipping quote methods, and then set conditions and actions to return the quote methods based on the order details.

For example, check the order's country, and return X shipping quote.

Or check that the order has 4 products and then return the free shipping methos.

rickupdegrove's picture
Offline
Joined: 03/24/2011
Juice: 10
Re: I can't do with CA that I could do with with workflow-ng.

I have never used workflow-ng but I did find out the hard way that......
[13:31] <rickupdegrove> D6 - I have a flat rate and fedex shipping for the entire store but some items are special and they use the flat rate. In Conditional Actions I tried "Order has a shipping quote from a particular method" -< "Shipping quote method: Flat Rate" left "Negate" unchecked and in the second CA "Order has a shipping quote from a particular method" I checked negate for Fedex but I only get fedex on...
[13:31] <rickupdegrove> ...quote (once I added a 1 lb weight to the product which I do not really need - Although I have read everything I can find at http://www.ubercart.org/faq I am stuck

[13:39] <tr> rickupdegrove: You can't use CA in that way because the quotes are run asynchronously, so you can't test to see if there's already a quote of another type.
[13:42] <tr> rickupdegrove: There's no way to do what you're asking through the user interface. What you really need is an "AND" of the shipping calculations, rather than an "OR" as is currently done.

[13:55] <rickupdegrove> well.. I have seen this question asked like a couple dozen times thanks for explanation and I guess its time to write a module or patch one
[13:56] <tr> rickupdegrove: I think that would be useful.

I must find a way...

It has always been easy to just add a editable Flat rate per product.. Now I have 1 Flat Rate, a Muftiflat Rate, a Fee (like a handling charge) All these were added because they seemed to offer a way around the fundamental problem below...

This is the problem in a nutshell:

If my company has two products:

Product-A only ships via Flat Rate.

Product-B only ships via FedEx.

Is there a way to disable FedEx shipping for Product-B and leave Flat Rate enabled for Product-A?

The answer is yes of course but...

Can a customer order both product A and product B in the same cart? in which case, who would you choose?

There the solution becomes exponentially difficult.

My idea was to see if I could hide FedEx if Flat rate was more that 1 penny and hite Flat rate if it was less than 1 penny. The reason for this is because upon checkout if you have Flat rate and FedEx then the shopper gets to choose shipping methods, there is no out of the box way, or easy to customize way to do this simple task

Then consider the "Can a customer order both product A and product B in the same cart? in which case, who would you choose?" question.

So the module idea I choose would probably work most of the time. However it would most definitely not work all of the time.

So I am going back to Ubercart Fee http://drupal.org/project/uc_fee but this matg not work exactly like I want either.

I will be back