// Bug Fix : use the PS_COUNTRY_DEFAULT to calculate shipping fees
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12837 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
0f27a5b955
commit
2d4a9167fa
1 file changed
+1
-1
+1
-1
@@ -1065,7 +1065,7 @@ class CarrierCore extends ObjectModel
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$country = new Country(Context::getContext()->shop->getAddress()->id_country);
|
$country = new Country(Configuration::get('PS_COUNTRY_DEFAULT'));
|
||||||
$id_zone = $country->id_zone;
|
$id_zone = $country->id_zone;
|
||||||
}
|
}
|
||||||
$carriers = Carrier::getCarriersForOrder($id_zone, Context::getContext()->customer->getGroups());
|
$carriers = Carrier::getCarriersForOrder($id_zone, Context::getContext()->customer->getGroups());
|
||||||
|
|||||||
Reference in new issue
Block a user