Logo white

Alexey Boroda / new-acdc

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • new-acdc
  • frontend
  • views
  • basket
  • cart.php
  • first commit
    950817c6
    Alex Savenko authored
    2018-07-10 15:34:01 +0300  
    Browse Code »
cart.php 480 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php
    use yii\bootstrap\Html;
    use yii\web\View;
    
    /**
     * @var View $this
     * @var int  $count
     */
?>
<span class="badge"><?= $count; ?></span>
<?php
    echo Html::a(
        Html::tag(
            'span',
            \Yii::t('app', 'Корзина'),
            [
                'class' => 'sub-title',
            ]
        ),
        [
            '/checkout/index',
        ],
        [
            'class' => 'cart-item-link',
        ]
    );
?>