Questions tagged [out-of-stock]
Denotes questions about unavailability of products or the products with zero quantity.
246
questions
0
votes
0
answers
9
views
How to preview Selected Out Of Stock Products on product level using attribute?
We have an attribute name replenishable and want to assign only on specific Out Of Stock Products to show on Cateogry Pages.
1
vote
1
answer
65
views
Checkout cart error: The requested qty is not available
I'm using Magento 2.4.4, clients reported issues with the items in the cart, and I'm able to simulate by having two carts in different clients' accounts with the same item that has 1 item in stock.
...
0
votes
1
answer
59
views
Magento 2.4.0 - Configurable Product Showing Out of Stock
We have Multiple configurable products but some of the Configurable Products are showing as Out of Stock.
I have verified the following Multiple times
All children are In Stock & have a quantity ...
0
votes
1
answer
26
views
How to retrieve updated stock quantity after modifying source item repository?
I am trying to add stock quantity dynamically and use the current stock quantity for adding the product to the cart. The stock quantity gets updated successfully, however the ProductRepository keeps ...
0
votes
2
answers
52
views
Magento 2 get Stock Item of virtual Product
1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): The stock item with the "2056" ID wasn't found. Verify the ID and try again.
-----In block File--------------...
0
votes
0
answers
29
views
Out of stock products get an "In stock" label
I have a strange problem. Products that are out of stock, are getting the label "In stock".
I'm running Magento 2.4.2-p1.
The issue also appears in the Magento Blank theme and Magento Luma ...
0
votes
2
answers
49
views
Magento 2 Stock Status
This question has been answered for Magento 1. (see: here).
As I am migrating to Magento2 and need the same logic here is the issue:
I am trying to figure a way to hide show stock status/availability ...
0
votes
0
answers
35
views
Magento 2 : How to Disable Allow Backorders Per Website
I'm looking for some help to create a simple module so I can disable "allow backorder" per website.
We currently run Magento 2.3.6 and MSI is disabled.
Can anyone help me with the file ...
0
votes
0
answers
78
views
Backorders and Out of stock threshold
We're setting up stock integration for a new site. Available stock levels and incoming purchase orders are being imported regularly from a warehouse.
We need to allow backorders but only to a certain ...
1
vote
1
answer
91
views
Where Inventory_stock_% table get updated in Magento 2?
The problem I'm facing is that
The table Inventory_stock_13 used for the 2nd website is updated incorrectly.
When set source status to Out of stock, column is_salable is still 1 and quantity is ...
0
votes
2
answers
149
views
magento2: what is difference between is_salable and is_in_stock?
I am confused between is_salable and is_in_stock field. in product listing page I print $product object by $product->getData() and when I print this data there is a field called is_salable
I put ...
0
votes
2
answers
1k
views
Magento 2.4 product stock status not change after salable quantity become zero
I tried the below scenario in Magento 2.4.0 version
Anyone please try the below scenario in your Magento 2.4 version ?
I created one configurable product and it's two simple children with 100 qty.
...
0
votes
1
answer
81
views
Magento2.3.5 configurable products not showing out of stock product
I am having issue with showing out of stock products. When all child products of configurable product are out of stock then it donot show out of stock products. If any of them is in stock then it ...
0
votes
1
answer
331
views
Magento 2.4 - Stock Alerts not showing
I can't figure out why, buy products alerts aren't showing.
here's my config;
Would anyone have any suggestions?
0
votes
2
answers
461
views
How to set notify me when back in stock for Magento 2 through REST API?
In Magento2 customers can subscribe to the out-of-stock products and get notifications when back in stock.
I would like to know how can a customer subscribe to out-of-stock products through REST API.
0
votes
2
answers
22
views
How to bring up a list of all products that are currently 'Out of Stock'?
Magento 1.9.4
Is there an easy way to bring up a list of all products that are currently 'Out of Stock'?
0
votes
2
answers
209
views
Backorder products displaying Out of Stock label
My employer has a range of products that we make to order. As such, we don't keep any on hand so our inventory on the Magento 2 backend is always set to 0.
I have lowered the out of stock threshold so ...
0
votes
1
answer
24
views
Do we need to 'Manage stock' in order to put specific products 'Out of stock'?
Magento 1.9.4
We used to have Manage stock = NO in:
System - Configuration - Inventory.
We desperately need to put about 20 specific products to show as 'Out of Stock' so I changed Manage stock = ...
0
votes
1
answer
117
views
Magento 2.4.2 stock wrong on productpage
I have installed magento 2.4.2 community edition as multistore. The configurable products are uploaded with a csv from the supplier.
On the page with all products I get the right message that the ...
2
votes
2
answers
514
views
Configurable product still out of stock even after child product is back in stock
I have Magento 2.3.0 installed on server with MSI package upgraded to v1.1.
I have configurable products with their child products initially in stock.
Once all the child products goes out of stock, ...
0
votes
3
answers
277
views
Magento 2 certain products hide out of stock products at storefront
I wanted to show all out of products at front store, so I went Store> Configuration > Catalog > Inventory and set yes Display Out of Stock Products option
But I have to hide certain out of ...
0
votes
1
answer
105
views
Product always goes OUT OF STOCK in magento 2 after inserting through REST API
I have added product in my Magento 2 Store using REST API but it always goes out of stock like this.
But when i run php bin/magento indexer:reindex the product will come in stock.
Any idea why is ...
0
votes
1
answer
39
views
Magento2 Out of Stock Products are not display in category page
i have setup my site on magento 241 and out of stock products are not showing on category page, but it is showing on homepage widget section.
i also set display out of stock product options = yes from ...
1
vote
2
answers
436
views
Display Out of Stock Products in the End on Category Pages - Magento 2.4.0
I want to display all out of stock products in end on category pages, I have tested few solution which is mentioned on Magento stack exchange, But no one is working for me. Anybody can help me ...
0
votes
1
answer
74
views
Magento 2 If associated product qty are out stock, so configurable how to disable?
We were using Magento 2.3.5 version.
Question: associated product qty are out of stock, so configurable product how to disable or redirect 302 pages?
Thanks in advanced.
0
votes
1
answer
75
views
Magento 2: Out Of Stock Products are not showing on category Page
In Store => Configuration => Catalog => Inventory
I have set Display Out of Stock Products To Yes
But still Out of Stock products are not showing on any category Page. On home page out of ...
0
votes
1
answer
143
views
Product in reservation show like out of stock (MAGENTO2 MSI)
I have stock_qty = 2 and salable_qty = 0 because of my products reservations and when I open product page add To Cart exists. Can this product show like out of stock when salable qty is 0 ?
4
votes
0
answers
1k
views
Magento 2.4 - Elastic Search Out of Stock products at end of Product Listings
I need to display Out of Stock products at end of the Listing in category page. I have overided the SetCollection method in Toolbar.php using around method(upto magento 2.3.5 without elasticsearch it ...
0
votes
0
answers
119
views
Magento 2: Some products are out of stock
I don't understand why some products are out of stock (they have quantity and are in stock).
I imported an csv with all products. For some products the price is shown (they are in stock) and for some ...
0
votes
0
answers
38
views
Magento 2 Out of Stock notification to admin and CC to another email
I am trying to see if Magento 2.3.4 has ability to notify an email other than the admin. We have a reseller who has all our products on their website and they need to be notified when a product of ...
0
votes
2
answers
204
views
Magento 2: Any Observer event trigger when product back in stock?
Hi guys I am looking for an observer event which triggered when product back in stock.
So I do not know which Magento 2 event I have to be called when product back is in stock.
0
votes
1
answer
568
views
How to use the Out-of-Stock threshold option?
I see that I have the Out-of-Stock threshold in my admin panel, how could I use it in order to have more items in my products in stock then I really have?
And how does it works?
0
votes
1
answer
362
views
Magento 2.3 How to show Out of Stock Products only in Search?
My site is supposed to show out of stock products in some places in the catalogue, so the Catalog > Inventory > Display Out of Stock Products setting is set to "Yes."
But I do not want ...
0
votes
1
answer
188
views
Magento 2 is it possible to sell not in stock products?
I wan't to make it so that when a product is out of stock a customer will stil be able to purchase it. The product must stil say "Out of stock" but with a purchase button so that it's clear ...
0
votes
2
answers
929
views
In magento 2 how to change a stock availability for 'out of stock' products in frontend
In Magento 2 how to change a stock availability for 'out of stock' products in frontend (category listing and product detail page).
I don't want to override a template file. I want to change a custom ...
3
votes
1
answer
395
views
Notification to the admin when any product goes out of stock in magento 2
Notification to the admin when any product goes out of stock in Magento 2
I used a module from GitHub to send a notification mail to the admin when any product stock quantity below 20,10,5. Also, I ...
0
votes
1
answer
155
views
How to automatically change the status to In Stock if products are added to the product
if the number of products falls below 1, then it will become out of stock, but if you increase the products manually, then the status will remain out of stock. How can I automatically change the ...
0
votes
1
answer
135
views
How to add stock filter in stiemap.xml in Magento 2.3?
I want to exclude out of stock products from the sitemap.xml. I want to add stock filter like status or visibility filter in the product collection:
public function getCollection($storeId)
{
...
1
vote
1
answer
351
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
1
answer
32
views
Magento 2: Make sales without stock
I need to allow the customer to compare the product even if there is no stock, in fact I need my simple item to behave when out of stock as if it were normally available.
What would be the best way to ...
1
vote
0
answers
46
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
0
answers
21
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
3
answers
3k
views
Salable quantity of 0 but still showing in stock?
I have a big issue with Magento 2.3.2. When products reach a salable quantity of 0 they still appear in stock. These products still have a physical quantity of more than zero as they haven't shipped ...
0
votes
1
answer
49
views
Magento 2 - Can not add grouped product child to cart
In Magento 2, I have a grouped product with 3 childs.
Child 1 and Child 2 are out of stock.
Child 3 is in stock.
When I try to add Child 3 into cart, there is an error about the two other product ...
0
votes
2
answers
60
views
Out of stock wording
we have a website that is running on Magento 2. This site has been enabled to show out of stock products. Below each out of stock product it displays 'out of stock' how can i change the wording of ...
0
votes
2
answers
1k
views
Get all visible products whose Quantity greater than 0 in Magento2
I have written a product collection to get all products whose quantity is greater than 0.
Here is my code for the collection
<?php
$websiteId = $this->storeManager->getStore()->...
1
vote
1
answer
516
views
Magento2: How to debug out of stock notification not working?
I'm using the Luma theme in Magento 2.3.3, my other transactional emails are working properly. I've no idea how to start debugging it.
How could I start debugging this issue and what to consider?
5
votes
4
answers
3k
views
Display out of stock product only for specific Category in Magento2
I have to show out of stock products only in certain categories by hiding them in all other categories.
used below plugin to implement, that is not working.
Vendor/Module/etc/di.xml
<type name="...
0
votes
0
answers
28
views
Magento 2.2.3 List all configurable's childs prices when the configurable's childs are out of stock
For a configurable product, the following code will list the configurable's childs prices only for the childs that are in stock:
if ($_product->getTypeId() == 'configurable') {
$_children = $...
3
votes
1
answer
476
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\...