Home & Garden

🔍 InstockProductsFirst Debug Info

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` 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` ON e.entity_id = stock_status.product_id AND stock_status.website_id = 0
 LEFT JOIN (SELECT `cpsl`.`parent_id`, MAX(stock_child.stock_status) AS `max_stock` FROM `catalog_product_super_link` AS `cpsl`
 LEFT JOIN `cataloginventory_stock_status` AS `stock_child` ON cpsl.product_id = stock_child.product_id AND stock_child.website_id = 0 GROUP BY `cpsl`.`parent_id`) AS `config_stock` ON e.entity_id = config_stock.parent_id ORDER BY CASE 
                WHEN e.type_id = "configurable" THEN IFNULL(config_stock.max_stock, 0)
                ELSE IFNULL(stock_status.stock_status, 0)
            END DESC

First 20 Products (Stock Status Check):

IN STOCK: 41 | OUT OF STOCK: 3 | First In-Stock at position: 1
# ID SKU Name Stock Status
1 1128 198507820001 Double Sided Hanging Welcome Sign Squirrel Eating IN STOCK (1)
2 1129 163807820002 Firefighting Aluminum Sign Firemans St Florian Mal IN STOCK (1)
3 1130 019700410016 Cast Iron Wall Hook Rack Antique Skeleton Key 3 Ho IN STOCK (1)
4 1138 144307820002 Aluminum Sign You Need A Drink Home Bar Man Cave B IN STOCK (1)
5 1164 229207820005 Please Close The Gate Sign Decorative Plaque Cast IN STOCK (1)
6 2344 286440105546 Scott Hall (Black Red) WCW Smash N Slam Wrestlers OUT OF STOCK (0)
7 2346 286442533003 Sanus In-Wall Cable Concealer for Mounted TV & Sou OUT OF STOCK (0)
8 2347 286442577481 Sanus On-Wall Cable Concealer Kit for Mounted TVs IN STOCK (1)
9 2350 286444772480 CyberPower 750VA Slim Line Battery Back-Up UPS 8 O IN STOCK (1)
10 2353 286449705459 McFarlane DC Retro Classic Batman 1966 6 Inch Figu IN STOCK (1)
11 2354 286449720137 Mcfarlane Batman DC Retro 66 Classics TV Series Ro IN STOCK (1)
12 2356 286452062505 Women's Shannon Heels with Memory Foam Insole Sz 7 IN STOCK (1)
13 2358 255707820018 Cast Iron Plant Hanger Bracket Hummingbird Vine Ho IN STOCK (1)
14 26 254107820027 Wall Shelf Bracket Distressed White Ornate Cast Ir IN STOCK (1)
15 166 273007820002 Seed Feeder Bird Bath Cast Iron Wall Mounted 9.75" IN STOCK (1)
16 167 273007820005 Hanging Heart Shaped Love Bird Feeder Or Bath 5.5" IN STOCK (1)
17 169 254007820000 Wall Shelf Bracket Decorative Cast Iron Brace Humm IN STOCK (1)
18 170 012600410004 Wall Shelf Bracket Leaf Vine Pattern Cast Iron Bra IN STOCK (1)
19 172 254107820029 Wall Shelf Bracket Brace Ornate Vine Brown Cast Ir IN STOCK (1)
20 174 254107820031 Wall Shelf Bracket Ornate Vine Distressed White Ca IN STOCK (1)
21 176 254107820004 Cast Iron Wall Shelf Bracket Brace Vine & Flower R IN STOCK (1)
22 178 254107820025 Decorative Wall Shelf Bracket Simple Vine Rust Bro IN STOCK (1)
23 179 197100410004 Wall Shelf Bracket - Ornate Pattern - Black Cast I IN STOCK (1)
24 181 254107820016 Decorative Shelf Bracket - Ornate Lattice - Rust B IN STOCK (1)
25 182 254107820018 Decorative Shelf Bracket - Hexagon Lattice - Rust IN STOCK (1)
26 183 254107820019 Shelf Bracket Brace For Custom Shelving Leaf & Vin IN STOCK (1)
27 184 254107820026 Cast Iron Wall Shelf Bracket Brace Columns Distres IN STOCK (1)
28 186 019700410031 Cast Iron Wall Hook Verdigris Seahorse 5.5" Tall N IN STOCK (1)
29 188 019707820012 Decorative Coat Hook Victorian Ornate Double Wall IN STOCK (1)
30 190 019707820005 Wall Hook Coat Rack Victorian Skeleton Key Style 3 IN STOCK (1)
31 191 019707820010 Decorative Triple Wall Hook Cast Iron Coat Hat Sca IN STOCK (1)
32 192 019707820021 Cast Iron Wall Hook Rack Tropical Fish & Coral Dec IN STOCK (1)
33 193 019707820013 Double Wall Hook Decorative Antique Style Coat & H IN STOCK (1)
34 198 930907820006 Cast Iron Dinner Bell Love Birds Distressed Brown IN STOCK (1)
35 200 930907820001 Cast Iron Dinner Bell Moose Welcome Sign Outdoor D IN STOCK (1)
36 201 930907820007 Cast Iron Dinner Bell Ornate Vine Doorbell Porch D IN STOCK (1)
37 203 930907820005 Cast Iron Dinner Bell Butterfly Floral Vine Doorbe IN STOCK (1)
38 204 930907820004 Cast Iron Dinner Bell Green Farm Tractor Colorful IN STOCK (1)
39 205 930907820008 Cast Iron Dinner Bell Rooster & Flowers Colorful D OUT OF STOCK (0)
40 215 273207820009 Golden Retriever Garden Flag Emotes Beware Of Dog IN STOCK (1)
41 217 273207820006 White Chihuahua Puppy Beware Of Dog Double Sided F IN STOCK (1)
42 218 273207820007 Dark Brown Chihuahua Beware Of Dog Funny Pet Doub IN STOCK (1)
43 219 272907820014 Double Sided Garden Flag Emotes Welcome To The Nut IN STOCK (1)
44 220 272907820008 Welcome Garden Flag Yellow Butterfly Double Sided IN STOCK (1)

Quick Fix - Add this to your theme's catalog_category_view.xml:

<referenceBlock name="category.products.list">
    <action method="setData">
        <argument name="sort_by" xsi:type="string">stock_status</argument>
    </action>
</referenceBlock>
View as Grid List

Items 1-12 of 44

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