Questions tagged [out-of-stock]
Denotes questions about unavailability of products or the products with zero quantity.
257
questions
1
vote
0
answers
28
views
How to apply catalog price rule on out of stock product?
here we have created a custom catalog price rule for out of stock products, but it didn't apply. You can get reference using the below image. I want to display the product price as 50 rupees when ...
0
votes
0
answers
33
views
Cannot update simple product of configurable product, Error in update query of Catalog Inventory Stock status table in Magento 2.4 CE
I created configurable product with variants. Even though I added
quantity per source for each sub product > 0
manage stock as "Yes"
Stock Status as In Stock
It shows Out of Stock.
Also ...
0
votes
1
answer
127
views
Out of stock product visible on storefront. After updating the product programmatically
I'm working on integration, where I'm updating a product stock. But Whenever I set product stock to zero the product gets out-of-stock(as intended) from the backend but is still visible on the ...
0
votes
1
answer
21
views
Display Out of Stock Products crash
I have Issue Display Out of Stock Products when enabled.
Some link category menu are crashed.
Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is ...
0
votes
1
answer
192
views
Multi Store can't show different "Display Out of Stock Products" options on frontends - 2.4.6
My issue is that I can't get my different frontends to show different "Display out of Stock Products" options.
Does anyone have any tips on which stock Magento module I need to look into to ...
0
votes
0
answers
49
views
Magento 2 Show Special Price While Out of Stock
Does anyone know how to show a Sale going on with an item even though it's Out of Stock? Right now, it shows the original price only for some reason.
Item Showing Special Price (In Stock)
https://www....
1
vote
0
answers
18
views
Magento 2 Product restriction with out of stock enable not working
I am working on Magento-2.4.5-p2 Version, as per my requirement I need to restrict some product based on customer type. For that I've used the following code and it's working as expected.
Totally I've ...
0
votes
0
answers
81
views
Magento 2.4.3 - How to show out of stock on group product
We have an issue where a group product does not show "out of stock" status when one or more associated products are out of stock.
When you are on the category page, the group product that is ...
1
vote
0
answers
17
views
I need out of stock products to automatically get directed without turning into 404s
Would this work?
<?php
namespace [Vendor]\[Module]\Observer;
use Magento\Framework\Event\Observer;
use Magento\Framework\Event\ObserverInterface;
class RedirectOutOfStockProductObserver ...
0
votes
1
answer
394
views
Why Out of Stock Products showing at end of list in Magento 2.4.5?
We have created a category page and assigned some products to that category page.
We have also assigned some out-of-stock products.
But when we sort products by price the out-of-stock products show at ...
0
votes
2
answers
65
views
How can I configure Magento Salable Quantity
When I add a new product in Magento 2, The Salable Quantity is 0, and there the product shows out of stock on the end user.
1
vote
0
answers
42
views
Filters don't hide out-of-stock products
I have a couple of custom filters, size and warehouse availability. When I select for example, size "XS" and "Warehouse1" I still see the product in the catalog that has size XS in ...
1
vote
1
answer
614
views
How to set product OUT OF STOCK and enable Manage Stock for this product in Magento 2.4
I work on Magento 2.4 and I'd like to enable programmatically for selected products "Manage Stock" option and set status Out Of stock. Like here:
But I did not found how it should be done ...
1
vote
0
answers
26
views
Correct way to call an object based on quantity, for displaying a product-alert, when backorders are allowed
I am trying to modify the following file in Magento2
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ProductAlert\Block\...
2
votes
2
answers
383
views
show a pop up alert when product is out of stock
When a product is out of stock, customers will see a pop-up with a message to inform them that the product is no longer available. How can i do that. please help !!
1
vote
1
answer
972
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
2k
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
44
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
242
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
2
answers
339
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 ...
3
votes
1
answer
971
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 ...
1
vote
2
answers
854
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 ...
1
vote
2
answers
3k
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
237
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
905
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
918
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
30
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
532
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
36
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
316
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 ...
3
votes
2
answers
1k
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
748
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
293
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
174
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
3
answers
1k
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
203
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
133
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
333
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
2k
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
562
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
44
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
462
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.
1
vote
1
answer
2k
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
641
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
801
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
1k
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
2
answers
659
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
1k
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
300
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
802
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