cancel
Showing results for 
Search instead for 
Did you mean: 

Show Available Quantity on Product Pages

Show Available Quantity on Product Pages

As the title says, I want to show how much of the items I have in stock currently instead of it just saying "Availability: In Stock"

 

For Example it would say: Qty on Hand: 13.

 

I figured it out in M1, but M2 is a different beast and I haven't figured it out yet. I need this as I am a fabric store, so customers need to know how much we have of something before ordering.

 

Thanks in advance

 

PS. Using Porto Theme and Magento 2.3.4 (for now)

3 REPLIES 3

Re: Show Available Quantity on Product Pages

And I am aware of the Only X Left Threshold, but I don't want that as it would say "Only 13 Left" which is weird I think

Re: Show Available Quantity on Product Pages

Hello @letssewllc ,

 

Check the phtml file responsible for showing "Availability: In Stock" with help of Path Hints .

Then add this code to show quantity:

https://magento.stackexchange.com/a/143905

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

Re: Show Available Quantity on Product Pages

  1. Login to admin panel.
  2. Go to Stores > Configuration.
  3. Expand Catalog and select Inventory to configure the inventory.
  4. Expand Product Stock Options.
  5. Set yes to “Manage Stocks“

Refer to the product Magento 2 Quantity Dropdown by Landofcoder. Hope it help you!