I have a configurable product "T-Shirt"
with id = 1
.
I want to get the object for the simple product with size of "medium"
so I can then query the stock value.
What is the syntax for:
"Get the medium value of attribute size from configurable parent
T-shirt"
Best Answer
Get configurable child product by attribute:-