Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [out-of-stock]

The tag has no usage guidance.

0
votes
0answers
8 views

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

Magento ver. 2.2.1 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 ...
2
votes
1answer
91 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
0answers
22 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
75 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
27 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
0answers
14 views

Query to get product list with all in stock and 1 month old out of stock products

Trying to create a query to get all instock and 1 month old out of stock products from database. Have the following query but not working. SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`,...
0
votes
1answer
84 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
3answers
22 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
44 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
127 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
17 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
39 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
165 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
1answer
57 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
29 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
59 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
44 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
45 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
28 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
82 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
0answers
68 views

Alert stock email not received

I've configurated my magento 2.2.4 to send email to customers that have registred themself for an alert stock when the product out of stock is going to be in stock, but when i try to do this i don't ...
0
votes
1answer
74 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
18 views

Product out of stock redirect to category

i have this issue for the out of stock products. The products are visible on frontpage, but if i try to open, i have this message: Product [Product Name] is no longer in stock. Please check other ...
0
votes
0answers
264 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
0answers
111 views

Qty for Item's Status to Become Out of Stock not working properly

I'm on Magento 1.9.2.4 and I setted Qty for Item's Status to Become Out of Stock to 3. It is working in most of the products but some (apparently random) products still are as in stock with stock 3 or ...
1
vote
1answer
312 views

Magento2 Display out of stock products at last

We have to display out of stock products at last in the list pages. Let me if anybody have an idea. Thanks
1
vote
1answer
163 views

Magento 2 : “Add All to Cart” button disable when one product “outofstock” in wishlist page

One product "Outofstock" and save in wishlist then after, when after login in wishlist form click on "Add All to Cart" button. But it's not working because of "Outofstock" product in wishlist. So how ...
1
vote
1answer
80 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 ...
0
votes
1answer
24 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
0answers
21 views

Problem with the inventory status update

My online store is running on Magento-1.9.X Even if all the associated products with respect to product become out of stock. the inventory status of the configurable product status still displays as ...
1
vote
1answer
120 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:...
2
votes
2answers
638 views

How to get all visible out of stock products in magento 2

I checked into this and got my nearest answer but not as we usually expecting from magento. I want all out of stock product which can visible in store front means have respective product landing page ...
0
votes
2answers
47 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 ...
1
vote
0answers
532 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!
0
votes
0answers
373 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 ...
4
votes
1answer
1k views

Magento2: Configurable product showing out of stock child products

I'm facing issue that configurable products showing out of stock associated products even if the backend setting "Display Out of Stock Products" at Configuration->Catalog->Inventory->Stock Options is ...
0
votes
1answer
496 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 ...
1
vote
0answers
172 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][...
0
votes
2answers
139 views

SMS not Sending to Customers from Observer.php

I need to send SMS (By using any SMS API) to customers when products are back in stock. I have rewrite Mage_ProductAlert_Model_Observer class and added SMS API in my Custom Module's Observer.php file ...
0
votes
0answers
44 views

Add SMS API to Product Stock Alert Email Template

I need to add our SMS API to Product Stock Alert Email Template. Currently our users receiving emails when products are back in stock. Like same way, I am planning to add our SMS API in Stock Alert ...
0
votes
0answers
334 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 ...
1
vote
1answer
121 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'...
2
votes
1answer
1k views

Magento2 set “in stock” when programmatically update qty

I use this code to programmatically update the stock but status remain "out of stock". How to force Magento to set "in stock" when qty change from 0 to 1 or more ? foreach($importArray as $line){ ...
0
votes
1answer
178 views

how to get date of out of stock product

I need the date of out of stock product. is this possible we get the date of product when the product is out of stock or again quantity added in stock? Thanks.
1
vote
0answers
27 views

Ajax Cart - Out of stock [closed]

I have ajax cart from porto theme. But when I am add more product than stock, the ajax cart crash (wheel is just rotating) and I got no message How to fix this issue?
2
votes
1answer
97 views

Hide out of stock price from category Magento 1.9

I want to hide out of stock product price from category but I want to remain the product on same category but only hide price when the product come back to store then it will show price. Can anyone ...
2
votes
1answer
991 views

Products incorrectly shown as out of stock - Magento 2.2.1

I have made a configurable product, with 4 associated configurations. My issue is that the product configurations are set with the right quantities, by the size of the product. But the product is ...
1
vote
1answer
342 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 ...
0
votes
1answer
158 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 ...
1
vote
1answer
410 views

Configurable Product - Shows available in category view but Out of Stock in Product View and without Add to Cart button

4 simple products associated to config product. -website selected -all enabled -all set to instock / avail -config set to instock --I've been trouble shooting but cannot seem to create In Stock ...