- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Display "Only X left" for Configurable Products
Hi,
I am trying to display "Only X left" message for configurable products. I have enabled the setting in STORES > CONFIGURATION > CATALOG > INVENTORY > STOCK OPTIONS > ONLY X LEFT THRESHOLD
in fact, in simple products it shows as it should, but in configurable products, it does not show.
Does anyone have a solution for this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Display "Only X left" for Configurable Products
Hi @robertbits ,
Can you please check below link for your requirement.
https://www.ecomsolver.com/blog/how-to-show-x-left-in-configurable-product-in-magento-2/
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Display "Only X left" for Configurable Products
Thanks for your reply. To tell you the truth before I posted here I have found that article, but could not figure out in what files I need to set the code.
So if you have any idea what files I need to change with this code I really appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Display "Only X left" for Configurable Products
Hi @robertbits ,
I tried that code but unfortunately, that was not working for me as well. But I have found one extension for you according to your requirement.
https://marketplace.magento.com/sunarc-module-configurableqty.html
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!