diff --git a/crossselling.php b/crossselling.php index 432cbe7..c65a4d0 100755 --- a/crossselling.php +++ b/crossselling.php @@ -174,6 +174,7 @@ protected function getOrderProducts(array $products_id) AND od.product_id NOT IN ('.$list_product_ids.') AND i.cover = 1 AND product_shop.active = 1 + AND p.visibility <> "none" '.(Group::isFeatureActive() ? $sql_groups_where : '').' ORDER BY RAND() LIMIT '.(int)Configuration::get('CROSSSELLING_NBR'));