// Carrier range price / weight for multishop + fix duplicate of carrier_lang when a new shop is created

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7716 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-25 10:32:56 +00:00
parent e08b70a242
commit 6814ae87c6
8 changed files with 234 additions and 135 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class CompareControllerCore extends FrontController
foreach ($curProduct->getFrontFeatures(self::$cookie->id_lang) AS $feature)
$listFeatures[$curProduct->id][$feature['id_feature']] = $feature['value'];
$cover = Product::getCover((int)$id, (int)$this->id_current_shop);
$cover = Product::getCover((int)$id);
$curProduct->id_image = Tools::htmlentitiesUTF8(Product::defineProductImage(array('id_image' => $cover['id_image'], 'id_product' => $id), self::$cookie->id_lang));
$curProduct->allow_oosp = Product::isAvailableWhenOutOfStock($curProduct->out_of_stock);