Plugin Debug - Collection Data:
Collection loaded: NO
SQL:
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` 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 `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')) ORDER BY `stock_status_index`.`stock_status` DESC, FIELD(e.entity_id, ...) DESC
Position | ID | SKU | Stock Status |
---|---|---|---|
1 | 911 | 286297875467 | |
2 | 26 | 254107820027 | |
3 | 416 | 286234217652 | |
4 | 900 | 286295192457 | |
5 | 901 | 286294130286 | |
6 | 916 | 276841802932 | |
7 | 951 | 273407820004 | |
8 | 953 | 257407650009 | |
9 | 1128 | 198507820001 | |
10 | 1129 | 163807820002 |
InstockProductsFirst Debug
SQL Query:
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`.`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 `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')) LEFT JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id WHERE (e.entity_id IN (911, 26, 416, 900, 901, 916, 951, 953, 1128, 1129, 1130, 1138, 1164, 1165, 1166, 1167, 1172, 1173, 1174, 1175, 1176, 1177, 1179, 1180, 1192, 1193, 1269)) ORDER BY FIELD(e.entity_id,911,26,416,900,901,916,951,953,1128,1129,1130,1138,1164,1165,1166,1167,1172,1173,1174,1175,1176,1177,1179,1180,1192,1193,1269)
ORDER BY Clauses:
Total ORDER BY clauses: 1 Order #1: FIELD(e.entity_id,911,26,416,900,901,916,951,953,1128,1129,1130,1138,1164,1165,1166,1167,1172,1173,1174,1175,1176,1177,1179,1180,1192,1193,1269)
Stock Distribution (Total: 27 products):
Stock Status "null": 27 products
Product Samples:
Pos | ID | SKU | Name | Stock |
---|---|---|---|---|
1 | 911 | 286297875467 | Wireless Meat Thermometer Meater Plus Di | null |
2 | 26 | 254107820027 | Wall Shelf Bracket Distressed White Orna | null |
3 | 416 | 286234217652 | Women's Boots with Memory Foam Insole - | null |
4 | 900 | 286295192457 | Bearpaw Retro Super Shorty Size 4 Youth | null |
5 | 901 | 286294130286 | Traeger Timberline Outdoor Kitchen Trim | null |
6 | 916 | 276841802932 | Otterbox Elevation 20 Tumbler Thermal Li | null |
7 | 951 | 273407820004 | Decorative Trivet Square Cast Iron Hot P | null |
8 | 953 | 257407650009 | Real Sand Castle Figurine 118 4" Tall Co | null |
9 | 1128 | 198507820001 | Double Sided Hanging Welcome Sign Squirr | null |
10 | 1129 | 163807820002 | Firefighting Aluminum Sign Firemans St F | null |
11 | 1130 | 019700410016 | Cast Iron Wall Hook Rack Antique Skeleto | null |
12 | 1138 | 144307820002 | Aluminum Sign You Need A Drink Home Bar | null |
13 | 1164 | 229207820005 | Please Close The Gate Sign Decorative Pl | null |
14 | 1165 | 274207820001 | Chicken Trivet Decorative Cast Iron Hot | null |
15 | 1166 | 198507820003 | Double Sided Hanging Welcome Sign Ornate | null |
16 | 1167 | 274811615606 | Harley Quinn Costume Girl M (8-10) DC Su | null |
17 | 1172 | 275453521123 | Vintage Cracker Jack Gumball prize charm | null |
18 | 1173 | 275453524384 | Vintage Cracker Jack Gumball prize charm | null |
19 | 1174 | 275453537797 | Vintage Cracker Jack Gumball prize charm | null |
20 | 1175 | 275458939770 | vintage Cracker Jack Gumball charm prize | null |
21 | 1176 | 275458944602 | vintage Cracker Jack Gumball charm prize | null |
22 | 1177 | 275458949486 | vintage Cracker Jack charm prize Boy on | null |
23 | 1179 | 275459221209 | vintage Cracker Jack charm prize Silvery | null |
24 | 1180 | 275459274008 | vintage Cracker Jack charm prize Metalli | null |
25 | 1192 | 229207820003 | Cast Iron Plaque Sign - Please Close The | null |
26 | 1193 | 276301204436 | Baby Proofing American Electrical Outlet | null |
27 | 1269 | 019707820007 | Skeleton Key Style Wall Hook Coat Rack V | null |