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:
Total ORDER BY clauses: 1 Order #1: stock.stock_status DESC
Stock Distribution (Total: 46 products):
Stock Status "0": 39 products
Stock Status "1": 7 products
Product Samples:
Pos | ID | SKU | Name | Stock |
---|---|---|---|---|
1 | 21 | 283344114097 | Nautical Shelf Bracket Ship Anchor Custo | 0 (OUT OF STOCK) |
2 | 35 | 272707820002 | Nautical Shelf Bracket Octopus Rust Brow | 0 (OUT OF STOCK) |
3 | 785 | 272507820003 | Heart & Foot Prints Welcome Plaque Cast | 0 (OUT OF STOCK) |
4 | 788 | 246407820002 | LARGE Turtle Stepping Stone Paver Decora | 0 (OUT OF STOCK) |
5 | 794 | IWSTS0018 | Cast Iron Footprint Stepping Stones - Ga | 0 (OUT OF STOCK) |
6 | 793 | 269907820001 | Butterfly Stepping Stone Verdigris Cast | 0 (OUT OF STOCK) |
7 | 1705 | 254107820003-1 | Wall Shelf Bracket Cast Iron Brace Vine | 0 (OUT OF STOCK) |
8 | 1703 | 273107820002-1 | Nautical Ship Anchor Cast Iron Shelf Bra | 0 (OUT OF STOCK) |
9 | 1704 | 273107820002 | Nautical Ship Anchor Cast Iron Shelf Bra | 0 (OUT OF STOCK) |
10 | 1706 | 272607820008 | S-Hook Plant Hanger Flower Basket Decor | 0 (OUT OF STOCK) |
11 | 1709 | 276983831741 | Rocketfish 8k Ultra High Speed 15ft HDMI | 0 (OUT OF STOCK) |
12 | 1708 | 276981428196 | WWE Elite Collection Undertaker Figure - | 0 (OUT OF STOCK) |
13 | 1711 | 276983927536 | Sanus BSA-IWP1-W1 In-Wall Cable Conceale | 0 (OUT OF STOCK) |
14 | 1712 | 276983994123 | Sanus - On-Wall Cable Concealer High Cap | 0 (OUT OF STOCK) |
15 | 1710 | 276983911682 | Rocketfish - 12' 4K UltraHD/HDR In-Wall | 0 (OUT OF STOCK) |
16 | 1714 | 276987123754 | Helios In-Wall Power Outlet Relocation K | 0 (OUT OF STOCK) |
17 | 1727 | 019700410046 | Cast Iron Wall Hook Rack Fish Bone Skele | 0 (OUT OF STOCK) |
18 | 1729 | 261207820000 | Funny Aluminum Sign No Poop Heads Allowe | 0 (OUT OF STOCK) |
19 | 1730 | 273207820013 | Don't Be A Poop Head Emoji Clean Up Afte | 0 (OUT OF STOCK) |
20 | 1731 | 000007830114 | NASCAR Kasey Kahne Wall Appliques Decal | 0 (OUT OF STOCK) |
21 | 1733 | 272907820015 | Thankful Grateful Blessed Fall Leaves Ga | 0 (OUT OF STOCK) |
22 | 1732 | 000000410068 | Disney Princess Self Stick Removable App | 0 (OUT OF STOCK) |
23 | 1734 | 163807820003 | Aluminum Sign Firemans Cross White Firef | 0 (OUT OF STOCK) |
24 | 1735 | 273807820002 | Welcome American Garden Flag Emotes Doub | 0 (OUT OF STOCK) |
25 | 1737 | 273707820003 | Happy Easter Spring Flowers Birds Garden | 0 (OUT OF STOCK) |
26 | 1736 | 322207820000 | Fish Pocket Beer Bottle Opener Handheld | 0 (OUT OF STOCK) |
27 | 1738 | 273007820003 | Cast Iron Pedestal Bird Feeder Bath 8" W | 0 (OUT OF STOCK) |
28 | 1743 | 322207820002 | Wall Mounted Skull Beer Bottle Opener Ca | 0 (OUT OF STOCK) |
29 | 1744 | 261207820002 | Funny Aluminum Sign No Poop Heads Allowe | 0 (OUT OF STOCK) |
30 | 1750 | 277025938599 | Yardbird Fire Table Cover CVFTRERB Recta | 0 (OUT OF STOCK) |
31 | 1752 | 277032581994 | CyberPower 1500VA Battery Back-Up System | 0 (OUT OF STOCK) |
32 | 1754 | 277036995257 | Sanus BSA-IWP701-W1 In-Wall Power Kit AV | 0 (OUT OF STOCK) |
33 | 1751 | 277029661358 | Barbie Toy Wall Stickers Girls Bedroom D | 0 (OUT OF STOCK) |
34 | 1756 | 277037812053 | Genuine Amazon Alexa Voice Remote (3rd G | 0 (OUT OF STOCK) |
35 | 1758 | 277039604836 | Nick JR Dora The Explorer Wall Sticker D | 0 (OUT OF STOCK) |
36 | 1755 | 277037180702 | SaharaCase - Office Mouse Pad with Wirel | 0 (OUT OF STOCK) |
37 | 1764 | 277047254859 | 10" Twin Intex Standard Dura-Beam Airbed | 0 (OUT OF STOCK) |
38 | 1760 | 277040873020 | Computer Chair Floor Mat 30 x 48 inches | 0 (OUT OF STOCK) |
39 | 1763 | 277046740996 | Simpli Home Grafton Round Pouf 20" x 20" | 0 (OUT OF STOCK) |
40 | 783 | 237107820001 | Decorative Welcome Stepping Stone Plaque | 1 (IN STOCK) |
41 | 782 | 229207820000 | Decorative Sitting Green Frog Stepping S | 1 (IN STOCK) |
42 | 784 | 266107820000 | Welcome To My Garden Hummingbird Steppin | 1 (IN STOCK) |
43 | 787 | 229207820002 | Decorative Cast Iron Yard & Garden Stepp | 1 (IN STOCK) |
44 | 781 | 274207820000 | Cast Iron Nautical Anchor Trivet Hot Pla | 1 (IN STOCK) |
45 | 792 | 246407820003 | Decorative Baby Turtles Stepping Stone R | 1 (IN STOCK) |
46 | 1728 | 274007820000 | Slow Down Garden Flag Caution Children A | 1 (IN STOCK) |