// BugFix with carrier module and multishipping
This commit is contained in:
1 parent
54b80f48e4
commit
42b4711504
1 file changed
+4
-1
+4
-1
@@ -1785,7 +1785,10 @@ class CartCore extends ObjectModel
|
|||||||
if (array_key_exists('id_carrier', $module))
|
if (array_key_exists('id_carrier', $module))
|
||||||
$module->id_carrier = $carrier->id;
|
$module->id_carrier = $carrier->id;
|
||||||
if ($carrier->need_range)
|
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
|
else
|
||||||
$shipping_cost = $module->getOrderShippingCostExternal($this);
|
$shipping_cost = $module->getOrderShippingCostExternal($this);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user