Skip to content

product not adding to cart #38

@mickyarun

Description

@mickyarun
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)."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions