Re: In Store - Country Bug

Posts: 28
Joined: 09/14/2007
Bug Finder

Just wanted to confirm this problem. I've decided only to ship to the U.S. for now, and a country selection on my checkout page is unnecessary.

When I disable the country field in Checkout Settings, though, I get the following error message when I click Review Order in checkout:

Invalid option selected. Recalculate shipping quotes to continue.

Re-enabling the country field eliminates the error.

My interim solution is to change line 409 in uc_cart/uc_cart_checkout_pane.inc to ...

$class = strtolower(str_replace(array(' ', '/', ':'), '', $title));
$output .= '<tr class="' . $class . '"><td class="field-label">';

... and then using display:none in my stylesheet to hide it.

In Store - Country Bug By: Alaska (3 replies) Sat, 11/03/2007 - 03:38