I am using Ultimo theme in the site and few changes to the My Wishlist
to wishlist
and added one icon with link and also changed 1 item/items
to 1%
from csv only but suddenly counter stopped working and it doesn't show in the header section.
Below is my code in link.phtml file :
<li class="link wishlist" data-bind="scope: 'wishlist'">
<span class="ic ic-heart icon-center"></span>
<span data-bind="scope: 'wishlist'" class="link wishlist">
<a href="<?php echo $this->getUrl('wishlist') ?>">
<?php echo __('My Wishlist') ?>
<!-- ko if: wishlist().counter --><span data-bind="text: wishlist().counter" class="counter qty"></span><!-- /ko -->
</a>
</li>