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
1342844126195950
2352727078200020
3301971004100091
4312540078200011
520432662078200001
620462863479144671
720492863647044111
820512863674021321
920532863675939811
1020571971004100021
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 (34, 35, 30, 31, 2043, 2046, 2049, 2051, 2053, 2057, 28, 32, 29)) ORDER BY FIELD(e.entity_id,34,35,30,31,2043,2046,2049,2051,2053,2057,28,32,29)

ORDER BY Clauses:

Total ORDER BY clauses: 1

Order #1: FIELD(e.entity_id,34,35,30,31,2043,2046,2049,2051,2053,2057,28,32,29)

Stock Distribution (Total: 13 products):

Stock Status "0": 2 products

Stock Status "1": 11 products

Product Samples:

Pos ID SKU Name Stock
1 34 284412619595 Decorative Cast Iron Wall Shelf Bracket 0 (OUT OF STOCK)
2 35 272707820002 Nautical Shelf Bracket Octopus Rust Brow 0 (OUT OF STOCK)
3 30 197100410009 Wall Shelf Bracket Brace Black Cast Iron 1 (IN STOCK)
4 31 254007820001 Decorative Cast Iron Wall Shelf Bracket 1 (IN STOCK)
5 2043 266207820000 Welcome Stepping Stone Cast Iron Lawn Ga 1 (IN STOCK)
6 2046 286347914467 dearfoams Kids' Dave Quilted Slide Slipp 1 (IN STOCK)
7 2049 286364704411 Playtex Finger Puppets Set – 5pc Jungl 1 (IN STOCK)
8 2051 286367402132 Decorative Cast Iron Snail Stepping Ston 1 (IN STOCK)
9 2053 286367593981 New England Patriots Rawlings Cooler Tot 1 (IN STOCK)
10 2057 197100410002 Cast Iron Shelf Bracket Fleur-de-Lis Wal 1 (IN STOCK)
11 28 254107820022 Wall Shelf Bracket Brown Cast Iron Brace 1 (IN STOCK)
12 32 254107820002 Angle Bracket Cast Iron Wall Shelf Brace 1 (IN STOCK)
13 29 254107820012 Decorative Shelf Bracket Ornate Leaf Bra 1 (IN STOCK)
Its too late afterGetLoadedProductCollection
Its too late afterGetLoadedProductCollection
View as Grid List

Items 1-13 of 13

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