Files
prestashop/themes/hummingbird/modules/ps_shoppingcart/ps_shoppingcart.tpl
2026-04-09 18:31:51 +02:00

27 lines
1.0 KiB
Smarty

{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div id="_desktop_ps_shoppingcart">
<div class="ps-shoppingcart">
<div class="header-block d-flex align-items-center blockcart cart-preview {if $cart.products_count> 0}header-block--active{else}inactive{/if}" data-refresh-url="{$refresh_url}">
{if $cart.products_count> 0}
<a class="header-block__action-btn pe-md-0" rel="nofollow" href="{$cart_url}" aria-label="{l s='View cart (%d products)' d='Shop.Theme.Checkout' sprintf=[$cart.products_count]}">
{else}
<span class="header-block__action-btn pe-md-0">
{/if}
<i class="material-icons header-block__icon" aria-hidden="true">&#xE8CC;</i>
<span class="d-none d-md-flex header-block__title">{l s='Cart' d='Shop.Theme.Checkout'}</span>
<span class="header-block__badge">{$cart.products_count}</span>
{if $cart.products_count> 0}
</a>
{else}
</span>
{/if}
</div>
</div>
</div>