1 Attachment(s)
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.
Attachment 15074
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/