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`, `stock_status`.`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` ON e.entity_id = stock_status.product_id AND stock_status.website_id = 0 ORDER BY `stock_status`.`stock_status` DESC

First 20 Products (Stock Status Check):

IN STOCK: 21 | OUT OF STOCK: 0 | First In-Stock at position: 1
# ID SKU Name Stock Status
1 26 254107820027 Wall Shelf Bracket Distressed White Ornate Cast Ir IN STOCK (1)
2 1128 198507820001 Double Sided Hanging Welcome Sign Squirrel Eating IN STOCK (1)
3 1129 163807820002 Firefighting Aluminum Sign Firemans St Florian Mal IN STOCK (1)
4 1130 019700410016 Cast Iron Wall Hook Rack Antique Skeleton Key 3 Ho IN STOCK (1)
5 1138 144307820002 Aluminum Sign You Need A Drink Home Bar Man Cave B IN STOCK (1)
6 1164 229207820005 Please Close The Gate Sign Decorative Plaque Cast IN STOCK (1)
7 1165 274207820001 Chicken Trivet Decorative Cast Iron Hot Pad 7.75" IN STOCK (1)
8 1166 198507820003 Double Sided Hanging Welcome Sign Ornate Cast Iron IN STOCK (1)
9 1167 274811615606 Harley Quinn Costume Girl M (8-10) DC Super Hero G IN STOCK (1)
10 1172 275453521123 Vintage Cracker Jack Gumball prize charm celluloid IN STOCK (1)
11 1173 275453524384 Vintage Cracker Jack Gumball prize charm Man on R IN STOCK (1)
12 1174 275453537797 Vintage Cracker Jack Gumball prize charm faded pur IN STOCK (1)
13 1175 275458939770 vintage Cracker Jack Gumball charm prize toy: Gree IN STOCK (1)
14 1176 275458944602 vintage Cracker Jack Gumball charm prize toy: Red IN STOCK (1)
15 1177 275458949486 vintage Cracker Jack charm prize Boy on Bicycle (m IN STOCK (1)
16 1179 275459221209 vintage Cracker Jack charm prize Silvery Plastic P IN STOCK (1)
17 1180 275459274008 vintage Cracker Jack charm prize Metallized Plasti IN STOCK (1)
18 1192 229207820003 Cast Iron Plaque Sign - Please Close The Gate - Bl IN STOCK (1)
19 1193 276301204436 Baby Proofing American Electrical Outlet Safety Co IN STOCK (1)
20 1269 019707820007 Skeleton Key Style Wall Hook Coat Rack Victorian 4 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 21

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