You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
let cart = [
|
|
|
|
{
|
|
|
|
productId: "530",
|
|
|
|
itemKey: "34354b059d38a963ba3a1bed499f593d",
|
|
|
|
itemName: "Bamboo Thermal Ski Coat",
|
|
|
|
variations: {
|
|
|
|
sizeWomens: "medium",
|
|
|
|
color: "periwinkle",
|
|
|
|
price: 99.00,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
productId: "532",
|
|
|
|
itemKey: "a14cab08bca65354fd65dc6482a55ff5",
|
|
|
|
itemName: "Slicker Jacket",
|
|
|
|
variations: {
|
|
|
|
sizeMens: "large",
|
|
|
|
color: "lemon",
|
|
|
|
price: 125.00,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const cartJSON = JSON.stringify(cart);
|
|
|
|
|
|
|
|
|
|
|
|
let single = {
|
|
|
|
productId: "530",
|
|
|
|
itemKey: "34354b059d38a963ba3a1bed499f593d",
|
|
|
|
itemName: "Bamboo Thermal Ski Coat",
|
|
|
|
variations: {
|
|
|
|
sizeWomens: "medium",
|
|
|
|
color: "periwinkle",
|
|
|
|
price: 99.00,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
const singleJSON = JSON.stringify(single);
|