Post by theshmo891 » Thu Jan 14, 2016 8:34 am

I have looked exhaustively through the forums and everyone points to the Geozones.

I only have one, named "US Shipping" it contains "United States" and "All Zones"

I am using Fedex, and have Geozone set to "US Shipping" All is tested and working fine for estimating shipping quotes on the front end.

The issues arises when I go to checkout as a customer. If the zip code is in Nevada (where we are located), it works. If it is in California it gives the error: Warning: No Shipping options are available. Please contact us for assistance!

I have changed the dimensions in the Fedex tab (from 12x12x12 to 1x1x1), made sure all items use the correct inches and pounds, deleted the other tax zones and geozones, I have no idea what the issue could be. Anyone have any ideas on what I am missing?

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by theshmo891 » Fri Jan 15, 2016 12:25 am

I have also made another zone in the US Shipping geozone that included US>California but it had no effect.

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Fri Jan 15, 2016 2:29 am

Can you try to add one for US -> Nevada?

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by theshmo891 » Fri Jan 15, 2016 3:03 am

David.Feldman wrote:Can you try to add one for US -> Nevada?
Added a US > Nevada zone under my "US Shipping" Zone. Tested it and Nevada address still generates a quote successfully, CA address still comes back an error.

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Fri Jan 15, 2016 3:27 am

NV works and CA fails? What about other states?

Something is indeed odd here but I don't know what. :(

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by theshmo891 » Fri Jan 15, 2016 5:09 am

David.Feldman wrote:NV works and CA fails? What about other states?

Something is indeed odd here but I don't know what. :(
Yup, it is the weirdest thing. I am completely out of ideas.

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Fri Jan 15, 2016 7:42 pm

Next step would be to manually debug the code and try to see where it's failing.

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by theshmo891 » Mon Jan 18, 2016 10:15 pm

Thanks David, there is nothing in the logs in the backend, is there a way to enable a more robust log for debugging?

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Tue Jan 19, 2016 1:51 am

No, I didn't mean that type of debugging. There is no actual error in the code--the problem is in the logic, meaning the PHP code is running fine, it's just not giving the results we want.

Thus you must trace through the code, step by step (or function by function) and put in print_r or similar statements to see what is being returned at each step, to find out where the logic is going awry. This is not a simple process. :(

If you don't have coding skills, you would have to hire a professional for this I'm afraid.

Unless someone has a better idea, that is...

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by theshmo891 » Sat Jan 23, 2016 3:09 am

David.Feldman wrote:No, I didn't mean that type of debugging. There is no actual error in the code--the problem is in the logic, meaning the PHP code is running fine, it's just not giving the results we want.

Thus you must trace through the code, step by step (or function by function) and put in print_r or similar statements to see what is being returned at each step, to find out where the logic is going awry. This is not a simple process. :(

If you don't have coding skills, you would have to hire a professional for this I'm afraid.

Unless someone has a better idea, that is...
Thanks for your response David. I did figure it out... I guess. I went into the Geozone, and deleted all the zones within the "US Shipping" zone, and poof, it now works. I honestly have no idea how selecting all zones in the US would limit other states but it was. Works now! I appreciate your assistance David!

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Sun Jan 24, 2016 9:32 pm

Very interesting. Glad you got it to work and happy I could help a bit. :)

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by theshmo891 » Fri Mar 18, 2016 1:35 am

Scratch that! Didn't work. Had the issue come up again. I realized if there is no data in the "company name" portion, it checks out just fine.... Anyone have any ideas?!

Newbie

Posts

Joined
Fri Aug 13, 2010 5:20 am

Post by David.Feldman » Fri Mar 18, 2016 2:23 am

Hmm, that sounds odd, but if it's true, it's certainly sounds like a bug. All I could suggest would be tracing through the code, as mentioned above.

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am
Who is online

Users browsing this forum: Baidu [Spider] and 7 guests