Comprar por
SELECT `e`.*, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, 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`, `at_featured`.`value` AS `featured`, IF(at_sort_priority.value_id > 0, at_sort_priority.value, at_sort_priority_default.value) AS `sort_priority`, IFNULL(review_summary.reviews_count, 0) AS `reviews_count`, IFNULL(review_summary.rating_summary, 0) AS `rating_summary`, `stock_status_index`.`stock_status` AS `is_salable` FROM `catalog_product_entity` AS `e`
INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1'
LEFT JOIN `catalog_product_entity_int` AS `at_featured` ON (`at_featured`.`entity_id` = `e`.`entity_id`) AND (`at_featured`.`attribute_id` = '137') AND (`at_featured`.`store_id` = 0)
LEFT JOIN `catalog_product_entity_varchar` AS `at_sort_priority_default` ON (`at_sort_priority_default`.`entity_id` = `e`.`entity_id`) AND (`at_sort_priority_default`.`attribute_id` = '154') AND `at_sort_priority_default`.`store_id` = 0
LEFT JOIN `catalog_product_entity_varchar` AS `at_sort_priority` ON (`at_sort_priority`.`entity_id` = `e`.`entity_id`) AND (`at_sort_priority`.`attribute_id` = '154') AND (`at_sort_priority`.`store_id` = 1)
LEFT JOIN `mst_sorting_index` AS `mst_sorting_index_1` ON mst_sorting_index_1.product_id = e.entity_id AND mst_sorting_index_1.store_id = 1
LEFT JOIN `mst_sorting_index` AS `mst_sorting_index_0` ON mst_sorting_index_0.product_id = e.entity_id AND mst_sorting_index_0.store_id = 0
LEFT JOIN `catalog_category_product_index_store1` AS `sorting_position` ON sorting_position.product_id = e.entity_id AND sorting_position.store_id = 1 AND sorting_position.category_id = 7
LEFT JOIN `review_entity_summary` AS `review_summary` ON e.entity_id = review_summary.entity_pk_value AND review_summary.store_id = 1 AND review_summary.entity_type = (SELECT `review_entity`.`entity_id` FROM `review_entity` WHERE (entity_code = 'product'))
INNER JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id WHERE (e.entity_id IN (4, 91, 97, 79, 20, 5, 2, 6, 103, 81, 95, 105, 119, 12, 15, 439, 436, 92, 116, 540, 86, 57, 28, 267, 104, 566, 177, 29, 336, 275, 168, 35, 41, 25, 382, 31)) ORDER BY sorting_position.position desc, FIELD(e.entity_id,4,91,97,79,20,5,2,6,103,81,95,105,119,12,15,439,436,92,116,540,86,57,28,267,104,566,177,29,336,275,168,35,41,25,382,31) , CAST(sort_priority AS SIGNED) DESC
Página
- Actualmente estás leyendo página 1
- Página 2
- Página 3
- Página Siguiente
Comprar por
Ahora comprando por
Opciones de compra
- Tipo de Jugador Familiar Eliminar este artículo