6 replies [Last post]
Danny_Joris's picture
Offline
Joined: 05/09/2009
Juice: 199
Was this information Helpful?

It's hard not to lose my patience with UC. I love it, it's my only sollution for my online stores, but god, why can't it run the way it's suppost to run?

I've set up several flat rates. First, I only made a few for belgium, netherlands and luxembourg. These worked. I've added a few for Europe and the rest of the world and these don't work. I must have overlooked something, but i can't see what.

Is there anybody with a fresh view who can look at this? I'm really really tired of this...

I also have this calculation problem.

Many thanks in advance!
Cheers,
Danny

PreviewAttachmentSize
productproduct267.47 KB
Shipping quote via Europe + US more than 2kgShipping quote via Europe + US more than 2kg124.52 KB
CheckoutCheckout138.29 KB
Shipping quote settingsShipping quote settings120.12 KB
Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Checkout does not find the right flat rates. ...again.

Check your error logs to see that there isn't anything bad happening when shipping quotes are calculated. Use Firebug to see if anything at all is coming back from the POST requests to cart/checkout/shipping/quote.

Also, try making a flatrate method without any conditions on it. If it shows up, then the problem is with the conditions on your other rates and not with the quote system in general.

Danny_Joris's picture
Offline
Joined: 05/09/2009
Juice: 199
_

Hey Lyle,

Thanks so much for your reply.

I made a flatrate without conditions and it does show up. The 3 conditions for Belgium work perfect. The others don't work at all.

It's the first time i use firebug to look for POST request so I hope I'm doing it right. I used NET:enabled > XHR.
With cart/checkout/shipping/quote do you mean just visit them en see if there are any POST requests? I'm not sure what you mean with that.
If I go to cart, i have no requests. If I go to Checkout, I have 4 requests. (print screen in attachment).

I just noticed that ajax POSTs are being made as well. I guess you mean that. I put two screenshots in from when I tried to calculate shipping costs for Austria (as example). As I said earlier, Belgium (the only flat rate without multi-country selected) does work and returns as response:
"{ "flatrate_3---0": { "rate": 5.13, "format": "€5,13", "option_label": "Belgium 0-2 kg" } }"

Again, thanks for helping..

Cheers,
Danny

--EDIT: I tried to limit flat rate "netherlands + luxembourg" to only netherlands, but that didn't work either.

AttachmentSize
firebug-post (entering checkout) 116.16 KB
shipping-quote-POST calculate for Austria 87.84 KB
shipping-quote-REQUEST calculate for Austria 43.93 KB
Danny_Joris's picture
Offline
Joined: 05/09/2009
Juice: 199
_

Lyle, something is messed up here. For example first I had a flatrate called: "Netherlands + Luxembourg <1kg". I changed the name to "Netherlands + Luxembourg 350g - 1kg".

Now I've noticed when I press 'conditions' for that one, the title of the settings I'm building is "Netherlands + Luxembourg <1kg". Yes, the old name. So I'm wondering if I'm maybe editing the wrong settings? Do you have any idea?

Danny_Joris's picture
Offline
Joined: 05/09/2009
Juice: 199
_

Hey Lyle, I think I found it.

For some very unknown reason the Statuses of the Conditional Actions of all the flatrates (except for Belgium) were set to DISABLED. See, I don't know how this happened. If you add a new Condition to a flatrate, then the Condition would be ENABLED by default, no? I kinda suspect now that they were turned off when I changed the names of alot of the flatrates. It were just a few slight alterations, but they were changes. Is there any special reason to turn this off? I didn't even know you could enable or disable them! It took me 4 full days to discover this! Is is not good if Ubercart wants a 'smooth' and 'logic' workflow. If this is all written in a specified book about Ubercart, I wouldn't mind. I'd buy it immediatly, by the way (yes, that's a hint Eye-wink ).
Right now alot is kind of a 'trial and error workflow' in Ubercart.

Anyway, thanks for listening... Smiling

Cheers,
Danny

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: _

I don't think changing the name of your flatrates disabled the Conditional Actions predicates. Disabling and enabling the flatrates on the shipping methods form should affect the predicates, but I suspect that only works before you add conditions. That still doesn't explain how they were disabled in the first place, though, since when a flatrate method is created, it's enabled.

Glad you got it figured out.

autopoietic's picture
Offline
Joined: 07/28/2009
Juice: 52
Similar problem fixed