I need get quantity of selected associated product of configurable product. Means I have a product which have multiple colors and sizes with different quantity. So When I select color and size, then I need display stock quantity of particular color and size.

So, Please guide me how to implement this thing


  • You need to create a action on your custom module and then on select size/color call a ajax call with selected product id, then you will get the quantity of a product and display it accordingly. – Sukumar Gorai Jun 19 '18 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.