As discussed at mamboportal.com, some user have experienced problems with the Shipping methods (methods don't appear or you're asked to select another one...) in phpShop-for-MOS 1.0 RC3.
This is caused by using non-numeric ZIPs (e.g. U.K. and CANADA have curious ZIPs). The new shipping module from RC3 works with numeric ZIP ranges. A ZIP like "TX3 SH53" cannot be in any range ;-)
So users who experience those problems must make some changes to the existing code....
in ps_shipping.php make these changes:
function get_rates(
....
// $q .= "shipping_rate_zip_start = '" . $values["zip"] . "' AND ";
// $q .= "shipping_rate_zip_end >= '" . $values["zip"] . "' AND ";
....
(Comment out both lines)
function rate_id_valid(
....
// ($db-f("shipping_rate_zip_start" ) = $zip) and
// ($db-f("shipping_rate_zip_end" ) >= $zip) and
....
(Comment out both lines)
in ps_checkout.php make these changes:
function validate_shipping_method(
...
if (
(!strstr($dbs->f("shipping_rate_country" ),$dbu->f("country" ))) or
($dbs->f("shipping_rate_weight_start" ) > $totalweight) or
($dbs->f("shipping_rate_weight_end" ) < $totalweight)
) {
$d["error"] = _PHPSHOP_CHECKOUT_ERR_OTHER_SHIP;
return False;
}
Copy and paste into corresponding area.
That should do it...