// Merge -> revision 8059
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8062 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1515,7 +1515,7 @@ class UspsCarrier extends CarrierModule
|
||||
'width' => ($width > 0 ? $width : 1),
|
||||
'height' => ($height > 0 ? $height : 1),
|
||||
'depth' => ($depth > 0 ? $depth : 1),
|
||||
'weight' => ($weight > 0 ? $weight : 0.5),
|
||||
'weight' => ($weight > 0.1 ? $weight : 0.1),
|
||||
'packaging_type' => Configuration::get('USPS_CARRIER_PACKAGING_TYPE'),
|
||||
'packaging_size' => Configuration::get('USPS_CARRIER_PACKAGING_SIZE'),
|
||||
'machinable' => Configuration::get('USPS_CARRIER_MACHINABLE'),
|
||||
@@ -1541,7 +1541,7 @@ class UspsCarrier extends CarrierModule
|
||||
'width' => ($product['width'] ? $product['width'] : 1),
|
||||
'height' => ($product['height'] ? $product['height'] : 1),
|
||||
'depth' => ($product['depth'] ? $product['depth'] : 1),
|
||||
'weight' => ($product['weight'] ? $product['weight'] : 1),
|
||||
'weight' => ($product['weight'] > 0.1 ? $product['weight'] : 0.1),
|
||||
'packaging_type' => (isset($config['packaging_type_code']) ? $config['packaging_type_code'] : Configuration::get('USPS_CARRIER_PACKAGING_TYPE')),
|
||||
'packaging_size' => (isset($config['packaging_size_code']) ? $config['packaging_size_code'] : Configuration::get('USPS_CARRIER_PACKAGING_SIZE')),
|
||||
'machinable' => (isset($config['machinable_code']) ? $config['machinable_code'] : Configuration::get('USPS_CARRIER_MACHINABLE')),
|
||||
|
||||
Reference in New Issue
Block a user