Questions tagged [out-of-stock]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
687 views

Configurable Product - Shows available in category view but Out of Stock in Product View and without Add to Cart button

4 simple products associated to config product. -website selected -all enabled -all set to instock / avail -config set to instock --I've been trouble shooting but cannot seem to create In Stock ...
1
vote
3answers
1k views

Magento 2.2: how to get out of stock products when managing stock

In one of my blocks I want to get a product collection including items that are out of stock, but the product collection always includes WHERE (stock_status_index.stock_status = 1) if you are managing ...
2
votes
1answer
2k views

Email Notification On Low stock, Out of stock , Back to stock Magento 1.9

I want to create a stock alert where user can subscribe product_alert_stock table in the database store details when user click on subscribe link. Currently it sends on two conditions : On stock ...
2
votes
0answers
216 views

How to show out of stock accosiative product of configrable product

How can i show all options of configurable products even if any (associative) product is out of stock, it should show the option but not selectable
0
votes
1answer
1k views

Magento 2 : Display cross sell products in products details page only for out of stock products:

How to display cross sell products on the products details page for the out of stock products only?
1
vote
1answer
510 views

Magento 2 add label out of stock products in configurable product dropdown

There are some related messages but not precisely this. Is there an method to - show out of stock products (for a configurable product) - add a label "out of stock" So a drop down with XS SM L ...
2
votes
3answers
333 views

Whats the best way to remove Out of Stock text

I'm having trouble displaying the out of stock size without text "Out of Stock". Example: And here is how its showing up in DOM: <span class="option out-of-stock" value="370">25 (Out of ...
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(); ?> ...
3
votes
3answers
2k views

Move out of stock product in category view last if qty is 0

I use a module to display out of stock products last in the category view. That worked fine, but now I enabled the Magento option to purchase products that are out of stock. (The default Magento ...
0
votes
1answer
620 views

How to allow orders for out-of-stock products without enable Backorder in Admin?

We want to be able to take orders for products that are "out of stock" in Magento without enabled backorders in System > Config > Inventory. How can custom code? Any other suggestions on that ? ...
0
votes
1answer
86 views

Custom block on product page if product is out of stock / in stock

I want to add two custom blocks on product page - one to be displayed if product is in stock and the other one if product is out of stock.
0
votes
0answers
28 views

All Items Get Out Of Stock After A Certain Amount Of Time - Can't Figure Out Why?

I'm working on a website for a client and right before publishing the website, I noticed that all the products went out of stock itself. So I put them all back in stock and everything looked fine, but ...
1
vote
1answer
768 views

Display all associated simple products, even if all of them are out of stock

Magento default behavior: With option System > Configuration > Inventory > Display Out of Stock Products enabled, when configurable product has at least 1 associated simple product In Stock, then the ...
0
votes
1answer
134 views

Magento 2 Bug | Customer Places Order in Cart, then out of stock when checking out

On our Magento 2 page we have a bit of customers placing an item in cart (in stock) but when checking out after placing order, it gives an error saying the item is out of stock... but it places the ...
0
votes
1answer
661 views

Magento - Filtering Configurable products on simple product attribute

I have an issue in Magento 1.9. We have a list of configurable products. Like ex. Shoes We filter the products by attribute: Manufacturer [NIKE] Then try to filter by the attribute: SIZE [43] ...
0
votes
2answers
83 views

How can I make products with positive qty out of stock?

I would like only products that have qty=>5 to be marked as in stock, those that are less than five would be marked as out of stock and they won't be available for sale.
0
votes
1answer
64 views

Items Out of Stock. even though they have been just added

I realized that our latest added list of products that been just uploaded disappeared from our front-end. So I checked Magento, and the all those products had their stock at "zero" even though they ...
1
vote
2answers
559 views

How to remove Out of Stock products only from homepage

I am having the Magento website. I want to remove the Out of Stock products from New Books Arrived tab of homepage, but it should be visible on categories of my website. I just want to remove it only ...
1
vote
0answers
127 views

Magento 2 : When I Create an Order on Admin It Show Disabled Products

When I manually create an order in the backend and go to add a product, it will show all products even those out of stock or status disable, is there a hook for this in Magento 2 to hide those ...
1
vote
1answer
429 views

How to change Stock Availability automatically to '0'

I want to change the stock availability to '0' automatically when product is OUT OF STOCK. I had created the Stock Availability attribute manually but when product is OUT OF STOCK the value of Stock ...
1
vote
1answer
1k views

Magento2 REST API products list and out of stock

In the api call V1/products i get also out of stock products, even though I've set in Stores->configuration->catalog->inventory "Display out of stock products" to No. there's a way to get rid of this ...
1
vote
1answer
1k views

Magento 2: Change Product status OUT OF STOCK Programmatically

I need to change product as out of stock without changing its Quantity. I mean if a product having quantity 5, It will be same but product would be changed to OUT OF STOCK. Is it possible in magento?
1
vote
1answer
297 views

How to display ONLY products which associated products are in stock with custom collection

I'm having a hard time on how to display those configurable products which associated products are in stock only. For example, if I have a configurable product and the quantity stock status of its ...
1
vote
0answers
38 views

Create an 'Out of Stock' Category

I am trying to create an category that displays all products on the website that are currently set as out of stock. I have created a subcategory for this and thought that I would be able to modify ...
0
votes
1answer
47 views

Magento Crossell also include out of stock

I want to include out of stock products, to my cross sell list. Currently only products in stock are displayed. How can I change this, so that out of stock products are included?
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 ...
0
votes
2answers
108 views

Is it possible to automatically set all products with a price = 0 to be out of stock?

We are trying to figure out if there is a Magento setting or another way of making sure that any products on our e-commerce site that are uploaded with a price of 0 are set to out of stock, so then ...
0
votes
1answer
26 views

How to add stock alert notification when for items on the wishlist?

I want to add product alert notification when the product is out of stock on the Magento wishlist page, For this task, I need product ID how we get out of stock product ID?
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 ...
1
vote
1answer
4k 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.
4
votes
2answers
5k views

Differences between some stock methods

Modifying product page I have encountered some methods touching stock and product availibility: $_product->isSaleable()); $_product->isSalable()); $_product->isAvailable()); $_product->...
3
votes
3answers
6k 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 = $...
3
votes
3answers
5k 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?
0
votes
1answer
431 views

Configurable product creates simple product as out of stock even if quantity given

I have created a configurable product. Then I edited the "Configurations", so I have created simple products associated with the item. I set the quantity and saved. But the simple products are saved ...
0
votes
1answer
179 views

Magento 1.9.2.4 : Is there away to prevent any item from having an “Out of Stock” Status (regardless of quantity)?

We have ways of dealing with 0 or sub zero quantity on items using backorder but it puts our customers off when they see an out of stock label. I can put the whole catalog back in stock using the ...
0
votes
1answer
1k views

Products still showing out of stock

Previously in my Magento store I had set the Qty for Item's Status to Become Out of Stock in the inventory to 5 so that if the quantity of the products reaches to 5 or below it should show as out of ...
0
votes
3answers
794 views

How do I disable products when they become “out of stock”

I'd like to have items automatically change to disabled once they become "out of stock". The default options simply remove the add to cart button but the product is still viewable if you have the ...
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 ...
1
vote
1answer
693 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
793 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 ...
0
votes
1answer
433 views

Qty for Item's Status to Become Out of Stock - Problem with mass upload

I am using a php script which works great with updating stock but when a simple product is 1 or below stock availability isn't changing to "out of stock". I have "Qty for Item's Status to Become Out ...
1
vote
1answer
675 views

Products are OUT OF STOCK

OUT OF STOCK ISSUE:- Some Downloadable Products are OUT OF STOCK in Product Page, AT the same time In Product Detail Page. Same Downloadable Products showing the Instock. What the reason of showing ...
1
vote
1answer
431 views

Magento 2.1 - Get a collection including out of stock products

In a basic block I'm getting the featured products, however I only get the products that are in stock: public function getProducts() { $collection = $this->_productCollectionFactory->create(...
3
votes
2answers
3k views

Magento 2 - Unlimited stock of a product

Our products are digital goods which do not have a quantity limited. Is there a way to configure a product with a unlimited stock quantity?
13
votes
6answers
18k views

Out of stock products still appear in the frontend, search and others - Magento 2.1.0

I see that my installation of magento 2.1.0 has a problem! Refuses to hide out of stock products from search and category pages! I cleared the cache, I reindexed, but no luck! Can you give me any ...
0
votes
1answer
437 views

How to get a collection of Out Of Stock (including configurable) products

In my magento i have "Display out of stock products" -> No. (i needed like this). I want to create a page with all out of stock products. I have everything working, but cannot find the correct ...
2
votes
3answers
1k views

How can I have the size and color of out of stock products displayed?

I would need help regarding the out of stock and color/size display function on Magento based website. I show the items on my website, even after they went out of stock. But the problem is that ...
2
votes
1answer
478 views

How to get Configurable Products to appear when out of stock

In STORES > Configuration > CATALOG > inventory I have "Display Out of Stock Products" set to "Yes. I can get Simple Products that are out of stock to appear but I cannot get a configured item that ...
5
votes
1answer
3k views

Display Out of Stock Configuration not working in magento1.9

I have a configurable product with 3 simple products associated to it that were added via REST. I have set the "Display Out of Stock Products" option in System->Configuration->Inventory to "Yes" ...