Home & Garden

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`, MAX(stock.stock_status) AS `stock_status` 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` ON e.entity_id = stock.product_id GROUP BY `e`.`entity_id` ORDER BY `stock`.`stock_status` DESC

ORDER BY Clauses:

stock.stock_status DESC

Stock Distribution (Total: 21 products):

Stock Status "0": 2 products

Stock Status "1": 19 products

Product Samples:

Pos ID SKU Name Stock
1 11974 286568410736 Kamado Joe JoeTisserie 24 inch Big Joe G 0 (OUT OF STOCK)
2 20802 286584503041 Vava EVOLVE Split View Screen Baby Monit 1 (IN STOCK)
3 23561 286589557366 Govee RGBIC LED Strip Lights, 16.4ft Sma 1 (IN STOCK)
4 19191 286541448988 Portable DVD Player Insignia™ 10" NS-P 0 (OUT OF STOCK)
5 14741 277115995062 CoComelon My First Sing-Along Boombox Mu 1 (IN STOCK)
6 20545 277126264408 CyberPower 950VA / 510W PC Battery Backu 1 (IN STOCK)
7 23598 277131919443 Funko POP! #1352 Indiana Jones SALLAH Vi 1 (IN STOCK)
8 21778 277128470763 Metra Steering Wheel Control Interface F 1 (IN STOCK)
9 21759 277128438248 Metra BY-GM11-SWC Steering Wheel Control 1 (IN STOCK)
10 11965 286556227610 The Object of Beauty DVD Movie Full Scre 1 (IN STOCK)
11 11966 286556269735 Kenwood - Road Series 12" Single Voice C 1 (IN STOCK)
12 11968 286560727712 Kenwood - Road Series 12" Single Voice C 1 (IN STOCK)
13 11967 286560717312 Kenwood - Road Series 12" Single Voice C 1 (IN STOCK)
14 11970 286563566917 Genuine Dyson Wall Mount Docking Station 1 (IN STOCK)
15 11971 286566095118 Core Innovations - Amplified Bar HDTV In 1 (IN STOCK)
16 11972 286568323356 Baby Monitor VTech DM221 Digital Audio T 1 (IN STOCK)
17 13279 286571172223 Pioneer TS-WX1010A - 10" Active Sealed s 1 (IN STOCK)
18 11973 286568347758 CyberPower 650VA Battery Back-Up System 1 (IN STOCK)
19 14633 286573689044 Kenwood KSC-PSW8 8" Class-D Compact Powe 1 (IN STOCK)
20 13400 286571370525 Kenwood KSC-PSW8 8" Class-D Compact Powe 1 (IN STOCK)
21 19014 286581315080 Wireless Meat Thermometer Meater Plus Di 1 (IN STOCK)
View as Grid List

Items 1-12 of 21

Set Descending Direction
Page
per page
Copyright © 2023-present Chillicothe Market All rights reserved.