fix issue vi
This commit is contained in:
commit
b69bd11d6b
@ -77,7 +77,7 @@ function getProductId()
|
|||||||
LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (pl.`id_product` = p.`id_product`)
|
LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (pl.`id_product` = p.`id_product`)
|
||||||
LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
|
LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
|
||||||
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al ON (al.`id_attribute` = pac.`id_attribute`)
|
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al ON (al.`id_attribute` = pac.`id_attribute`)
|
||||||
LEFT JOIN `'._DB_PREFIX_.'product_attribute_image` i ON (i.`id_product` = pa.`id_product`)
|
LEFT JOIN `'._DB_PREFIX_.'product_attribute_image` i ON (i.`id_product_attribute` = pa.`id_product_attribute`)
|
||||||
WHERE pa.`ean13` = '.pSQL($ean).'
|
WHERE pa.`ean13` = '.pSQL($ean).'
|
||||||
AND pl.`id_lang` = '.(int)$cookie->id_lang.'
|
AND pl.`id_lang` = '.(int)$cookie->id_lang.'
|
||||||
ORDER BY pa.`id_product_attribute` DESC
|
ORDER BY pa.`id_product_attribute` DESC
|
||||||
|
Loading…
Reference in New Issue
Block a user