[Skip to main content](#vessel-content)

#   Report for first time customers

##

- **[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")**
- [![brentwilliams2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile") Topic Author
- [ Offline](/forum/user/1200-brentwilliams2)

Less More

- Posts: 78
- Thank you received: 5
-
-

5 years 1 month ago [\#336460](#336460) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  *[Report for first time customers](/forum/36-reports-statistics/903343-report-for-first-time-customers#336460 "-- HikaShop version -- : 4.4.3  We would like to reach out to customers who have purchased for the first time. I'm having trouble finding out how to get a report for that. Any suggestions? It could just be a report for customers with a confirmed order value of 1.  Thanks!")* was created by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")*

-- HikaShop version -- : 4.4.3

We would like to reach out to customers who have purchased for the first time. I'm having trouble finding out how to get a report for that. Any suggestions? It could just be a report for customers with a confirmed order value of 1.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDMzNDMtcmVwb3J0LWZvci1maXJzdC10aW1lLWN1c3RvbWVycz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

5 years 1 month ago -  5 years 1 month ago [\#336474](#336474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Report for first time customers](/forum/36-reports-statistics/903343-report-for-first-time-customers#336474 "-- HikaShop version -- : 4.4.3  We would like to reach out to customers who have purchased for the first time. I'm having trouble finding out how to get a report for that. Any suggestions? It could just be a report for customers with a confirmed order value of 1.  Thanks!")*

Hi,

You could get a listing of all the customers with their number of orders with a report with the display mode "listing" on "customers" with the "ordering" setting set to "orders". However, the first customers of the listing will be the ones with the most sales.
And if you have a lot of customers, you might not be able to display them all to export the CSV of all the data so that you can then open the CSV in Excel to remove the rows with a count greater than one.
A simple alternative would be to just run a MySQL query in your PHPMyAdmin to get the data.
Something like that: Code:

SELECT u.user_email,count(o.order_id) AS number_of_orders FROM #__hikashop_user AS u LEFT JOIN #__hikashop_order AS o ON o.order_user_id = u.user_id WHERE o.order_status IN ('confirmed','shipped') GROUP BY u.user_id ORDER BY number_of_orders ASC

where #__ needs to be replaced by the prefix of tables available in your Joomla configuration.

Last edit: 5 years 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDMzNDMtcmVwb3J0LWZvci1maXJzdC10aW1lLWN1c3RvbWVycz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")**
- [![brentwilliams2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile") Topic Author
- [ Offline](/forum/user/1200-brentwilliams2)

Less More

- Posts: 78
- Thank you received: 5
-
-

5 years 1 month ago [\#336507](#336507) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  Replied by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")* on topic *[Report for first time customers](/forum/36-reports-statistics/903343-report-for-first-time-customers#336507 "-- HikaShop version -- : 4.4.3  We would like to reach out to customers who have purchased for the first time. I'm having trouble finding out how to get a report for that. Any suggestions? It could just be a report for customers with a confirmed order value of 1.  Thanks!")*

First of all, you are awesome. The SQL query works if I change the end to "ORDER BY u.user_id DESC". This essentially shows me the latest users and I can pick out the ones who have an order number of 1.

Thanks!

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDMzNDMtcmVwb3J0LWZvci1maXJzdC10aW1lLWN1c3RvbWVycz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.040 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
