I want to get the two order collections by new and older customers for the current month.

Please suggest the proper way, I just want the count of orders, Not need all the details of an order.

Thanks in advance.

  • new and older customers - so all customers? Commented Jan 17, 2022 at 12:42
  • Yes, New means who placed order first time in this month and older means repeated customer who placed an order before this month. Commented Jan 17, 2022 at 13:08


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.