Script Not Working?

Reading this page: The cart – Snipcart Documentation

I added the following markup in the header of my site:

<a class="snipcart-summary" href="/cart" title="Shopping Cart"><i class="zmdi zmdi-shopping-cart"></i><span class="snipcart-total-items"></span></a>

I also made sure the Snipcart JS file is added in the head tags of the site. Never-the-less… I am not seeing any cart items added into the span tag when I load the page.

What am I missing here?

Hi @jhublerclf,

Are you using the v2 or the v3? These classes are for the v2 only. For the v3, you’ll need to use the class names as described in this section of the documentation.