Questions tagged [stock]
Denotes questions related to stock management and configuration on Magento
508 questions
0 votes
1 answer
66 views
How can I get a list of items on stock, filtered by certain product attributes?
I want to fetch (using the REST API) a list of products that are: Above a certain price Enabled On stock I can filter fine on the first two using the price and status fields in the rest/V1/products ...
0 votes
1 answer
86 views
Magento 2.4 stock quantity inconsistencies
I'm running Magento 2.4 I have stock inconsistencies, so in a number of cases the product qty is greater than the saleable quantity, even when there are no pending dispatch orders etc... Therefore ...
0 votes
1 answer
100 views
Adding Pre-order option to stock status in product
I want to add an extra option in the "stock status" part of a product. I never use backorders, but want to set some products in Pre-order state instead of in or out of stock. When I pre-...
0 votes
2 answers
403 views
How can I adjust Saleable Quantity in bulk in Magento 2.4.7
I am using emagic one to import 35,000 products into a new instance of Magento 2.4.7. The import goes well, with all product fields and images imported. The issue that I have is that "saleable ...
0 votes
1 answer
121 views
How to Move Out of Stock Products to the Bottom and Available Products to the Top in Magento 2.4.7
How to Move Out of Stock Products to the Bottom and Available Products to the Top in Magento 2.4.7 After Magento 2.4.7 update Out of stock products appeared at the top of the page, and the customer ...
1 vote
1 answer
255 views
Magento 2 : Product showing out of stock but In stock in admin
I have use Magento 2.4.6-p5 version. We have some products in our inventory that are in-stock in the backend but showing out-of-stock in frontend. If I make a product out-stock and then back to in-...
0 votes
0 answers
29 views
Configurable child products show as backorder on order confirmation
I have a lot of configurable products on my site and have a problem and that is: When a customer places an order of a child product of a configurable product the order confirmation show the child ...
1 vote
1 answer
51 views
Adding items to the basket when fewer are available
We are looking to solve a problem with Magento 2.4.6 (version probably irrelevant). We have multiple configurable products available for sale and customers will place orders for big quantities of the ...
0 votes
2 answers
285 views
Magento 2 show current stock for salable quantity on productpage
I have this code for showing if my product is in stock or not. <?php /* @var $block \Magento\Catalog\Block\Product\View\AbstractView */?> <?php $_product = $block->getProduct() ?> &...
0 votes
1 answer
487 views
Out of stock product visible on storefront. After updating the product programmatically
I'm working on integration, where I'm updating a product stock. But Whenever I set product stock to zero the product gets out-of-stock(as intended) from the backend but is still visible on the ...
1 vote
1 answer
1k views
Magento2.4: How to assign a new source to stock programmatically?
I am trying to assign new sources to stock but it's not working. I checked the logs and there is no error found. Below is my code. Can anyone please check and suggest me where am I wrong? public ...
0 votes
0 answers
63 views
SQL Error when importing stock csv
Since we have updated to magento 2.4.6 when we want to import stock via csv we now receive an error. systemException Additional data: SQLSTATE[42000]: Syntax error or access violation: 1064 You have ...
1 vote
1 answer
154 views
Magento 2.4.3 - Grouped/bundle product out of stock when one or more child items is out of stock
How can I make grouped/bundle products out of stock if one or more child products are out of stock?
0 votes
1 answer
60 views
Magento 2.4.3 - Translation Issue
I'm trying to translate "Availability %1" to "På lager: %1" and this happens. Does anyone know why this happens?
0 votes
1 answer
315 views
Saleable quantity is empty even though quantity is showing admin
Right, here is a strange one we are using magento 2.4.2 and stock in the channel to import product data (if any one is aware of them) for some strange range we ever we ever we run the import the "...