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
2answers
37 views

How to add out of stock product to cart programmatically in Magento 2.3

I'm using Magento v2.3, I want to add out of stock products to cart without changing any configuration from backend. I'm using following function to add product to cart addProduct($productInfo, $...
0
votes
0answers
16 views

Show out of stock products for specific web site (store view)

I have 4 retail web sites setup with one Magento installation (multistore – different websites and store views). First, 3 web sites show only “in stock” products (which is what I want), but the 4th ...
0
votes
0answers
12 views

Display Certain Out Of Stock Products

I would like to display certain out of stock products on the front end how can this be done using version 1.9
0
votes
2answers
83 views

Downloadable product on Magento 2.3.1 out of stock issue

I'm issuing a problem with newly created downloadable products on Magento 2.3.1 This store contains about 10k products (phisical and digital) imported from M1 Phisical in stock/out of stock is ...
0
votes
0answers
12 views

Salable Quantity display on Product page in magento 2.3.1

I am having 2 problems with Salable Quantity on magento2.3.1 version 1. Want to show Salable Quantity default stock on the product pages 2. The site is displaying those products which have Salable ...
0
votes
3answers
62 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
14 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 ...
0
votes
0answers
19 views

Magento 2: Show price for out of stock configurable products

I have Magento 2 site with multiple store views. My requirement is that, I want to show price for out of stock configurable product price when I tried to get product id in final-price.phtml in that ...
0
votes
0answers
15 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
28 views

Magento 2.3.0 In product detail page configurable product swatch box remove it when simple product out of stock

I am using Magento 2.3.0 and our requirement is when I change qty in the admin side for a simple product than a configurable product color swatch removes it not display on the frontend side. How to ...
0
votes
0answers
24 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 ...
1
vote
0answers
23 views

Magento2: Conflict functionality when i install third party module [closed]

I have to use custom module for out of stock product shows at the end of product listing is working it but when I use third party module for layer navigation magebees than my previous out of stock ...
1
vote
0answers
26 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 ...
0
votes
0answers
52 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
0answers
35 views

Magento 2.3.0 swatch attributes - Display Out of Stock Products

I am using 2 attributes color & size for configurable product. If associated simple product has been out_of_stock then the related swatch option is disabled if more than one attribute. But If I ...
0
votes
1answer
33 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 ...
2
votes
1answer
32 views

out of stock products in flat tables

while selecting the products from flat table. out of stock products are missing. Is there any configurations that will populate the out of products also in flat table? Where the flat tables can be ...
0
votes
1answer
45 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
0answers
30 views

Display Price for Out of stock configurable products

How can I display price of configurable products that are out of stock currently?
0
votes
2answers
62 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
14 views

How to show Swatches red line when the product is out of stock

Current my swatches are working but not what I expected. I have a product and the colour is black and silver Which has 2 options and if i put black colour and the option 1 out of stock the swatches ...
1
vote
3answers
101 views

how to add negative qty product into cart in magento. 2

How to add a out of stock (less than 0 ) product in shopping cart in magento 2 In my backorders setting i have custom option as Allow pre-order when i select a custom option and saved a ...
1
vote
2answers
282 views

Magento 2 How to Disable Add to Cart Button for Out of Stock Products

Magento 2.3 I have a 3rd part software I use for stock management so dont need Mangeto to manage my stock. If I set the manage stock option to no then the add to cart button on the product page is ...
1
vote
2answers
304 views

How to show out of stock product configuration in Magento 2.2.7?

The display of out of stock products is enabled in the store configuration. This means that out of stock simple products are displayed. But if one or more configuration of a configurable product is ...
0
votes
0answers
658 views

Display Out of Stock Simple Products swatches in configurable product

Configurable product should display all simple products, also the simple products which are out of stock. For example an item has the sizes S, M, L, XL. And M is out of stock. At this moment it only ...
2
votes
0answers
193 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 $...
1
vote
2answers
284 views

Magento2.1.9 : Out of stock product Backorder not working?

I have to used Magento2.1.9 when I add out of stock product to cart it is not working and am getting error as this product out of stock I need backorder working properly for out of stock product and I ...
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 ...
0
votes
0answers
44 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.
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 ...
2
votes
2answers
353 views

Magento swatch is not disabled when configurable product is not on stock

I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, ...
0
votes
1answer
222 views

Show out of Stock Configurable products magento2

I am trying to show out of stock child item of configurable product. referred below link Magento2.2 configurable products out of stock issue As the answer is accepted there. Used same module in my ...
0
votes
1answer
378 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
2answers
41 views

How to hide out of stock product and set product limit per page for custom product collection in Magento?

I am using Magento 1.9 I have created one custom listing page and in this page I have displayed all products. I have added below code for collection. app/design/frontend/my_vendor/default/template/...
0
votes
1answer
94 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
82 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
1answer
73 views

Magento 1 Stock Status

I am trying to figure a way to hide show stock status/availability on product page unless it is out of stock. I have all the settings configured to where it displays stock status on front end as ...
1
vote
1answer
783 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 ...
0
votes
0answers
80 views

How can I placed order for 'OUT OF STOCK' product if Back orders is Disable programmatic

Back orders must be Disable in my case. Check this URL as well attached image. http://kktestserver.dev-site.me/grey-pearl-fob-necklace/ Case : Default Magento have 0 Qty available. But in some out ...
1
vote
0answers
70 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
1k 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 ...
2
votes
3answers
857 views

How to get product collection with both in stock and out of stock products in Magento 2.1

I'm using below code to get the product collection <?php namespace Vendor\Module\Block\Product; use Magento\Framework\View\Element\Template; use Magento\Catalog\Model\ResourceModel\Product\...
2
votes
1answer
58 views

How to show out of stock product next due date in Magento 2.2.2? [closed]

How to show out of stock products with next due date for Product availability on market. I am using Magento 2.2.2. I need free plugins and instructions only because I am not good with coding.
0
votes
0answers
201 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-...
2
votes
2answers
52 views

Magento CE 1.9 collecting the LowStockDate value

I've made a quick script to collect out of stock products that are: a) qty greater than 0 b) have been out of stock for 2 weeks. This will then set the is_instock_value for products that match those ...
1
vote
1answer
50 views

Getting error when show “out of stock” products in last [duplicate]

I have developed Magento module that shows out of stock products in last of catalog page list and I test it in my test website and it works correctly but in other websites (Magento 1.9.3.7) I got ...
0
votes
1answer
56 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 ...
1
vote
0answers
125 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 ...
2
votes
1answer
406 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 ...
0
votes
1answer
98 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('...