Questions tagged [out-of-stock]

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

113 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
2k views

How to change programmatically product stock status when product sku doesn't appears in provider data feed?

I'm using Magento CE 1.9.1 I made an import script to import products from a provider xml feed. This feed is update everyday at 3 a.m . My profider send me in his xml only products where are in stock ...
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" ...
5
votes
1answer
1k views

Stock availability status on Configurable simple products

On a Configurable product, the following gets displayed if the Configurable product has stock /is saleable. However, when one of the items in the dropdown of Simple products is actually out of stock ...
3
votes
0answers
252 views

How to display out stock products in one category if disabled out of stock products

Below script shows out of stock products in only one category with Display Out Of Stock option yes in the admin by using helper file. Here is the code: <?php namespace Vendor\Module\Helper\...
3
votes
0answers
357 views

Custom REST API for fetch all product with stock information

I am creating custom rest API for getting all products including out of stock products too but I am not able to get out of stock products. /** * Get products with filter. * * @param string $...
3
votes
0answers
199 views

How to Display Out of Stock Simple Products For Bundle Product Types (Magento 2.2.4)

Is there any way to show out of stock simple products which are assigned to a bundle product. Current functionality hides out of stock simple products from the bundle product page. I know we can ...
3
votes
0answers
364 views

Magento 2 rest api: Ignore out of stock products in get products search criteria

I am using the following api call to get products. {{base_url}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][condition_type]=like&searchCriteria[filter_groups][0][filters][0][...
3
votes
0answers
569 views

Configurable product still displayed but accosiated simple product is out of stock

I have a configurable product with 2 simple accosiated products (size 41,42). Two simple product is out of stock but when i enter product page of configurable product i see that has two available ...
3
votes
0answers
207 views

Configurable Procucts appear as out of stock in frontend

I´m facing some problem in make my configurable products appear in frontend, no matter what i do (i´d read an tried other posts solutions) it appears as out of stock in my frontedn. Follow configs ...
2
votes
1answer
275 views

Display out of stock products of specific category in list and search result page

I have enabled Show out of stock products in the admin Inventory section. I have to show all in stock and out of stock products of one category(id=10 and its subcategory) in list and search result ...
2
votes
1answer
12 views

Call for Stock option

The nature of the business we have is that stock is sometimes not kept on site and can be ordered in for next day, however we operate in a way that means our website displays as out of stock. Is there ...
2
votes
1answer
799 views

Alert stock email not received

I've configured my Magento ver. 2.2.4 to send email to customers that have registered themselves for an stock alert when the product which is "out of stock" goes to be back in stock, but when I try to ...
2
votes
1answer
882 views

Bundle product in stock even though one of the simple products is out of stock

I recently discovered a problem - if I have a bundle product with 3 simple products (all set as standard) and one of them is out of stock, the whole bundle product remains in stock. If I try to add ...
2
votes
1answer
2k views

Check products in cart if they are out of stock before place order REST API : Magento 2

I am building mobile application using Magento 2, I had an old defined cart which had a product and when checking out it gives an error saying the item is out of stock, that happened after payment and ...
2
votes
0answers
217 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
2
votes
3answers
346 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 ...
2
votes
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 ...
2
votes
1answer
481 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 ...
2
votes
0answers
87 views

How to not display out of stock products in magento?

I set the Display Out of Stock Products to No, and reindex, clear cache. But still display.
2
votes
0answers
1k views

Disabled products still visible in configurable product options

Our client prefers not to use Magento's inventory management tools, so when he sells out of an item he prefers to manually disable it. Our problem is that despite disabling the simple product it's ...
2
votes
1answer
92 views

display of out of stock products

I have noticed a weird behaviour as some of the out of stock products display when using size filters, for example when I go to t-shirts category and specify a brand and a size I can see 5 t-shirts, ...
1
vote
0answers
28 views

How to ship Out of Stock products (backorders)?

How could I ship out of stock products (backorders)? I see the error: Not all of your products are available in the requested quantity. Thanks
1
vote
0answers
19 views

When Magento reserve stock in Paypal payment?

It's a bit of imaginary situation and I think it's not that common but can happens and today someone asked me about that and I got curious but I have no easy way atm to test this so I thought in ...
1
vote
0answers
14 views

Out of Stock Products Displaying on front-end when told not to!

just a quick one. Using Magento 2.3.2 I have "Display out of stock products" switched to "No" in Stores > Configuration > Catalog > Inventory, but my storefront still ...
1
vote
0answers
36 views

How Salable Quantity Works and how we can manage?

On the Category page, a product shows "Add to Cart" button and after clicking on it it redirect on product detail page with "Out of stock" message. As checked and found that this product has 2 qty ...
1
vote
0answers
23 views

How to display price for out of stock products in magento2

How to display the price for out of stock product (configurable type) in magento2. I also refer to these links: Magento2: show price for out of stock configurable products. Magento 2 : How To Show ...
1
vote
1answer
214 views

How to show message on out of stock products in configurable product. Magento 2

I copied the extension from https://github.com/pkarsai/show-out-of-stock-products-magento2 whose code is Myweb/ShowOutOfStockProducts/configurableProduct/Helper/Data/Data.php <?php namespace ...
1
vote
0answers
45 views

magento 2 event for out of stock

I would like to know when a product goes out of stock by user purchase. I think there should be an event for this. I am not able to find it though. Also, in general, has Magento 2 published the ...
1
vote
0answers
43 views

Get out of stock product collection in magento2

I want to get the wishlist collection for the customer. $this->wishlist->create()->loadByCustomerId($this->session->create()->getCustomerId(), true)->getItemCollection(); How to ...
1
vote
0answers
19 views

How can I show a product that is out of stock in a configured product

When a product is out of stock (and this is set up), it disappears from the configured product and its drop-down menu. How can I make it continue to be shown there (as an option of the general ...
1
vote
1answer
2k views

Magento 2: Show out-of-stock products in search results?

We have disabled out-of-stock products from showing on the frontend, but would like to override this for search results only. How would we accomplish this? Note: this store has thousands of products ...
1
vote
0answers
166 views

Don't show Configurable Product Combination when not in Stock

Is it possible in a configurable Product to hide (or simply not show) certain combinations that are not in stock? Let's say I have a shirt that has the options color and size. All shirts are in ...
1
vote
1answer
2k views

Stock status and back orders in Magento 2

I want to enable customers to be able to place backorders In the docs its states for stock status of "Out of Stock" the following Unless Backorders are activated, prevents the product from being ...
1
vote
1answer
245 views

Magento CE 2.2.X Configurable product with 1 Attribute -Error: Display Out of Stock Products

Steps to reproduce Install Magento 2.2.X CE Sample Data Admin > Stores > Configuration > Catalog > Inventory > Stock Options > Display Out of Stock Products = Yes. CLI php bin/magento indexer:...
1
vote
0answers
1k views

Show price for out of stock configurable products

How to show price of configurable product which is out of stock in magento2.2? Currently when child product's are out of stock then configurable product won't show price in magento 2.2. Please help!
1
vote
1answer
230 views

How to display instock product first on the category page in magento 2.1?

I want to display In stock products first and out of stock at end of the listing. I have used below code in magento/module-catalog/Model $collection->joinField('stk', 'cataloginventory_stock_item'...
1
vote
1answer
719 views

Remove out of stock product from home Page in Magento 2

I am using aloquick theme in Magento2. Some out of stock products are showing in Featured Products tab of Home Page. I would like to remove those out of stock product from Home Page. My admin panel ...
1
vote
0answers
148 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
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
307 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 ...
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
1answer
726 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
436 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(...
1
vote
0answers
2k views

“Out of Stock” Greyed Out in Magento 2

I have several products in Magento 2 that were imported from Magento 1.7. I added to them color swatches and I turned inventory on. Only one of the products is displayed on the front-end as expected. ...
1
vote
0answers
62 views

Product Stock -1

I'm using Magento 1.7.0.2 and have configured my store not to allow backorders, but for some reason some products are ordered having the stock at 0. I'm using Paypal for the payment process. Catalog ...
1
vote
2answers
615 views

Sold Out / Out of Stock - message not displaying on catogery pages

My items are not showing an out of stock message/label on the catogroy pages, if you click a sold out item it does state as out of stock on the product page.. I installed an app to move all of the ...
1
vote
1answer
127 views

Show out of stock products website based

I am having a problem of displaying out of stock products website based. In admin System -> Configuration -> Inventory, there's a field call Display Out of Stock Products. But it is a global ...
1
vote
0answers
434 views

Show out of stock configurable products without simple products (Magento 1.9)

There are configurable products (without associated simple products) that are not displayed on frontend. Show out of stock products is set to YES. To get them displayed we have to create a simple ...
1
vote
0answers
43 views

How to get shipping estimates for out of stock products?

I have the shipping estimate widget on every product page, so that users can check the shipping price before adding them to cart. This works well for in-stock products, but not for out of stock. ...