Questions tagged [customer-collection]

Questions related to Magento customer collections.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
696 views

Magento 2: performance of getCollection function

I'm currently working on a Magento 2 theme that requires collection statistics to show on the frontend. For example: what are the total number of customers at the moment. I'm using \Magento\Customer\...
1
vote
1answer
19 views

How to get Customer collection that has subscribed to newsletter in Magento 2

I want to retrieve the customer collection that has subscribed to the newsletter, i see this solution but this one is for Magento 1.9 , how can i achieve this in Magento 2?
1
vote
1answer
300 views

How To Fetch all customer name in multi select in custom admin form

I Want To fetch all customer name in multi select in my form using customer collection Following is my form file <?php namespace Magneto\AppNotification\Block\Adminhtml\Form\Edit\Tab; use ...
0
votes
0answers
97 views

Magento 2: Get customer collection along with the custom attribute values using Rest API

I had created a custom customer text field in Magento 2.3 using custom module. When I fill the customer details in the customer form to create new customer. The whole data is stored in the database ...
0
votes
2answers
152 views

Magento2.3: How to create a CSV and JSON file?

I have successfully got the wishlist collection of customer by referring the below link: https://www.rakeshjesadiya.com/get-wishlist-collection-of-customer-by-customer-id-magento-2/ Now, I have to ...
-1
votes
2answers
79 views

Count of Customers with 0 Order magento 1.9

I want customers having 0 orders and there count I have done for order count of each customer but I want count of customer having 0 orders $CustomersCollection = Mage::getModel('customer/customer')->...