woothemes/woocommerce — Issue #711: Bug: Shipping/Tax When Logged in and using Table Rate Shipping
Author: 61pixels
Created: 2012-02-27 20:41:37+00:00
State: open

Here is a weird bug, that I just noticed today. I've tested it in all browsers and have been replicate it in each, but it does seem intermittant, in that sometimes it seems to work, other times it doesn't.

First... If you are not logged in, and go to checkout, the Country and State fields are select boxes (correct), you can succesfully select country/state with the drop-downs. Shipping and tax are calculated properly.

But... It seems sometimes, if I am logged in under my account, and go to checkout, the State field is NOT a drop-down, but instead it is a text-input field with the full state listed (ex: Florida). This causes issues with shipping and tax. It tells me they could not find any shipping for my location, and it is not adding tax appropriately.

After debugging, I realized this is probably because those are based on the VALUE of the normal select box, aka the two digit label (FL, PA, etc). If I change the value in the text box to FL, the tax, and shipping methods show up.

My scenario for shipping is... ONLY Table Rate is enabled. And I have 3 options applied to all 50 states. Screenshot attached for reference.

So I guess the main issue is that the state field is an input box, and not a select box when logged in. This of course was not an issue with previous versions of Woo, so I'm not sure if it is a TRS, or Woo bug.. I'm running both 1.4.4 on both.

http://www.61pixels.com/images/shipping-erros.png