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 [quantity]

The tag has no usage guidance.

0
votes
0answers
48 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
26 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
23 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
14 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
42 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
31 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
25 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
32 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
27 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 ...
0
votes
0answers
15 views

Negative quatity is allowing while adding products in magento 2.2.6?

While adding the products from backend, in the quantity field if enter like -10 it is taking and product is saved. How should I prevent it or is there any reason for allowing negative quantity ?
0
votes
0answers
38 views

How to get stock quantity based on attribute values in magento 1.9

I am trying to check the quantity and price based on attributes selection. Somewhat I have done, I am getting the price, I don't know how to get the quantity of associated products based on attributes ...
-1
votes
0answers
35 views

“Qty Uses Decimals” doesn't work for configuration product

When "Qty Uses Decimals" is "No" in configuration product and all simple product in configuration use "Qty Uses Decimals" is "No". But, I still order product by decimal. How do I order not to be in ...
2
votes
2answers
278 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
169 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
36 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. ...
3
votes
2answers
447 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
108 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
113 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
113 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
56 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
50 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
109 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
490 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
112 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
180 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
598 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
0answers
110 views

Price not updating with quantity?

I want to update the (total) price on the product pages when the quantity is changed (which it doesn't right now but I know it did at some point so maybe an extension broke this functionality?). The ...
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
1answer
47 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
164 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
267 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
426 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
72 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
27 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 ...
0
votes
0answers
42 views

Can't override minimum order quantity in M2

I'm running M 2.2.2 and I can't seem to override the minimum order qty that is set for the site. The setup we have now worked, but now it has stopped and I can't seem to fix it :/ The min order qty ...
2
votes
1answer
372 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
0answers
62 views

Is it possible Product Qty* scope change [Global] to [Store] in Magento admin?

Is that possible as per Magento we need to change product Qty field scope [Global] To [Store]?
0
votes
1answer
177 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
77 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
22 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
1k 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
216 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 ...
1
vote
1answer
60 views

Custom inventory decrement

I have a product that is sold in quantities of 25. If a customer orders one of the product, they actually receive 25. However, in the warehouse, the product is not packaged in bundles of 25. When a ...
1
vote
2answers
251 views

Magento 2 Unable To Get Simple Product Quantity

I am unable to get simple product's quantity Can anyone help out please. I have tried: $product = $block->getAllowProducts(); foreach ($product as $child) { print_r($child->getQty()); ...
1
vote
1answer
168 views

Updating minimum order quantity (Front End View)

I am trying to change the 'Minimum order quantity' on the front end because it currently displays '0'. All simple and configurable products currently display 0. I have gone into the attributes of ...
0
votes
1answer
207 views

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

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 an eCommerce site. On products details page has "...
0
votes
0answers
78 views

Dropdown qty for configurable products magento

I have added this to my view.phtml to set qty as dropdown. This is working for simple products but when i try configurable it takes only qty as 1 even if select 3 or 4 from dropdown. My max cart qty ...
0
votes
1answer
62 views

Quantity problem in Cart

I've purchased wholesale packaged product extension to use it on my website. I am not sure if it is because of this extension, but when a customer orders qty of 2 or up and go to cart, the qty shows ...
0
votes
1answer
18 views

Quantity Update broken on basket page

I have just been fixing 1.9.3.4 with the formkey code into my Theme's billing and shipping code pages. That has mostly restored the functionality with respect to those with Form Key security turned on....
0
votes
3answers
197 views

quantity increment button based on _qtyIncrements value

I have different simple products each one have a Qty Increments . I want to increment (+/-) each product by its Qty Increments on product page. my increment code by 1 is : <script type="text/...