By healersource, @ubercart.org:

First I wanted to thank you guys for being on top of it and helping me out with my previous bugs..

And now on to the new bug..

My customer wants to ship ONLY via priority mail and as such wants to remove first class from the list of options.. When i uncheck the first class box and hit save, when the page reloads, the box is checked again.

Im not sure if this is deliberate or not.

Thanks

d

CommentFileSizeAuthor
#1 first-class.patch846 bytesIsland Usurper

Comments

Island Usurper’s picture

StatusFileSize
new846 bytes

No, not deliberate. The problem comes from a conflict between the USPS id for the First Class service and the way Drupal handles checkbox values.

It looks like I'm not receiving any first-class service quotes on my test site, but that might be because my products don't qualify. Test out this patch to make sure you can turn the service on and off.

Island Usurper’s picture

Status: Active » Needs work

Haha

On September 13th, 2007 healersource says:

Well The patch works great... Im able to uncheck the 'First Class' option in the admin interface now.

Unf the rate quote is still coming back with First Class rates.

So close and yet so far..

Re: Haha

On September 14th, 2007 Lyle says:

Look in your variable table and tell me what the value of 'uc_usps_services' is.

Was this ever fixed?

On October 31st, 2007 VitaLife says:

I'm getting USPS First Class on my quotes but I have teh box unchecked, we use priority mail, but don't ship first clas..

Jim

My Variable String

On October 31st, 2007 VitaLife says:

Here is my usps service string.

a:12:{i:1;i:1;i:17;i:17;s:4:"zero";i:0;i:2;i:0;i:3;i:0;i:4;i:0;i:5;i:0;i:6;i:0;i:7;i:0;i:12;i:0;i:13;i:0;i:16;i:0;}

Island Usurper’s picture

Version: 5.x-1.0-alpha8 » 5.x-1.0-beta7
Status: Needs work » Fixed

After finding more First-class service methods (wish I could find that thread now...), it looks like this is fixed in beta 7. I'll mark this fixed until told otherwise.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.