Magento Expert Forum - Improve your Magento experience

Results 1 to 1 of 1

Magento 2: How To Display Count Of Product with Page Title on Category Page

  1. #1
    Junior Member
    Join Date
    Jun 2016
    Location
    Bhavnagar, Gujarat, India
    Posts
    1,125
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Post Magento 2: How To Display Count Of Product with Page Title on Category Page

    By default, Magento 2 offers some default functionality to display the count of no. of products for a particular category on the category page with the toolbar.

    But what if we want to display a count of no. of products as per our essentiality? No worries, with the help of the below code it is possible to display the count of products for a particular category as per our needs.

    Here we have used display count with page main title. So, let us do ��
    Name:  How-To-Display-Count-Of-Products-With-Page-Title-On-Category-Page-in-Magento-2-950x500.png
Views: 368
Size:  243.8 KB

    Steps to Display Count Of Product with Page Title on Category Page in Magento 2:
    Step 1: To do this, create events.xml file inside app\Code\Vendor\Extension\etc\ folder and add the below code:

    for more details: https://magecomp.com/blog/magento-2-...category-page/

    View more threads in the same category:

    Last edited by MageComp; 21-10-2020 at 01:39 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •