// Bug Fix : use the PS_COUNTRY_DEFAULT to calculate shipping fees

This commit is contained in:
mDeflotte committed 2012-01-31 10:50:24 +00:00
1 parent 1fefdea4fc
commit 95036efbfa
1 file changed
+1 -1
+1 -1
View File
@@ -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());