InitialCommit
This commit is contained in:
commit
4847365f99
18 changed files with 684 additions and 0 deletions
18
SeparateExamples/Cart/CartHtml.html
Normal file
18
SeparateExamples/Cart/CartHtml.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue