InitialCommit
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user