diff --git a/classes/Product.php b/classes/Product.php index 000e4ee545263..4e7dc97ba4aac 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -5933,7 +5933,7 @@ public static function getFrontFeaturesStatic($id_lang, $id_product) if (!array_key_exists($id_product . '-' . $id_lang, self::$_frontFeaturesCache)) { self::$_frontFeaturesCache[$id_product . '-' . $id_lang] = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( ' - SELECT name, value, pf.id_feature, f.position + SELECT name, value, pf.id_feature, f.position, fvl.id_feature_value FROM ' . _DB_PREFIX_ . 'feature_product pf LEFT JOIN ' . _DB_PREFIX_ . 'feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = ' . (int) $id_lang . ') LEFT JOIN ' . _DB_PREFIX_ . 'feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = ' . (int) $id_lang . ')