Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
product = {
id: 10,
quantity: 3,
options: {
someTextOption: "optionVal",
someDateOption: new Date().getTime().toString()
},
callback: function(success, product, cart) {
// ...
}
}
Ecwid.Cart.addProduct(product);
@DerobeLingerie

This comment has been minimized.

Copy link

@DerobeLingerie DerobeLingerie commented Oct 11, 2014

Hi, am new to API and have really been trying to understand all this coding the last few days. Been reading the articles on ECWID and basically am looking for help implementing a code which will give feedback when someone adds an item to the cart and leaves it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment