From 95036efbfa0318817fdd066307279de7c66b15c3 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 31 Jan 2012 10:50:24 +0000 Subject: [PATCH] // Bug Fix : use the PS_COUNTRY_DEFAULT to calculate shipping fees --- classes/Carrier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Carrier.php b/classes/Carrier.php index c29cfd16f..599775a2c 100644 --- a/classes/Carrier.php +++ b/classes/Carrier.php @@ -1065,7 +1065,7 @@ class CarrierCore extends ObjectModel } else { - $country = new Country(Context::getContext()->shop->getAddress()->id_country); + $country = new Country(Configuration::get('PS_COUNTRY_DEFAULT')); $id_zone = $country->id_zone; } $carriers = Carrier::getCarriersForOrder($id_zone, Context::getContext()->customer->getGroups());