// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16497 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
4e39c6d41e
commit
9273c14e87
1 file changed
+7
@@ -561,6 +561,13 @@ class AdminCartsControllerCore extends AdminController
|
|||||||
$currency->sign, '',
|
$currency->sign, '',
|
||||||
Tools::displayPrice(Tools::convertPrice($summary['total_price'], $currency), $currency)
|
Tools::displayPrice(Tools::convertPrice($summary['total_price'], $currency), $currency)
|
||||||
);
|
);
|
||||||
|
if (isset($summary['gift_products']) && count($summary['gift_products']))
|
||||||
|
foreach ($summary['gift_products'] as &$product)
|
||||||
|
{
|
||||||
|
$product['image_link'] = $this->context->link->getImageLink($product['link_rewrite'], $product['id_image'], 'small');
|
||||||
|
if (!isset($product['attributes_small']))
|
||||||
|
$product['attributes_small'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
return $summary;
|
return $summary;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user