// Problem with product return

This commit is contained in:
mDeflotte
2011-12-22 09:39:44 +00:00
parent 2879ad59a4
commit 35aadde8c6
4 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -1933,10 +1933,10 @@ class CartCore extends ObjectModel
if (!isset($delivery_option[$id_address]))
foreach ($options as $key => $option)
if ($option['is_best_price'])
{
$delivery_option[$id_address] = $key;
break;
}
{
$delivery_option[$id_address] = $key;
break;
}
if (count($delivery_option) == 1)
$this->id_carrier = $this->getIdCarrierFromDeliveryOption($delivery_option);