InitialCommit

This commit is contained in:
2026-05-12 13:17:44 +01:00
commit 4847365f99
18 changed files with 684 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<head>
<link rel="stylesheet" href="CartCSS.css">
</head>
<script src="CartManager.js"></script>
<!-- load what's in cart -->
<div class="CartContainer VFlexBox" id="CartContainer">
<script>
LoadWhatsInCart(document.getElementById('CartContainer'));
</script>
</div>
<!-- Button to add something to cart -->
<div class="VFlexBox">
<p class="ExampleText">SomeItem</p>
<!-- the first value in the AddToCart function is the actual cart item itself, you can load these with JS or just do it manually like here -->
<button class="ExampleButton" id="CartButton1" onclick="AddToCart('Name=SuperAwesomeItem&Description=EpicDescription&Delivery=NextDay&Price=£30','CartButton1','ProductCategory1');">Add to Cart</button>
</div>