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 = 8
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 (452, 259, 373, 374, 375, 376, 387, 451, 485, 494, 575, 488, 378, 496, 931, 932, 934, 942, 943, 953, 952, 933, 951, 1069, 1059, 938, 947, 778)) ORDER BY sorting_position.position desc, FIELD(e.entity_id,452,259,373,374,375,376,387,451,485,494,575,488,378,496,931,932,934,942,943,953,952,933,951,1069,1059,938,947,778) , CAST(sort_priority AS SIGNED) DESC
-
-5%PDF-Pathfinder 2ed: Guía del Mundo de Presagios PerdidosPrecio habitual 10,50 € Precio especial 9,98 €
-
-5%PDF-Pathfinder 2ed: Era de las cenizas 3: El mañana debe arderPrecio habitual 6,30 € Precio especial 5,99 €
-
-5%PDF-Pathfinder 2ed: La era de las Cenizas 6: Promesas incumplidasPrecio habitual 6,30 € Precio especial 5,99 €
-
-5%PDF-Pathfinder 2ed: La Era de las cenizas 5: Contra la tríada escarlataPrecio habitual 6,30 € Precio especial 5,99 €
-
-5%PDF-Pathfinder 2ed: Guía de personajes de Presagios PerdidosPrecio habitual 12,25 € Precio especial 11,64 €
-
-5%PDF-Pathfinder 2ed: La Era de las Cenizas 2: La secta de las cenizasPrecio habitual 6,30 € Precio especial 5,99 €
-
-5%PDF-Pathfinder 2ed: La Era de las cenizas 4: Fuegos de la Ciudad EmbrujadaPrecio habitual 6,30 € Precio especial 5,99 €