<div class="header-cart header-icon {if $cartInfo.totalPieces}active{/if}"{if $cartInfo.totalPieces >= 1 and $smarty.get.s != 'ordering'} data-cartbox-enable{/if}>
   <a {if $cartInfo.totalPieces}href="{url s=cart}" data-header-cart-link{/if} data-reload="cart-info">
      <span class="fc icons_cart">{if $cartInfo.totalPieces}<span class="count {if $cartInfo.totalPieces > 99 && $cartInfo.totalPieces < 998}count-houndred{elseif $cartInfo.totalPieces > 998 && $cartInfo.totalPieces < 9998}count-pro{elseif $cartInfo.totalPieces > 9999}count-tho{/if}">{$cartInfo.totalPieces}</span>{/if}</span>
      <span class="price">{if $cartInfo.totalPieces}{$cartInfo.totalPrice}{/if}</span>
   </a>
</div>

{include "components/cartbox-sidebar.tpl"}
