How to add product count on the collection page?

You can add this code to show total number of products on collection page.how-to-add-product-count-on-collection-page

1. Open collection-template.liquid file from the Sections folder and paste the below code where you want to show product count. how-to-add-product-count-on-collection-page

<span class="filters-toolbar__product-count">{{ 'collections.general.items_with_count' | t: count: collection.products_count }}</span>
team_bg-1