// Cart display for free shipping

This commit is contained in:
dMetzger
2012-05-21 18:53:30 +00:00
parent db568ec2bf
commit 0c5c1ae90f
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ class CartRuleCore extends ObjectModel
if ($this->free_shipping && ($filter == CartRule::FILTER_ACTION_ALL || $filter == CartRule::FILTER_ACTION_SHIPPING))
{
if (!$this->carrier_restriction)
$reduction_value += $context->cart->getPackageShippingCost(is_null($package) ? null : $package['id_carrier'], $use_tax, $context->country, is_null($package) ? null : $package['products']);
$reduction_value += $context->cart->getOrderTotal($use_tax, Cart::ONLY_SHIPPING, is_null($package) ? null : $package['products'], is_null($package) ? null : $package['id_carrier']);
else
{
$data = Db::getInstance()->executeS('