Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Let say I have a simple product id and I want to add it to shopping cart.
I can add it with
But the problem is its attributes , I want to add them also for example the size and color of the product.
But the problem is its attributes
You can call the attributes information in the cart.
Required, but never shown