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
0
votes
0answers
18 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
0answers
14 views

Filter Out Of Stock Products on dropdown

I'm new on Magento and I'm getting troubles with something I thought could be very easy. In my revision form for an order I want to filter out the out of stock products as well as the ones that are ...
0
votes
0answers
8 views

Magento 2.3 Multi-source inventory get all out of stock products

I am trying to get a list of all the out of stock products with a Magento 2.3 website with multiple stocks and sources. I first noticed the Api /V1/stockItems/lowStock/, but its deprecated and does ...
0
votes
0answers
27 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
0answers
14 views

Configurable items: how to hide combinations not in stock?

I have this to handle: On our clothing store, we have the classic "color" and "size" attributes and often happens that we create new variations of color for a sku. The problem is ...
0
votes
2answers
29 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
1answer
48 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
0answers
13 views

Product showing Out of Stock in Magento 2?

I have created a product but on checking on front end it goes to out of stock. This is my product which have quantity and in stock also. I have run also indexer:reindex and cache clean but still it ...
0
votes
1answer
34 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
0answers
11 views

How to remove the cross mark in out of stock product swatch?

I have enabled the out of stock product to be displayed in frontend. In one of the configurable product, I have set out of stock for one of the variant and in the frontend, I can see the out of stock ...
0
votes
0answers
60 views

How to exclude disabled or out of stock products from sitemap.xml in Magento 2.3

How to remove disabled products and out of stock products from sitemap.xml. Currently, all URLs are showing in the sitemap. I am using Magento 2.3
0
votes
0answers
10 views

How to let customers order out-of-stock items by making them understand they might take longer to get and ship?

Magento 1.9.4 Porto theme There are certain products we will not have on-hand but can order them and deliver with a slight delay if/when a customer is interested. What would be the best way to ...
0
votes
0answers
49 views

Magento 2.3.5-p1 still shows out of stock product Color Swatch in the frontend

we have updated our Magento from 2.3.3 to 2.3.5-p1. Before we did this Magento never showed color swatches of "out of stock" child products. Now after updating to 2.3.5-p1 it shows them but they are ...
0
votes
0answers
14 views

How to show out of stock product at last in product list using Admin backend Configuration?

I want to show out of stock product at last. With an option in the backend, Admin creates a configuration for Yes and no. Based on the selection show out of stock product at last. Let me know if ...
0
votes
0answers
17 views

Magento 2 : How to show Sold Out for Configurable and Budle Product on product listing page

I want to a show Sold Out Label on product listing page, when any of the option not available for configurable and bundle product.
0
votes
0answers
18 views

Redirect product when Out of Stock

In one of my categories there is a lot products that are out of stock. I want to redirect the products that are out of stock to the category page without Filter By mark Ex: website/product1 -> ...
0
votes
0answers
11 views

Magento 2 change qty based on availability

How i change qty programmatically based on availability? I have a lot products where availability is "out of stock" and their stock should change to 0 but when product is "in stock" qty should stay ...
0
votes
1answer
22 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
0answers
16 views

How to add out of stock product into cart Magento2.3?

Please check below image. And Backorder is also enable.still product not added into cart. Please suggest how to do it?
0
votes
2answers
510 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()->...
0
votes
0answers
61 views

How to get product stock info in product list rest API in magento 2.3?

To get product details i am using the following rest api. {{magento_base_url}}/rest/V1/products?searchCriteria[page_size]=4&searchCriteria[currentPage]=1 In default it does not return stock_item ...
0
votes
0answers
23 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 = $...
0
votes
1answer
338 views

magento 2 catalog_product_collection_load_before event

I am using Magento Enterprise 2.2.10 and I am wanting to show out of stock products and want to have show at the end of the category collection. I thought I could use the event: ...
0
votes
1answer
28 views

Send Email automatically with Cron

I am trying to create a custom module which send an alert mail to each customer who subscribed to the product. The idea is to send a custom email when the product's date is updated with a cron that ...
0
votes
0answers
31 views

getLocaleCode() by customer instead of store

I am writing a module to send alert email to customer when a product is available. I have different email template with name like "alertmail EN", "alertmail FR"... I can't do $this->_store->...
0
votes
3answers
474 views

Magento 1.9: Display out of stock products for a Store view

I have this situation where I need to display out of stock products in one of my stores. I use multistore Magento installation, so 4 stores are running under one installation. For 3 stores I have ...
0
votes
0answers
104 views

Magento 2 - Configurable product get all options and for out of stock add product alert

How can I display all configurable options including the products which are out of stock? Also, for out of stock products can we set notify me when in stock as it is done for simple products? I am ...
0
votes
0answers
221 views

Magento 2 Inventory and Stock Status

I'm trying to figure out why when the inventory quantity of a product reaches 0, the stock_status for the product is still In Stock. This happens after reindex as well. The only way to get the product ...
0
votes
0answers
682 views

Can't set product's stock - default stock: 0

I have issue on Magento 2.3.2 - Every product I add has Salable Quantity -- Default Stock: 0 -- therefore all the time out of stock. It happens to every product I add. I tried reindexing, clearing ...
0
votes
1answer
57 views

Magento2 : Products showing “Out-of-Stock” in Frond-End and “In-Stock” in Backend

I am using Magento version 2.3.x and when I add a downloadable product, it is showing out-of-stock in the front end. but it is showing in-stock in the back end. how to fix this, I have tried my ...
0
votes
1answer
220 views

301 Redirect the Out of Stock Product Pages

Want to redirect for the products who are out of stock to custom url Had tried below url but it did not helped https://stackoverflow.com/questions/4824072/magento-out-of-stock-product-seo-problem
0
votes
2answers
834 views

How to change of out stock error message in magento2?

I need to modify out of stock error message in cart page in magento2? In Magento\CatalogInventory\Model\Quote\Item\QuantityValidator.php: public function validate(Observer $observer) { /...
0
votes
0answers
51 views

magento 2 “out of stock” not displaying in configurable swatch option product

In my magnto 2.2 "out of stock" option product was not dispalying in configurable swatch product. I like to list all option even if "out of stock". Please help to solve this solution.
0
votes
1answer
688 views

How to show “out of stock” child products for configurable product in list and product view page magento 2?

I am trying to show out of stock child products for configurable product in details and product view.I changed the settings from catalog inventory to display out of stock products even it is not ...
0
votes
1answer
106 views

Show only 1 month old out of stock products

I'm trying to override the prepareProductCollection to show a list of products which will have all in stock products and one month old out of stock products. So far I was able to filter out the ...
0
votes
2answers
344 views

is ther any option to change Product type in magento

Can i change a simple product to downloadable product in magento 1.9.3. is there any option to purchase out of stock, downloadable products
0
votes
0answers
449 views

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

Here is my question - How to show prices for all out of stock products? Here pic http://prntscr.com/krhurk I created the module from here https://magento.stackexchange.com/questions/160145/magento-2-...
0
votes
1answer
128 views

Magento 2 - Upsell configurable product shows out of stock - How to loop through simple products and return whether these are in stock?

I have a related products section on my product page where I display my upsell products. The issue I have is where it displays a configurable product, it shows the product as out of stock since it is ...
0
votes
1answer
110 views

Magento grid view show out of stock banner/label

I looked for this online and nothing worked. I want a banner/label to show on my category view (in grid mode) that a certain product is out of stuck. I tried to add: $stock = Mage::getModel('...
0
votes
0answers
711 views

Magento 2 : How to show add to cart button in out of stock?

I want to show add to cart button block in my list.phtml even a product is out of stock. I do not want to enable back orders too. How can i do this? OR May i know from which file checking the stock ...
0
votes
1answer
27 views

Products stop displaying in category page only on explicitly saving

I have setup a CRON job for updating the stock in my Magento store regularly. I have set the Magento configuration as not to show any product with respect to which all the associated products are out ...
0
votes
2answers
127 views

M2 - Display “in stock / out of stock” ONLY when item is out of stock?

I've just turned on the option "Display Products Availability in Stock on Storefront" which is working as it should - display either "in stock" or "out of stock" on the front end, but I want to change ...
0
votes
0answers
815 views

In stock, freshly uploaded product showing out of stock on frontend - Magento 2

I am using marketplace module but the products uploaded by vendors are showing 'Out of stock'. However, if I upload any product from backend it shows 'In stock'. I've tried this on all type of ...
0
votes
0answers
646 views

Magento 1.9 how to set products to out of stock if quantity is 0 using php?

The website I am currently working on has a bug where it will not update the in stock status to out of stock when the quantity is zero. Importing a product that has zero quantity and then a reindex ...
0
votes
1answer
203 views

set out of stock configurable products visibility to search

A configurable product is out of stock when all its simple products are out of stock. I would like to set the visibility to search for all configurable products which are out of stock in bulk. Can ...
0
votes
1answer
2k 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?
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(); ?> ...
0
votes
1answer
683 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
90 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 ...