How to display product variation quantity separately


Woocommerce displays product quantity number for all product variations, I would like to display pruduct quantity number according to its variations. For example if there is one red t-shirt then display stock quantity (1), But if there are two or more than one display stock quantity (2), (3) and so on.
How we can display product variation quantity I mean what if we have 5 blue t-shirts but 3 red t-tshirts?

Dragut 3 years 2020-06-02T12:10:31-05:00 0 Answers 80 views 0

Leave an answer