diff --git a/front/js/cart.js b/front/js/cart.js index 421a382..49407b9 100644 --- a/front/js/cart.js +++ b/front/js/cart.js @@ -7,3 +7,38 @@ let cartStoredProduct = Object.keys(sessionStorage); let cartStoredQtys = Object.values(sessionStorage); let product ={}; let productID = ""; + + + + let newProductCard = ` +
+
+ ${productData[product.id].altTxt} +
+
+
+

Name of the product

+

Green

+

€42.00

+
+
+
+

Quantity :

+ +
+
+

Delete

+
+
+
+
+ `; + + cartList.insertAdjacentHTML("beforeend", newProductCard); +}; + + + + + +