// BugFix with carrier module and multishipping
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10267 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-1
@@ -1785,7 +1785,10 @@ class CartCore extends ObjectModel
|
||||
if (array_key_exists('id_carrier', $module))
|
||||
$module->id_carrier = $carrier->id;
|
||||
if ($carrier->need_range)
|
||||
$shipping_cost = $module->getPackageShippingCost($this, $shipping_cost);
|
||||
if (method_exists($module, 'getPackageShippingCost'))
|
||||
$shipping_cost = $module->getPackageShippingCost($this, $shipping_cost, $products);
|
||||
else
|
||||
$shipping_cost = $module->getOrderShippingCost($this, $shipping_cost);
|
||||
else
|
||||
$shipping_cost = $module->getOrderShippingCostExternal($this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user