cancel
Showing results for 
Search instead for 
Did you mean: 

Product listing Widget showing out of stock products

Product listing Widget showing out of stock products

Hi,

 

I setup Product listing Widget and setup conditions like this:

 

<p><img id="e..." title="{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Home Page Bestsellers" products_count="12" template="product/widget/content/grid.phtml" conditions_encoded="a:3:[i:1;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Combine`;s:10:`aggregator`;s:3:`all`;s:5:`value`;s:1:`1`;s:9:`new_child`;s:0:``;]s:4:`1--1`;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Product`;s:9:`attribute`;s:12:`category_ids`;s:8:`operator`;s:2:`==`;s:5:`value`;s:15:`4, 6, 10, 5, 20`;]s:4:`1--2`;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Product`;s:9:`attribute`;s:25:`quantity_and_stock_status`;s:8:`operator`;s:2:`==`;s:5:`value`;s:1:`1`;]]"}" src="static/adminhtml/Magento/backend/en_US/Magento_CatalogWidget/images/products_list.png" alt="" /></p>

So if you can decipher this you will see that I set condition:

If Qantity is In Stock

But listing still including products out of stock??

1 REPLY

Re: Product listing Widget showing out of stock products

Please publish backend screenshots of a product, which is out of stock by is shown on the frontend.