// Fix multi virtual uri on same domain for htaccess + products on multishop

This commit is contained in:
rMalie
2011-08-25 15:27:49 +00:00
parent a2b32dae95
commit 0adb0a7814
2 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -1437,7 +1437,7 @@ class ProductCore extends ObjectModel
FROM `'._DB_PREFIX_.'product` p
'.$context->shop->sqlAsso('product', 'p').'
WHERE p.`active` = 1
AND p.`id_product` IN ('.implode(', ', $ids_product).')
'.(($ids_product) ? 'AND p.`id_product` IN ('.implode(', ', $ids_product).')' : '').'
AND p.`id_product` IN (
SELECT cp.`id_product`
FROM `'._DB_PREFIX_.'category_group` cg