Questions tagged [quantity]

Questions related to products or inventory quantity or stock

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

Availability-only not shown on inventory level in Magento 1.9

For my Magento store, the threshold qty is not considered on inventory level, although this is set up in the backend. This is the view with the output of the QTY message app/design/frontend/base/...
1
vote
1answer
16 views

M2 - Reset Salable Quantity

Is it possible to reset the Salable Quantity? It looks like our Stock and Salable Quantity is going the wrong way, they show to much difference. It can because of we removed all the test orders... So ...
0
votes
0answers
30 views

How to get configurable product stock quantity inside swatches-product.js file

Need to add option data attribute for configurable products. Product.Config.prototype.loadOptions = function() { this.settings.each(function(element) { element.disabled = false; ...
0
votes
0answers
21 views

M2 - Configurable product stock is 10, max to order is 6

I have multiple configurable products on my webshop and the quantity is set to 10, but if I want to order 7 items, I get a message "The specified number is not available". And if I order 6 items, it's ...
2
votes
1answer
40 views

Magento 2 : Product Quantity Update Programatically If Product Status is Disabled

We want update product quantity programatically. If product status is Enable then quantity update properlly. But which product status is Disable quantity not update in it. We create one custom module ...
1
vote
0answers
30 views

Remove quantity for some products in minicart

I need to remove the quantity from some product of my minicart. But as the minicart is loaded in ajax, I need to deal with this with JS. Sometime of remove the input, sometime it doesn't. And if I ...
0
votes
1answer
12 views

Getting product stock levels / quantities in Magento 2.3

I have the following code to get a product collection but how do I also return back the stock levels too $products = $this->productCollectionFactory->create() ->...
2
votes
2answers
34 views

Where does Magento decrement quantity of a product after the order is placed?

I need to check the Product Salable Quantity of a product after a successful order to change one of the product´s attributes. I keep getting the product salable quantity before It´s decremented. ...
0
votes
4answers
11 views

How to set qty number to add to cart on product page

How to set certain number when the product page loads up. Default level when you click on a product the add to basket quarry is always one how to change that to different value for each store. I know ...
2
votes
0answers
17 views

How to update quantity into order summary at checkout page?

Magento Version : 2.3.0 As per client requirement, i need to update quantity from order summary at checkout page. Please suggest me, how can i implement this functionality? Thanks in advance
1
vote
1answer
20 views

Minimum quantity and increase with minimum quantity

I would like to have a product with a minimum quantity of 25 and if someone wants to order more and press on the arrow for more it needs to jump to 50, 75 etc. My product is only available per 25. ...
1
vote
1answer
200 views

Can't check requested quantity for products without Source Items support issue on 2.3.1

I have a custom module installed . A module that adds product type to display a product. On the product configuration, it offers other sets of parameters(Min, max price & total price target to set ...
1
vote
0answers
18 views

Sellable Quantity Not Matching Product Quantity

I have alot of SKU which the sellable quantity is less that the actual quantity. So quantity could be 5, but sellable quantity is 3. I thought it could be open orders, or processing orders, so I ...
1
vote
2answers
228 views

How to set qty to product on MSI Magento 2.3

In my custom module, I'm using StockRegistryInterface to set qty and save my product. But on Magento 2.3 I started facing the issue of having 0 salable qty right after saving the product. After ...
0
votes
1answer
24 views

Get stock data for grouped products in Magento 2

How to get grouped product stock in Magento 2? If it uses parent product's quantity, then how can I get the default qty which is set while grouping?
3
votes
2answers
86 views

Salable Quantity is greater than quantity

My salable quantity is greater than my quantity. How has this happened? I recently updated to Magento 2 and have been trying to get my head around the MSI but still can't figure out how salable ...
3
votes
3answers
622 views

Magento 2.3 - Salable Quantity turning off

Is there a way to set work around the Reservations in 2.3 ? Currently, "The quantity of the product decrease only after shipping is completed" . We do oversell over the weekend as qty doesn't ...
0
votes
0answers
60 views

How to add new column in order csv export

I am trying to add a new field called quantity to the order csv export, but I am not able to do it. With all the other fields that get exported, I want another column called quantity which shows the ...
0
votes
1answer
34 views

I have update the quantity and change Stock Availability to instock but quantity not updated

I have update the quantity and change Stock Availability to instock but quantity not updated. It displayed product saved, but quantity not updated.
3
votes
0answers
25 views

bundle vs single quantity discount

I write you because I am trying to create a shopping cart rule that applies a discount to a bundle of materials (2 different materials in each BOM) if the user places more than 10 bundles in the ...
3
votes
0answers
22 views

Grouped Product - force same quantity for all products

I am using Magento 2.3. I have defined 4 different simple products with a price of 3.99 each. I want to create a grouped product to allow the user to purchase 1 of each product, with a total price of ...
1
vote
3answers
812 views

how to add quantity increment and decreament (+ and - button) in minicart magento 2?

actually i am trying to add quantity increment and decreament (+ and - button) in minicart magento 2.3. If anyone have any idea please guide me.
2
votes
0answers
60 views

Magento 2: How to add quantity field in category page [duplicate]

I need to add quantity box in category page. your help will be greatly appreciated
0
votes
0answers
47 views

Disable add to cart button if quantity more than one in magento 1.9

I want to disable add to cart button if quantity more than one in magento 1.9
0
votes
2answers
30 views

Item is out of stock but available on storefront

Can you please guys explain, me how can I do this ? "If an item is out of stock can it stay on the site but say 'More stock on its way' and not allow people to order until stock is available again."
5
votes
5answers
3k views

Salable Quantity is showing zero in product grid magento 2?

Actually in my case Salable Quantity is showing zero in product grid Magento 2.3? Due to this issue, products are not showing in frontend. If anyone has any idea please tell me. For this re-...
0
votes
1answer
43 views

Is it possible to import decimal quantity while products imports for some of the products magento 2?

I am thinking to allow decimals quantity to some of the products while products import Magento 2. If anyone have idea please guide me.
1
vote
0answers
33 views

product quantity is not added more than one product in magento1

In magento1.9 If I will try to add product more than 1 item then item is added in cart only 1 item. I have checked admin configuration is fine but I am unable to to add more than one items in cart. ...
0
votes
1answer
66 views

How to remove “Please enter a quantity greater than ##” when adding a product to cart

I need to remove the "Please enter a quantity greater than ##" message from the product detail page, what file do I have to edit to stop only this specific alert?
0
votes
2answers
47 views

What Magento Version (2.x) support Multiple Inventory System

I have more than one store, i need to update more than one store inventory for same product. May i know what Magento Version (2.x series) support multiple inventory System.
1
vote
1answer
88 views

M2 - Get stock quantity on product detail page

I need to get the stock quantity on the product detail page. I'm not an expert in Magento but I was being told that using the objectmanager is not a good idea, but in almost every example I find I see ...
0
votes
1answer
34 views

How do I hide the quantity box in bundle product page?

Basically I've already set default quantity(1) for the linked product in the bundle product display page, now I just want to hide the quantity selection for the linked product all together. Appreciate ...
0
votes
2answers
192 views

Magento 2: How do I track configurable product inventory with intangible attributes?

I'm on Magento 2.2.3, and created some configurable product with multiple attributes and I would like to track my inventory. Magento treats each variation as a simple product with it's own inventory,...
0
votes
0answers
54 views

Configurable Product Add to Cart Issue

I have a configurable product with 4 associated product with it. When I go to configurable product and select a configurable option A and Add product to cart, product added in cart successfully. But ...
2
votes
3answers
870 views

Store level Inventory for individual product Magento 2.2.0

Is there any way that have enable Store level Inventory. Its not about user config Inventory at Catalog > Inventory Its about Admin >> Catalog >> Product >> Open product which you want to ...
1
vote
1answer
704 views

Magento 2 How to set product minimum quantity selected to minimum qty configured in the Advanced Inventory product level

If 5 is the minimum Qty on Advanced Inventory product level for a product then in Product detail page it should as 5 default selected. How can I achieve this.
0
votes
1answer
235 views

Hide the Qty Box in bundle product

I'm trying to find how to remove the qty box on the individual product options in bundles. User doesn't have permission to edit the qty in these box and I want to remove them for a cleaner look. ...
4
votes
3answers
2k views

Magento 2 stock inventory is not being updated

when I placed order in front-end or back-end, quantities of product is not getting reduced or decremented When i have checked in admin panel... Please help me out.. Thanks in advance...
1
vote
2answers
329 views

Magento2: How to get product quantity and minimum quantity value?

In magento 2 how to get product quantity and minimum quantity value customly created modules?
1
vote
1answer
403 views

How to show Qty left in Magento 2 Listing page?

I need to show Qty left message with qty of product in product detail page with below condition. If the available stock is less than 'Notify for Quantity Below' parameter of each product. And can we ...
1
vote
1answer
195 views

Magento 1.9.2. - Update in real time Tier Price when i change quantity

I'm trying this code because I want to see the price of the product change dynamically when in the input field of the quantity exchange the number (this only for the products that have the tier price)....
0
votes
0answers
119 views

Magento2.2.6 : How to maintain different quantities for different websites in multi website?

I am working on Magento-2.2.6. I created two websites for our two stores under single Magento installation. That means, i am working on Multple websites under same Magento installation In this, i ...
0
votes
2answers
110 views

Allow only specific number of quantity products per cart

I have to allow only specific numbers of total quantity products in cart. For example i have to allow total 10 products per cart. it's doesn't matter to specific product, products from specific ...
0
votes
1answer
287 views

Store Quantity of product in meters,cm in magento 2.1.12

I want to make a website for custom shirt.I want to store quantity in meters,centimeters.It is possible in magento 2.1.12.
2
votes
1answer
1k views

Qty Uses Decimals Magento 2 does not work

Our client needs to give the option to the customers to buy certain products in the decimal quantities. i.e. the customers can buy in periods on 0.25. (0.25, 0.50, 0.75, 1, 1.25....... ) Enabled the ...
0
votes
1answer
212 views

How to get ordered quantity from product?

I'm trying to get the ordered quantity from my catalog/product collection, but I'm having this error: Call to undefined method Mage_Catalog_Model_Resource_Product_Collection::addOrderedQty() Here ...
0
votes
2answers
352 views

Cancel order and restore products stock qty

I'm using the following code to cancel programmatically some orders in my magento website: foreach($orderCollection as $order): $order = Mage::getModel('sales/order')->load($order->getId());...
1
vote
1answer
1k views

How to get the stock quantity of the item and show it on a list.phtml page in Magento 2.2.3?

I have been trying to display the stock quantity of each item on the "list.phtml" page but not getting anywhere. Please see the attached photos as an example; this is what I have been trying to ...
0
votes
1answer
121 views

How to set the order of the query as descending

I have created a query that would allow me to sort my products based on the quantity they have been ordered. But when I print the query, the quantity ordered is coming in Ascending order. I want to ...
0
votes
2answers
366 views

Magento 2 get availabe stock of product

I need to display available quantity on product list and details page and other pages where product shows. I extended product list class as below <?xml version="1.0"?> <config xmlns:xsi="...