improve address detection logic
This commit is contained in:
@@ -10,7 +10,9 @@ class Zh_UspsLabelsOverride extends Zh_UspsLabels
|
||||
* Intercept the rate calculation call.
|
||||
*/
|
||||
public function getPackageShippingCost($params, $shipping_cost, $products)
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
// 1. Check if Bridge Module exists and is active
|
||||
/** @var Usps_Api_Bridge $bridge */
|
||||
$bridge = Module::getInstanceByName('usps_api_bridge');
|
||||
|
||||
Reference in New Issue
Block a user