I have a simple product with custom options. After popup, I select custom options of this product, and click add to cart.
I get params like that: product=167&options%5B4%5D=10&qty=1
.
Now I want to add product to cart programmatically, how can I do it?
Best Answer
please check the Mage_Checkout_CartController and addAction() inside, you will find everything you need ;)