You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
344 B

<?php
/* @var $cart \common\modules\shop\cart\ShopCart */
use common\modules\shop\helpers\PriceHelper;
use yii\helpers\Url;
?>
<span id="sj-cart-widget">
<a href="<?= Url::to(['/shop/cart']) ?>"><i class="fa fa-shopping-cart"></i> <?= Yii::t('shop_public', 'Cart ({count})', ['count' => $cart->getSumAmount()]) ?></a>
</span>