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 [stock-status]

The tag has no usage guidance.

0
votes
0answers
11 views

Bundle/Configurable availability

Is there a way to see the dynamic availability for bundle and configurable product? example: Configurable product X have in-stock availability; Associated product Y (associated of X) has out-of-...
0
votes
0answers
11 views

Display stock level for Configurable Products

I hope somebody on this forum would be gracious enough to assist me or offer some helpful advice. We want to be able to show customers the amount of stock we have for our items, I have adjusted our ...
1
vote
0answers
8 views

How to get remain stock of product , if some of added in cart

I am just modifying magento add to cart ajax functionality. I want to check remain quantity of product if some is added to cart. But i tried ,many ways but i did not success. Instead of message ...
0
votes
0answers
20 views

option product quantity is zero, not displaying in configurable product in magento 2.2

I tried admin panel settings Products -> Catalog ->inventory-> dispaly proct if out of stock (yes). But still for configurable product of my swatch option quantity is (0) zero, that option(child) ...
0
votes
0answers
16 views

Product doesn't change stock status until after the page reload

Currently we are having an issue where the product doesn't show the correct stock status (In Stock/Out of Stock) when the stock quantity changes on the first page load. Firstly, we do use a few ...
0
votes
1answer
44 views

How can I add different stock labels

How can I add new stock labels to magento 2 so they appear in the product stock status select box ? Thanks.
1
vote
0answers
17 views

Programmatically updating stock in and out Magento 1

I have a magento 1 store and also a third party, centrally controlled stock system. Now, I have a script that imports stock from this third party and updates the stock in the magento database which ...
0
votes
1answer
84 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
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`,...
1
vote
1answer
116 views

Magento 1.9 Update stock product status with sql query

We want to update stock status with sql query. This query worked and products status does as out of stock in product page. But when i did clearing cache, products is appearing in stock when i check ...
0
votes
1answer
45 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 ...
0
votes
1answer
291 views

How to display available quantity of each product in Magento 2

I want available stock Qty to be displayed right underneath of the home page and quick view like I have marked on,what would be the easiest approach to achieve this? (I use an advanced warehouse ...
0
votes
2answers
36 views

display stock information to logged customer only in Magento 2?

I want to display stock only to logged customers in product page. can you guide me how can I do and in which file?
3
votes
3answers
80 views

How to display stock information to logged in customer only in Magento 2?

I want to display stock only to logged in customers. can you guide me how can I do?
1
vote
1answer
168 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 ...
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 ...
0
votes
1answer
40 views

Magento CE 1.9 Script for setting stock

I need a script that will check all magento products and set them to instock if the qty is greater than 0. The plan is to run this as a scheduled cronjob so that it will be checking for any products ...
0
votes
1answer
24 views

Magento 1.9.3.8 Execute only when there is a change for the Stock Level

I have got a custom extension, to track stock movements. So, keep a record of when x amount stock is added for a given product and/or when x amount of stock is removed. However, Even if I don't edit ...
0
votes
0answers
115 views

Updating low stock alert email Magento 1.9

We have low stock inventory turned on in Magento. It was brought to my attention that there was a misspelling but I can't seem to figure out what file to edit. The furthest I got was this file ...
2
votes
2answers
503 views

How to add Stock Status(default attribute) column in admin product grid Magento 2?

I want to add product stock status field in product grid and in filter options. How can I achieve this? I am using Magento CE 2.1.4.
0
votes
0answers
77 views

how to subtract stock after order status is completed not on processing in magento 1.9?

Inventory is enabled and just placed an order, after placing order stock automatically subtract by quantity. Here, I only want that stock should subtract when I complete the order by clicking on order ...
0
votes
0answers
86 views

Display backorder info on bundled products?

I'm trying to add a "backorder message" to my product pages. I've changed the stock-box code in default/template/catalog/product/view.phtml to: <div class="stock_box"> <?php if ($...
0
votes
0answers
46 views

How to show product stock qty after clicking color?

i've got question here and i need assistance : how to show product stock qty after clicking color? example : when i click grey that's stock 5, when i click blue that's stock 3. P.S : this ...
0
votes
2answers
50 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
41 views

Magento 2 Possible to make Stock Status working for storeviews?

In Magento, Stock Status is global, so when a product is Out-Of-Stock, then it's disabled for all websites / storeviews. Are there anyways to make Stock Status working on storeview level? I have ...
0
votes
1answer
61 views

How to disable a product using Id in phtml?

I need to disable a product which is added by specific role. My code below: $role_id = 1 ; //get user's role id from system configuration $objectManager = \Magento\Framework\App\ObjectManager:...
0
votes
1answer
122 views

Get random products that are in stock

This is my code, i get random products here ... $products = Mage::getModel('catalog/product')->getCollection(); $products->addAttributeToSelect(array('name', 'thumbnail', 'price')); //feel free ...
0
votes
0answers
31 views

How to know whether the product is in stock or out of stock using product id

I need to get whether the product is in stock or out of stock for a product in magento 2. I am using Magento\Catalog\Model\Product to get Name, Image, Price for a upsell product.So Please provide me ...
0
votes
1answer
40 views

How to check the upsell products stock and status in magento 2

I need to check whether the upsell product is enabled or not and also check whether it is in stock or not in Magento 2. Please provide me a solution
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 ...
2
votes
1answer
115 views

Magento statuses and states and reviews through kount/braintree (GENE)

I'm working on changing various "order states" based on their statuses in magento when they come in via kount Ens.php. I've had some success with a couple of them but I can't seem to figure out the ...
1
vote
1answer
257 views

How to get disable products in product collection in magento2.2

I am trying to get product collection with all enabled/disabled products. It works fine until I upgrade Magento to 2.2. Now It's not fetching disabled products in collection. Here is my code - ...
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
2answers
241 views

Override default “Only x left” message

I want to extend default "Only x left" message. Can you tell me which file controls it? At the moment message is visible only when stock is less than qty threshold. I want if stock is more than qty ...
1
vote
1answer
245 views

Magento 2 reload stock status of configurable product

I've been trying to understand the "On stock" issue on the product page for a few days now. Unfortunately, with the standard installation some things work differently than expected. Why does the ...
1
vote
0answers
31 views

Set front-end product in stock / out of stock of each product

I tried to modify the product's frontend stock status. First I got my stock for each product that is different for each customer in my outside database. How can I make the customization in magento ...
2
votes
1answer
1k views

Email Notification On Low stock, Out of stock , Back to stock Magento 1.9

I want to create a stock alert where user can subscribe product_alert_stock table in the database store details when user click on subscribe link. Currently it sends on two conditions : On stock ...
0
votes
2answers
118 views

How to show the total quantity number(Like 10) instead of In Stock Status in Magento 2.x?

I need help for Magento 2.x. Recently I have developed a eCommerce site. On products details page has "Stock Availability" using "In Stock" status. So, I want to show the total number of quantity "...
1
vote
0answers
467 views

Magento $_product->isSaleable() alternative

We have a Magento 1.9.3 site that only has configurable items on it. On the list page, we need to check if the item is in stock, the way we're doing this is by checking if($_product->isSaleable()) ...
1
vote
1answer
216 views

'only x left threshold' option not working

I have set the threshold to 7, I've set a simple product to quantity 2 and manage stock etc is on, it's also in stock. The setting 'Display products availability in stock in the frontend' is set to ...
0
votes
2answers
69 views

How can I make products with positive qty out of stock?

I would like only products that have qty=>5 to be marked as in stock, those that are less than five would be marked as out of stock and they won't be available for sale.
0
votes
2answers
338 views

Get SKUs of “in stock” products

I’m looking for a faster way to retrieve a list of SKUs of "in stock" products. I’m using this code $products_collection = \Mage::getResourceModel('catalog/product_collection')->...
0
votes
1answer
679 views

How to call observer on stock update in Magento2? [duplicate]

I have tried to call my observer when stock is updated. Here is my etc/adminhtml/events.xml code <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
1answer
161 views

Set cron job to module stock status

Here is great module for stock Status From Enru magento-stock-status but now issue is its works on save action. I want to set it Cron Job. cron job run On Daily basis Kindly let me know how can i ...
0
votes
0answers
123 views

cataloginventory_stock_status

on Magento admin it says A product has 2000 stocks, but on "cataloginventory_stock_item", and "cataloginventory_stock_status_idx" it says 500 stocks are left. so i reindexed, but nothing has been ...
0
votes
0answers
67 views

Magento 1 Product out of stock

I created some new products in my store using Mag Manager and i noticed that some of them appears as "Out of stock" in fronted in spite of having stock and availability. Consider this URL: https://...
1
vote
4answers
3k views

How to display stock information on product page?

I would like to display the stock status (In Stock | Sold Out) on the product page. How can I achieve that?
0
votes
2answers
133 views

Magento : Mass Uploading Qty by sku - Become Out of Stock - 2

mass uploading qty by sku but need to change code to "Qty for Item's Status to Become Out of Stock - 2" as thats what we have set global. public function _updateStocks($data){ $connection = $...
0
votes
1answer
268 views

Available Qty is 0 but stock availability status is showingthe item instock [duplicate]

I have set the "Qty for item's status to become out of stock" to 0 and the available Qty has become 0 but the item is still shown as in-stock.
0
votes
1answer
370 views

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

I have configured Magento 1.9 as shown in picture. Display out of stock products to YES, and Qty for items status to become out of stock 4 The problem is, even though the quantity of a product is ...