[-] FO : #PSCFV-3100 - With OPC shpping cost are not refreshed correctly

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16270 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-09 08:07:46 +00:00
parent 81e6d2c488
commit b8cf0fe3e4
+1 -1
View File
@@ -2310,7 +2310,7 @@ class CartCore extends ObjectModel
public function getTotalShippingCost($delivery_option = null, $use_tax = true, Country $default_country = null)
{
if (is_null($delivery_option))
$delivery_option = $this->getDeliveryOption($default_country);
$delivery_option = $this->getDeliveryOption($default_country, false, false);
$total_shipping = 0;
$delivery_option_list = $this->getDeliveryOptionList();