Adding a show cart button
Add a button with the class
snipcart-checkout and the cart will open when your visitors click on it.
<button class="snipcart-checkout">Click here to checkout</button>
Displaying the number of items and total price of the cart
You can display the number of items in the cart, and its total price by adding
snipcart-total-price class on an HTML element.
<span class="snipcart-items-count"></span> <span class="snipcart-total-price"></span>