php - How to get required options in magento to add a product in cart -


i trying add product cart in magento using magento soap v1 api ,but getting please specify product required option(s). error message.

the call happens like:

        $productarray[] = array(             "product_id"=>"24",             "qty"=>1 );     $resultcartproductadd = $client->call($session, "cart_product.add", array($shoppingcartid, $productarray)); 

i unable figure out how find out options needed add product cart. appreciated.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -