Skip to content

Commit

Permalink
PHP Brecate Start Issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank committed Sep 21, 2017
1 parent ecefd85 commit cd11191
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
<?php foreach ($filterItems as $filterItem): ?>
<li class="item">
<?php if ($filterItem->getCount() > 0): ?>
<a href="<?= $block->escapeUrl($filterItem->getUrl()) ?>">
<?= /* @escapeNotVerified */ $filterItem->getLabel() ?>
<a href="<?php $block->escapeUrl($filterItem->getUrl()) ?>">
<?php /* @escapeNotVerified */ $filterItem->getLabel() ?>
<?php if ($this->helper('\Magento\Catalog\Helper\Data')->shouldDisplayProductCountOnLayer()): ?>
<span class="count"><?= /* @escapeNotVerified */ $filterItem->getCount() ?><span class="filter-count-label">
<?php if ($filterItem->getCount() == 1):?> <?= /* @escapeNotVerified */ __('item') ?><?php else:?> <?= /* @escapeNotVerified */ __('items') ?><?php endif;?></span></span>
<span class="count"><?php /* @escapeNotVerified */ $filterItem->getCount() ?><span class="filter-count-label">
<?php if ($filterItem->getCount() == 1):?> <?php /* @escapeNotVerified */ __('item') ?><?php else:?> <?php /* @escapeNotVerified */ __('items') ?><?php endif;?></span></span>
<?php endif; ?>
</a>
<?php else:?>
<?= /* @escapeNotVerified */ $filterItem->getLabel() ?>
<?php /* @escapeNotVerified */ $filterItem->getLabel() ?>
<?php if ($this->helper('\Magento\Catalog\Helper\Data')->shouldDisplayProductCountOnLayer()): ?>
<span class="count"><?= /* @escapeNotVerified */ $filterItem->getCount() ?><span class="filter-count-label">
<?php if ($filterItem->getCount() == 1):?><?= /* @escapeNotVerified */ __('item') ?><?php else:?><?= /* @escapeNotVerified */ __('items') ?><?php endif;?></span></span>
<span class="count"><?php /* @escapeNotVerified */ $filterItem->getCount() ?><span class="filter-count-label">
<?php if ($filterItem->getCount() == 1):?><?php /* @escapeNotVerified */ __('item') ?><?php else:?><?php /* @escapeNotVerified */ __('items') ?><?php endif;?></span></span>
<?php endif; ?>
<?php endif; ?>
</li>
Expand Down

0 comments on commit cd11191

Please sign in to comment.