You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var products= {quoteId:quote_id,products:[{'product_id':'39548','sku':'GC1002','qty':1.00,options: {option_id:88145,value_id:203213},'bundle_option':null,'bundle_option_qty':null,'links':null}]};
console.log(products);
magento.checkoutCartProduct.add(products,function(err,product) {console.log("err"+err); console.log(product);});
can someone help the error i am getting
{"code":1022,"faultCode":1022,"faultString":"Please specify the product requi
red option(s).","original":{"message":"XML-RPC fault: Please specify the product
required option(s).","name":"Error"},"name":"Magento Error","message":"Please s
pecify the product required option(s)."}
The text was updated successfully, but these errors were encountered:
i guess the reason behind this error is that absence of name field in each product object in products array. Eg { productId:'39548' ,name:'this field is missing', .... }
can someone help the error i am getting
The text was updated successfully, but these errors were encountered: