Questions tagged [out-of-stock]

Denotes questions about unavailability of products or the products with zero quantity.

Filter by
Sorted by
Tagged with
3
votes
4answers
6k views

Magento 2 : How To Show Price of “out of stock” Products

I want to show the price of product, that is "out of stock". Currently it is not shown price for the products in my magento 2.1.3 installation. How to make visible it?
2
votes
3answers
2k views

How to show out of stock product configuration in Magento 2.2.7?

The display of out of stock products is enabled in the store configuration. This means that out of stock simple products are displayed. But if one or more configuration of a configurable product is ...
7
votes
2answers
11k views

Out of stock products still appear in the frontend

I don't want out of stock products to be appeared in my magento website. I have done the following to ensure I don't see my configurable product in the frontend. Configurable product inventory - out ...
3
votes
3answers
7k views

How to get only out of stock products in magento 2

How to get out of stock product collection using object manager. I retrieve product collection $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productCollection = $...
4
votes
3answers
4k views

Hide out of stock products in Layered Navigation

I will describe my magento issue as best I can. I have shoes size filter in Layered Navigation but for some reason when i press ex. "size 43" then the results display shoes that had number 43 and now ...
2
votes
3answers
6k views

Auto-changing the “Stock Availability” from “Out of Stock” to “In Stock” on quantity change

assume the product quantity is "0", once we edit the quantity to "1". again we have to change from "out of stock" to " in stock" to buy in site So I’ve been looking for a way to change the Stock ...
1
vote
1answer
1k views

Magento 2 disable/remove Cart button from configurable product for Out of Stock Options

I am using Magento 2.1 and I found that for configurable products, if any variation of associated product is out of stock, then add to cart button is still visible. I want to hide/disable it when ...
14
votes
2answers
7k views

Move out of stock products to the end of the catalog product list [closed]

I need to push out of stock products to the end of catalog list Please guide me how to solve this problem, or that file to dig so far I found Toolbar.php, and working around it
3
votes
2answers
1k views

Stock item not put back in stock automatically upon reaching positive inventory

When a stock item reaches QTY 0 or negative (granted backorders are disabled & QTY for item to become out of stock is 0 as well), is_in_stock is set to 0 automatically. However, when it then ...
2
votes
2answers
4k views

Magento2: show price for out of stock configurable products

Following this guide Magento 2 : How To Show Price of "out of stock" Products I successfully managed to show price for out of stock products. But this applies only to simple products. For ...
9
votes
4answers
5k views

How to get product collection of out of stock items - opposite of addInStockFilterToCollection()?

I have a requirement to display a category's products in two lists - one for in stock items, the other for out of stock items. I'm using Mage::getSingleton('cataloginventory/stock')->...
6
votes
3answers
1k views

Display In-Stock Seller/Vendor on top of product view page

we have marketplace multi vendor/seller site. we are displaying multiple sellers on product view page. initially one Product is uploaded by seller "kidsdial4" , than same product is assigned by ...
6
votes
2answers
2k views

Magento 2 get out of stock products in collection

I am trying to get all the products from the collection(both in stock and out of stock) but with no luck at all. The setting on admin needs to hide the out of stock products from frontend but I want ...
3
votes
3answers
2k views

How to get product collection with both in stock and out of stock products in Magento 2.1

I'm using below code to get the product collection <?php namespace Vendor\Module\Block\Product; use Magento\Framework\View\Element\Template; use Magento\Catalog\Model\ResourceModel\Product\...
2
votes
2answers
2k views

How to get all visible out of stock products in magento 2

I checked into this and got my nearest answer but not as we usually expecting from magento. I want all out of stock product which can visible in store front means have respective product landing page ...
2
votes
1answer
401 views

cataloginventory_stock_item.low_stock_date?

Table cataloginventory_stock_item column low_stock_date In our db most of the products have the same exact timestamp. how the event trigger for low stock and how to get the exact date. Actually lot of ...
1
vote
1answer
837 views

Auto Update Configurable Products Stock Status with a cron job

I have the following script which I run to tell me if there are any configurable products the have their stock availability setting set incorrectly. <?php require_once('app/Mage.php'); //Path to ...
1
vote
1answer
702 views

Magento 1 Update configurable stock based on child products stocks

Some times Magento will not update the stock of the configurable product if there is any stock change happened to its child products. Usually this happens when some third party modules creating orders ...
1
vote
1answer
5k views

Magento 2: How to show Prices for OUT of stock products

I'm pretty new to Magento in general and just started working with Magento 2. Here is my question - How to show prices for all out of stock products? There is this topic: Magento 2 : How To Show ...
1
vote
1answer
1k views

Magento 2: Show Out of Stock items after in stock items

I want to show Out of Stock items after in stock items. I found solution here, but its for Magento 1.8. I need same for Magento 2.
1
vote
3answers
1k views

Magento2 Display out of stock products at last

We have to display out of stock products at last in the list pages. Let me if anybody have an idea. Thanks
1
vote
3answers
420 views

how to add negative qty product into cart in magento. 2

How to add a out of stock (less than 0 ) product in shopping cart in magento 2 In my backorders setting i have custom option as Allow pre-order when i select a custom option and saved a ...
0
votes
1answer
968 views

Showing Out of Stock variants(simple) when all variants are out of stock?

I need the ability to show Out of Stock variants when all variants(simple/children) under a configurable are out of stock. The default bahavior I am trying to overcome is to remove the product-options ...
0
votes
1answer
2k views

How to Show Out Of Stock Products at the end of product list in any sorting condition in magento 1.9

I am using Magento 1.9 , to display out of stock products at the end of product list i have replaced the code <?php $this->_productCollection = $layer->getProductCollection(); ?> ...