I have a custom input field where customer is asked to add his/her birth date
. That data will be saved along with customer account information.
What I need to develop is, to show admin a popup when he logs in backend
. That popup will show list of customer(s) having birthday's. The Birthday list will be based on following criteria
- If a customer has birthday today or in next 4 days.
For example if current date is 30th July
it will show like:
Birthday(s) Today:
Customr 1, Customer 2
1st July:
Customer 3
2nd July:
Customer 4
I am not able to figure out,
- How to list birthdays of customers and show in popup when admin logs in backend
- Do not show the birthday notification popup if admin explicitly closes it.
This is for boosting the sales of our store. The customers having birthday will be given a special promo code.
Thanks