title: Hiding BigCommerce cart wording with javascript or jquery?
body: <p>I've installed a badge icon that I would like to show the number of items in the shopping cart. </p>
  
  <p>The problem is that it's for a BigCommerce site and the way the cart count is displayed is "View Cart" along with the number of items in the cart. </p>
  
  <p>I was told there might be a way to hide the "View Cart" portion with javascript or jQuery so I would be able to display the number only. I have no idea how I would do this so would appreciate ideas.</p>
  
  <p>I've attached two screeshots. The first is how it displays currently. The second is how I would like it to display. Also added my code at the bottom. %%GLOBAL_CartItems%% is the BigCommerce global variable that generates the cart count as shown in the first screenshot.</p>
  
  <p>How it is displayed currently:
  <img src="https://i.stack.imgur.com/VdbGG.jpg" alt="enter image description here"></p>
  
  <p>How I would like it displayed:
  <img src="https://i.stack.imgur.com/rAfqR.jpg" alt="enter image description here"></p>
  
  <p>My code:</p>
  
  <pre><code>&lt;li style="display:%%GLOBAL_HideCartOptions%%"&gt;
      &lt;span&gt;&lt;a href="%%GLOBAL_ShopPathNormal%%/cart.php" title="%%LNG_ViewCart%%"&gt;&lt;i class="icon-large sprite-glyphicons_halflings_115_shopping-cart2x icon-2x" style="position: relative; top: 14px; right: 20px;"&gt;&lt;/i&gt;&lt;span class="badge badge-info" style="position: relative; top: 18px; right: 13px;"&gt;%%GLOBAL_CartItems%%&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;
  &lt;/li&gt;
  </code></pre>