Folks, I ran across the mentioned plugin but for some reasons if i do:
var myCart = simpleCart({
checkout: {
type: "PayPal" ,
email: "this.is@test.com"
},
currency: "USD",
cartStyle: 'table'
});
And then i try to use myCart.add() function for example i get a "TypeError: myCart.add is not a function":
var newCartMe = myCart.add({
name: cartTextT,
price: cartPriceT,
quantity: cartQtyT
});
Just a note: if I do:
console.log(myCart);
right before calling the add function I get the object returned just fine. Any idea on this? BTW is this project alive?