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`, IFNULL(review_summary.reviews_count, 0) AS `reviews_count`, IFNULL(review_summary.rating_summary, 0) AS `rating_summary`, `stock_status_index`.`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 `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 `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 `catalog_product_entity` AS `product` ON product.entity_id = e.entity_id
LEFT JOIN `inventory_stock_2` AS `stock_status_index` ON product.sku = stock_status_index.sku WHERE (e.entity_id IN (572250, 565832, 565828, 565736, 14718, 12431, 5465, 204295, 204296, 14488, 14489, 14490, 173894, 16302, 16303, 5466, 5467, 5468, 3263, 3288, 3289, 3290, 204292, 204293, 204294)) ORDER BY IFNULL(mst_sorting_index_1.factor_2_score, IFNULL(mst_sorting_index_0.factor_2_score, 0)) * 50 desc, FIELD(e.entity_id,572250,565832,565828,565736,14718,12431,5465,204295,204296,14488,14489,14490,173894,16302,16303,5466,5467,5468,3263,3288,3289,3290,204292,204293,204294)
-
[Black, Navy Blue]
SKU: OPT-PROSTRAP38
Model: 1501012, 1503012
Condition: New-In-Box
-
SKU: OPT-6501062
Model: 6501062
Condition: New-In-Box
-
SKU: OPT-6501032
Model: 6501032
Condition: New-In-Box
-
SKU: OPT-1001042
Model: 1001042
Condition: New-In-Box
-
SKU: OPT-5301422
Model: 5301422
Condition: New-In-Box
-
SKU: OPT-00220
Model: 6501082
Condition: New-In-Box
-
SKU: OPT-00105
Model: 9001218
Condition: New-In-Box
-
SKU: OPT-9001022
Model: 9001022
Condition: New-In-Box
-
SKU: OPT-9001252
Model: 9001252
Condition: New-In-Box
-
SKU: OPT-0501112
Model: 0501112
Condition: New-In-Box
-
SKU: OPT-0501122
Model: 0501122
Condition: New-In-Box
-
SKU: OPT-0501132
Model: 0501132
Condition: New-In-Box
-
SKU: OPT-6701062
Model: 6701062
Condition: New-In-Box
-
SKU: OPT-7801032
Model: 7801032
Condition: New-In-Box
-
SKU: OPT-7801056
Model: 306
Condition: New-In-Box
-
SKU: OPT-01111
Model: 1101111
Condition: New-In-Box
-
SKU: OPT-01121
Model: 1101121
Condition: New-In-Box
-
SKU: OPT-01261
Model: 1101261
Condition: New-In-Box
-
SKU: OPT-00104
Model: 9001208
Condition: New-In-Box
-
SKU: OPT-01161
Model: 1101161
Condition: New-In-Box
-
SKU: OPT-01211
Model: 1101211
Condition: New-In-Box
-
SKU: OPT-01221
Model: 1101221
Condition: New-In-Box
-
SKU: OPT-00093
Model: 5301002
Condition: New-In-Box
-
SKU: OPT-0401001
Model: 0401001
Condition: New-In-Box
-
SKU: OPT-7801052
Model: 7801052
Condition: New-In-Box