Hoses & Sump Parts

SELECT DISTINCT `e`.*, `catstock_index`.`stock_status` AS `is_salable`, `price_index`.`price`, `price_index`.`tax_class_id`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price,price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `stock_status_index`.`stock_status` AS `is_salable` FROM `catalog_product_entity` AS `e` LEFT JOIN `cataloginventory_stock_status` AS `catstock_index` ON catstock_index.product_id = e.entity_id AND catstock_index.website_id = 0 AND catstock_index.stock_id = 1 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = 1 AND price_index.customer_group_id = 0 INNER JOIN (select category_id, product_id from catalog_category_product_index AS prodInd where prodInd.store_id=1 AND prodInd.visibility IN(2, 4) AND prodInd.category_id = 10 union select category_id, product_id from catalog_category_product AS ccp, catalog_category_entity cce where ccp.category_id = cce.entity_id and cce.parent_id = 10 union select category_id, product_id from catalog_category_product AS ccp, catalog_category_entity cce1, catalog_category_entity cce2 where ccp.category_id = cce1.entity_id and cce1.parent_id = cce2.entity_id and cce2.parent_id = 10) AS `prod_index` ON prod_index.product_id = e.entity_id INNER JOIN (select category_id, product_id from catalog_category_product AS prodInd where prodInd.category_id = 434 union select category_id, product_id from catalog_category_product AS ccp, catalog_category_entity cce where ccp.category_id = cce.entity_id and cce.parent_id = 434) AS `cat_prod_index` ON cat_prod_index.product_id = e.entity_id LEFT JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 ORDER BY `e`.`entity_id` ASC LIMIT 12

Search results for ''

Item(s)