Questions tagged [manage-stock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Magento 2. Stock display question

Is there a way to implement desired logic ? In stock --> display "in Stock" and product can be added to cart Out of stock -> does not display any message and product can be added to ...
-1
votes
1answer
38 views

Magento 2 Stock Status hide/show based on 'manage stock' status

I am trying to figure a way to hide stock status/availability on product page when it is set to 'don't manage stock.' And if it is set to 'manage stock', it should show stock status/availability on ...
0
votes
0answers
5 views

Retrieve stock updates from default Magento API

We are looking for a way to get the stock from Magento (2.3/2.4) and sync it to an external application (and keep it up-to-date). Is there a way to do this with the default API, so without the ...
0
votes
0answers
20 views

On Place Order, How to Deduct Product Qty with Salable Qty Programmatically in Magento 2.4?

I used "sales_order_save_after" event, In this event at "new" state I want to deduct Product Main Qty with Salable Qty and on Shipment create Restrict Deduction of Main Qty. ...
1
vote
1answer
46 views

Magento 2: Need to check function for auto stock status changed

I have configurable products and its child items in Magento 2.4 admin panel I have 3 child items for one configurable parent. If I set out of stock for 2 items and save then parent would be in in ...
0
votes
1answer
28 views

Magento 2 How to restore stock after cancel order

I am working on Magento 2.3.5 p-1 I have created a custom module that adds a mass action to the sales order grid, through a controller this action changes the order status to "customCancel" ...
0
votes
2answers
34 views

Get all stock quantities given one product

These are the stocks I have On my export this is what i'm getting, as you can see (for re and re_pro which belong to the same website) the quantity is fine , but the salable qty is a merge of both; ...
0
votes
0answers
12 views

Magento 2.4: what is the purpose Backorder options in Configurable product?

Below screenshot about Configurable Product from Advance Inventory. I am confused about this option in Configurable product. If I change backorder option it nothing change at frontend. This same ...
0
votes
1answer
18 views

Magento Saleable quantity not reflecting

Here is an interesting one. All the id numbers were created at the same time but the highlighted ones have both been disabled so should have a '0' for saleable quantity? The one highlighted at the top ...
0
votes
0answers
15 views

Display correct saleable qty when product is changed to "no backorder" / "out of stock"

When an item is offered as "Allow backorder" and you sell more than stock qty, the Saleable Qty changes to -1 etc. This way you can see which items needed to restock. However, if an item ...
0
votes
2answers
39 views

Stock Management in Magento 2

I am new to Magento 2 and customising Magneto 1 to Magento 2. I need some solutions regards to manage stocks. Let me give you a brief about it. I am creating a method "updateInventoryStock($sku, $...
0
votes
0answers
16 views

How to reduce stock in inventory when order is placed and not when shipped

How to reduce stock in inventory when order is placed and not when shipped . "Decrease Stock When Order is Placed"is already set to yes , still count does not decrease on order placement.
0
votes
1answer
93 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 ?
0
votes
0answers
12 views

Where I get the code file of default products and attributes in magento 2 directory?

I want to Change Stock status Value Manually in Atrributes in admin in Magento 2 because I want to add one more attribute manually for stock status
0
votes
1answer
50 views

Configuring Magento 2.3 MSI (Multi Source Inventory) with Multiple Stocks

I am trying to configure Magento MSI with Multiple Stock for a single Sales Channel but it only allows me to assign single stock to a sales channel. Based on Magento's documentation, this is how it is ...
1
vote
1answer
930 views

Proper way to update stock in >= 2.4?

I'm finding inconsistent documentation on how to update product stock for M2 2.4.1. Magento\Catalog\Model\Product::setStockData is documented in code to be deprecated and points to Magento\...
1
vote
1answer
149 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
1
vote
1answer
256 views

Change "Manage_Stock" via REST API on Magento 2

Using Magento 2, I'm trying to change Manage Stock attribute via rest API however does not seem to work via both the stockItems endpoint or the product one. Updating quantity seems to work fine. Tried ...
2
votes
0answers
38 views

Share inventory between my 3 stores (MSI disabled - Same Environment)

I have 3 stores that share the same stock for products. The stock is being handled by an external system, and in order for everything to work properly, they have been recommended to disable MSI (...
1
vote
1answer
2k views

Magento 2.3 stock update in DB level

I'm Currently using magento2.3, i have added a cron job to update products stock every 20 min from external inventory which will create a CSV file to magento directory, i will read this file and loop ...
1
vote
1answer
1k views

Why I received the error "Could not receive Stock Item data" in admin product grid?

"Could not receive Stock Item data" line appear instead of the product grid in the admin side. I have recently imported other DB to my Cloud local setup. When I'm doing indexing, I'm getting an error ...
0
votes
1answer
459 views

How to update product stock quantity when placing order in magento 2?

Can anyone help How to update product stock quantity when placing an order in Magento 2 programmatically? I am new to Magento. I need a sample example.
0
votes
1answer
186 views

Inventory Stock Sales Channel Mageto 2.3.3

So we have this query that keeps running and BlackFire is complaining about it and I'm wondering if I turn it off there will be any negative effects. We're not managing our own stock so I assume it ...
2
votes
0answers
70 views

async rest api product can't set `enable_qty_increments`

I would set up enable_qty_increments in my store. I've edit store settings cart options to manage this but when I try to use rest api to update my product always this request can't set options relate ...
1
vote
0answers
35 views

How to display price for out of stock products in magento2

How to display the price for out of stock product (configurable type) in magento2. I also refer to these links: Magento2: show price for out of stock configurable products. Magento 2 : How To Show ...
1
vote
1answer
152 views

Magento 2.3 After changing product all categories are unassigned

I have a problem with Magento 2.3.3. We have a lot of normal products and also use Group and Bundle products. All products are assign to a category (or multiply categories) and also displayed in ...
2
votes
2answers
303 views

Stock not reduce after placed the order in Magento 2 after enabling MSI

As I mentioned in the question, I enabled the MSI module in my Magento 2 store. Product Qty is not reducing from the stock until I complete the shipment. Is there any way to reduce the product Qty ...
0
votes
1answer
203 views

Magento 2 - Render cost price in low stock report - Many can use this

We have a shop, where we want a low stock report with cost prices, so we can see how much we need to pay for these products before buying them. What I want is to add an extra column with the cost ...
2
votes
1answer
2k views

Email layout handle phtml doesn't update in magento 2

I am developing a little custom Magento 2 extension that sends emails to admins on certain events. In layout handle's phtml template file I originally made a spelling mistake, which when corrected ...
1
vote
1answer
400 views

Magento 2 Decrease Stock When Order is Placed when Manage Stock is NO

Currently I have stock management software running Is it possible to have the Quantity Of Stock decrease when an order is placed whilst having the option to Manage Stock OFF. Currently I have the ...
3
votes
1answer
141 views

Manage Stock only option available is Yes

When I go to advanced inventory and want to set Manage Stock to No I only have the option Yes available. But why? I have no idea where to start debugging any clue would be appreciated or maybe ...
1
vote
1answer
2k views

How to manage stock in multi store website in Magento 2?

I am using Magento 2.1.4 I have created 11 website each with 2 or 3 store view in Magento under same admin. Now I want to enable "Manage Stock" options only for two websites. but it seems that this ...
0
votes
1answer
239 views

Change product price based on stock quantity in magento 1.9

I have a situation where the product price should change based on the number of items on inventory. Example, if the stock has > 10 item then the product price should be some special price like 100$. ...
0
votes
3answers
4k views

Is there a quick way to update stock levels in Magento 2?

We need to update the stock levels of lots of products following off-site sales. Rather than click though to the details of every product, is there a way of quickly updating the stock figure from a ...
0
votes
2answers
289 views

Get product in stock proucts when manage stock enabled

I'm doing some customization on magento 1.9.x website. I need to get all products with in stock and manage stock enabled I'm using this code $stockCollection = Mage::getModel('cataloginventory/...
1
vote
1answer
2k views

cataloginventory_stock_status entry issue Magento 2

I did not get an entry in cataloginventory_stock_status table after indexing. Product stock entry is exist in cataloginventory_stock_item table. I have checked this thing in Magento 2.2.5 in default ...
0
votes
1answer
59 views

Massive Stock Update

I currently have a code capable of updating the stock of products but this code involves updating the stock of each product one by one. Is there any functionality capable of sending an array of SKUs ...
1
vote
1answer
1k views

Query Magento2 database to find all SKUs without managed stock set to yes

Is there a database query that I can run against my Magento 2.1.6 database to find all SKUs that have Manage Stock set to No. I need to have ALL products set to Yes and Use Default checkbox ticked. ...
0
votes
1answer
65 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 ...
1
vote
0answers
54 views

CE 1.9 - Automatic Restock of Product by predetermined date

When we sell out of a product in magento its marked "out of stock". We then order the new stock and wait for it to arrive before manually setting the product back to "in stock". The trouble with this ...
13
votes
2answers
7k views

Magento2 : API Stock update

Using Magento 2.2.2, I was trying to add stock updates to a pre-existing setup using the official defined endpoint: rest/V1/products/testsku/stockItems/1 with { "stock_item": { "qty": 1234, ...
0
votes
1answer
112 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('...
1
vote
1answer
28 views

group product or bundle product?

I have product A which is composed of 2 products B and 1 product C. The user can buy the Product A (so with product A B C ) on a page. The stock is decreased on A B C. OR He can separately buy ...
2
votes
1answer
508 views

Magento 2.2 - Product always in stock?

I was wondering whether anyone could please advise how I can have a certain product that would always be in stock? I can see that you can set this from the config, however this applies to all products ...
2
votes
1answer
710 views

Magento 2 UPSELL product list showing same price as of Product

I'm facing an issue with Magento 2.1 UPSELL PRODUCT LISTING. All the upsell products are showing same price as that of the PRODUCT price. In back-end I have set Manage Stock as NO as I don't need to ...
0
votes
1answer
331 views

Set product stock quantity after uncancelling order

I have a module to uncancel orders. The problem is that when I uncancel an order, the stock quantity is not decreasing for the amount of items ordered. I have the line of code that set order back to ...
0
votes
1answer
260 views

Magento2 Possible to configure "Decrease Stock When Order is Placed" On storeview level?

I have a Magento 2 installation which has two websites - B2C and B2A. For B2A site I need to disable Stock Management so products won't be subtracted from the inventory when order is placed. I can ...
1
vote
1answer
652 views

Magento 2 store view same product with different stock levels

I have set up 2 stores views eg. uk/us both have exactly same structure of categories same products etc... except for the stock qty levels. I've been playing around and I know for fact I can disabled ...
0
votes
2answers
588 views

How get the product SKU in XML magento 1.9

I want to create a product XML file like this: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <root> <stocks> <product> <sku>883503536128&...
0
votes
1answer
2k views

How to change Product Stock Alert email template in custom theme

I want to change email template of stock alert but I could found only single variable in the template file "alertGrid". Please tell me how I will change the alertGrid layout. So, I can change the ...