How to add simple product to basket if this product is child of configurable product ?
How I can get
super_attributes of simple product ( I got ID ) to make it ?
An example: I have T-shirts
(id 1) configurable product.
And I got
XL (id 5),
L (id 6) versions of this product.
I want add to shopping cart id 5, but I cannot make it without
requestInfo (super_attributes) when I'm using