Home & Garden

Plugin Debug - SortInStock Observer - 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`, `stock`.`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 AND stock.website_id = 0 ORDER BY `stock`.`stock_status` DESC

PositionIDSKUStock Status
1352727078200020
22362728078200011
37812742078200001
47822292078200001
57842661078200001
67872292078200021
77922464078200031
83260197078200000
93280197078200090
103290197004100140
Its too late afterGetLoadedProductCollection

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`.`stock_status`, `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` ON e.entity_id = stock.product_id AND stock.website_id = 0
 LEFT JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id WHERE (e.entity_id IN (35, 236, 781, 782, 784, 787, 792, 326, 328, 329, 333, 785, 788, 192, 794, 793, 12, 783)) ORDER BY FIELD(e.entity_id,35,236,781,782,784,787,792,326,328,329,333,785,788,192,794,793,12,783)

ORDER BY Clauses:

Total ORDER BY clauses: 1

Order #1: FIELD(e.entity_id,35,236,781,782,784,787,792,326,328,329,333,785,788,192,794,793,12,783)

Stock Distribution (Total: 18 products):

Stock Status "0": 10 products

Stock Status "1": 8 products

Product Samples:

Pos ID SKU Name Stock
1 35 272707820002 Nautical Shelf Bracket Octopus Rust Brow 0 (OUT OF STOCK)
2 236 272807820001 Welcome Garden Flag Lighthouse Yard Bann 1 (IN STOCK)
3 781 274207820000 Cast Iron Nautical Anchor Trivet Hot Pla 1 (IN STOCK)
4 782 229207820000 Decorative Sitting Green Frog Stepping S 1 (IN STOCK)
5 784 266107820000 Welcome To My Garden Hummingbird Steppin 1 (IN STOCK)
6 787 229207820002 Decorative Cast Iron Yard & Garden Stepp 1 (IN STOCK)
7 792 246407820003 Decorative Baby Turtles Stepping Stone R 1 (IN STOCK)
8 326 019707820000 Nautical Black & White Lighthouse Wall H 0 (OUT OF STOCK)
9 328 019707820009 Horse Head Western Wall Hook Rust Brown 0 (OUT OF STOCK)
10 329 019700410014 Mermaid Wall Hook Rust Cast Iron Coat Ha 0 (OUT OF STOCK)
11 333 019707820003 Seahorse Wall Hook Ocean Decor Rust Brow 0 (OUT OF STOCK)
12 785 272507820003 Heart & Foot Prints Welcome Plaque Cast 0 (OUT OF STOCK)
13 788 246407820002 LARGE Turtle Stepping Stone Paver Decora 0 (OUT OF STOCK)
14 192 019707820021 Cast Iron Wall Hook Rack Tropical Fish & 0 (OUT OF STOCK)
15 794 IWSTS0018 Cast Iron Footprint Stepping Stones - Ga 0 (OUT OF STOCK)
16 793 269907820001 Butterfly Stepping Stone Verdigris Cast 0 (OUT OF STOCK)
17 12 254207820000 Nautical Shelf Bracket Clamshell Beach S 1 (IN STOCK)
18 783 237107820001 Decorative Welcome Stepping Stone Plaque 1 (IN STOCK)
Its too late afterGetLoadedProductCollection
Its too late afterGetLoadedProductCollection
View as Grid List

Items 1-18 of 18

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