Stack Exchange Network

Stack Exchange network consists of 175 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 [quantity]

Questions related to products or inventory quantity or stock

1
vote
1answer
16 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
65 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
15 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
45 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
19 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?
2
votes
2answers
52 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
171 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
31 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
31 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
23 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
18 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
337 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.
3
votes
0answers
47 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
40 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
28 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."
4
votes
4answers
1k 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
33 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
31 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
45 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? Thanks! Gonzalo
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
55 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
31 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
127 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
43 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
739 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
557 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
167 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
2answers
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
264 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
304 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
176 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
105 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
99 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
228 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
896 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
175 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
303 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());...
0
votes
1answer
980 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
98 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
271 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="...
8
votes
1answer
370 views

Restricting customers to max of (some number) purchases for a certain product in Magento

Is there any good modules out there that can handle this? Or would this be a custom event / observer that needs to be written? Here's an image on a non magento site that shows specifically what i'm ...
0
votes
2answers
691 views

Magenoto2: how to get cart item quantity on front end

I am currently using this code and it is working fine, $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $cart = $objectManager->get('\Magento\Checkout\Model\Cart'); $...
1
vote
0answers
86 views

Catalog Price Rule quantity based discount on original price

Right now I am working on Magento2 Promotion functionality.as per our client requirement we need to apply a discount on the product based on quantity(using the catalog price rule). For that, I have ...
1
vote
0answers
30 views

Using QTY in Rule-Based Product Relations

Using Magento EE 1.14 and would like to be able to use the inventory quantity for rule-based product relations (related, upsell, cross sell). However, I don't see a way to make the quantity available ...
2
votes
1answer
471 views

Magento 2 add Product Quantity to Products in category in backend

Update: Meanwhile I found a solution and updated my code. I added quantity column in 'Products in category', how can I display the value of quantity for every product. Here is my code, in app/code/[...
0
votes
1answer
207 views

Product Quantity Dropdown

I am trying to change the quantity input shown on the product page to a select field where the maximum quantity selectable equals the total stock quantity minus quantity in cart. While this is ...
1
vote
0answers
93 views

How to show product availble quantity status for configurable products Magento 2?

Available products shows in default simple product in product view page but not showing for configurable products.
0
votes
1answer
23 views

What’s the best way to achieve this several options/quantities pricing model? (not tier)

We sell tours and activities, and often price for child is different from adult price. Currently to achieve needed functionality we are creating 2 simple products for each product (productX-adult, ...
1
vote
1answer
2k views

Quantity Increment and Decrement Button not work in Magento 2

I'm using custom modules to show quantity increment/decrement in quantity box using KnockoutJS. Making custom modules for every folder is correct.but it nothing happpend, after click on increment/...
0
votes
1answer
287 views

Magento 2 : use_config_min_sale_qty on website states 10

When I add a new product or a product option to a configurable product it sets the min_sale_qty to 10 which states a message like: The fewest you may purchase is 10. I want to set this for all ...