This is just a Shopping Cart tutorial and will not provide any real services.

Compass Programming

Shopping Cart Checkout

This will show the products you have placed into your cart and allow you to modify the quantity on this page and then click the Update button to get the new amount.
The Update button is controlled by an iput with PHP variables placed into it and a javascript command:
<input name="quantityWant" id="qtyButton" type="number" class="qty" value="'.$quantityAsked.'" min="1" max="'.$quantityAvailable.'" onclick="needToUpdate()"> <script> function needToUpdate() { document.getElementById("qtyUpdate").innerHTML = "Press Update after changing";} </script>

Thank you for your interest in our products. Below you will see the items you intend to purchase.

No items are in your shopping cart yet.

Taxes and shipping costs will be finalized when you enter your address and payment information after proceeding to the next page.

Total Purchase: $0Shop


All products on this website for tutorial purposes only. No real transactions are conducted on this shopping cart tutorial. Last Update to these pages was 13 April 2020

Questions or comments please send them to josh(at)compassprogramming.com. Thank you!

Compass Programming LLC all rights reserved 2020

Return to Compass Programming home page.