Flat rate until a certain amount then free shipping

Posts: 36
Joined: 09/30/2007

Is it possible to configure ubercart's shipping to have a flat fee for shipping up the a certain amount, and then offer free shipping above that amount?

Posts: 1850
Joined: 08/07/2007
AdministratoreLiTe!

With Workflow-ng, you can set a condition on all of your shipping quotes so that they only work if the order's total is below a certain amount. Go to /admin/build/workflow_ng and click on the configurations from the uc_quote module. From there you can edit the conditions to suit your needs.

Posts: 36
Joined: 09/30/2007

As a follow up. I want to charge a flat rate for shipping below $200.
I turned on flat rate shipping only. I have a minimum ship charge set (for order totals below $200) in the admin>shipping-quote config area along with flat rate/orders checked.
I go to workflow_ng. From your above reply, I should see uc-quote in the event column of workflow_ng, I only see uc_flatrate. I added a condition to workflow_ng in trying to offer free shipping over a certain order balance. In setting up the workflow_ng conditions, I have check the order balance AND Numeric Comparison greater than $200. Action update the order status.

Where do I tell it to make shipping $0 if over $200 ? Very confusing.
Do I need to code that into uc_quote? Thanks.

Posts: 1850
Joined: 08/07/2007
AdministratoreLiTe!

Think about it backwards. Instead of offering free shipping for orders over $200, charge a shipping fee for orders less than or equal to $200. Then orders that are more than that won't meet the conditions and won't be charged for shipping.

Sorry I misled you about uc_quote configurations. I really meant uc_flatrate, specifically the one about flat rate per order.

Posts: 86
Joined: 09/24/2007
Getting busy with the Ubercode.

Semi hijack, I tried to do this but when I go to workflow and try to set up the conditions, I cannot enter a dollar ammount for the check. Do I need to get the latest bazzar version?

Posts: 1850
Joined: 08/07/2007
AdministratoreLiTe!

Yeah, it looks like you should. There have been several conditions for orders that have been added since alpha 8.

Posts: 86
Joined: 09/24/2007
Getting busy with the Ubercode.

my balance comparisons are still fixed at $0.00 for equal, less, greater. any thoughts on how to fix that? I have the dev version of both ubercart and workflow-ng. thanks and enjoy the holiday

Posts: 1850
Joined: 08/07/2007
AdministratoreLiTe!

Well, that particular condition wasn't working at all before Friday. If the condition is only showing $0.00, that's a different matter, though. Since you posted on Sunday, I assume you updated your code then. You may have to delve into the workflow_ng_cfgs table to see what the configuration has been set to. Since it's a binary field, you have to tell phpMyAdmin to export the table and not use hex values for that field.

Don't know what would cause the interface to not work.

Posts: 99
Joined: 11/10/2007
Bug Finder

I set up weight rate to $0 in admin then $0 under each product. I then setup a workflow condition to only show when an order reaches a certain amount. In my case Free shipping on orders Over $199.00. I then changed the name of "Shipping" to "Your Order Qualifies For Free Shipping" under Localization. This works great with USPS and UPS and shows Free shipping with the other real time rates in case a customer still wants express shipping etc. even when they qualify for free shipping.