Update collection.products_count dynamically after tag filter

0xMaYuc
Shopify Partner
3 0 0


I'm displaying the amount of products in a collection-page with the follwing code

 

<div class="ab-1008">
  <div class="ab-1008-title">{{ collection.title }}</div>
  <div class="ab-1008-count">{{ collection.products_count }} results</div>
</div>

 

 

But when I FILTER in products the 'product_count' doesn't get updated dynamically.
Just if I refresh the page, the product_count is correct.

How can I achive a update of the amount without page reload ?

I'm using Prestige Theme
Thanks

Replies 0 (0)