Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to get Customer Collection in Magento 2

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

    Post How to get Customer Collection in Magento 2

    With the help of customer collection, one can filter all the store’s customer’s information by attributes. The customer’s information is very essential information Hence, in this article I will help you to get Customer Collection in Magento 2.

    Name:  How-to-Get-Customer-Collection-in-Magento-2-950x500.png
Views: 39
Size:  95.9 KB


    Steps to Get Customer Collection in Magento 2:
    Method 1: Using Class
    Create one block file on our custom extension add Blockname.php in the following path

    app\code\Vendor\Extension\Block\Blockname.php

    now add following code,

    after this, you need to phtml file and add following code into the file,

    For more detail:https://magecomp.com/blog/get-custom...ion-magento-2/

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Nov 2019
    Posts
    1,083
    Thanks
    6
    Thanked 3 Times in 3 Posts

    Default

    Helpful post! I'd also like to recommend using Advanced Newsletter Popup Magento 2 Extension. It displays newsletter popup on your store when customers visit your site with a custom field and custom message.

    This is a fantastic tool that help store owner get more orders and newsletter subscribers. This tool comes with 9 default layout templates for newsletter popup, that gives a stunning look to your website and attracts more customers.

    Name:  layout-8.png
Views: 22
Size:  169.4 KB

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
  •