geek Posted March 14, 2011 Share Posted March 14, 2011 Hi, I was just wondering how to do the following: 1) Send an email to the client on their birthday. 2) Get the date of the clients' birthday at checkout and use for this. 3) If the date is not filled in, don't send any email. Thank you 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted March 14, 2011 Share Posted March 14, 2011 This certainly is an unusual wish-list-feature. I don't see the point personally. Everyone knows it's an automated email - so it doesn't really convey a sincere wish of a pleasant birthday. Each to their own though - maybe post this as a request. 0 Quote Link to comment Share on other sites More sharing options...
geek Posted March 14, 2011 Author Share Posted March 14, 2011 I wanted to email a birthday offer to them though! It's a way of showing customer relations in a new way 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted March 14, 2011 Share Posted March 14, 2011 Well I'm sure it's possible - creating a custom field for D.O.B would be the first step. 0 Quote Link to comment Share on other sites More sharing options...
geek Posted March 14, 2011 Author Share Posted March 14, 2011 Yes, I know that, just wondering how to do the email part Also, when I create custom fields, they don't appear on the registration section at checkout. Why is this? Am I doing something wrong? Thanks 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted March 14, 2011 Share Posted March 14, 2011 When you make the custom fields in: Setup > Custom Client Fields you need to tick the " Show on Order Form" box. If it is already ticked - you may have edited it out of the cart template files by mistake. 0 Quote Link to comment Share on other sites More sharing options...
Niklas Posted March 15, 2011 Share Posted March 15, 2011 Yes, I know that, just wondering how to do the email part :)Thanks DailyCronJob hook described at http://wiki.whmcs.com/Action_Hooks#Miscellaneous with a SQL query to fetch the customers that has birthday, combined with (Send email API) should do the trick. 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted March 15, 2011 Share Posted March 15, 2011 (edited) Woops - seems I got that in the wrong thread, sorry. Edited March 15, 2011 by Alistair Edit - woops again, no I didn't, sorry! 0 Quote Link to comment Share on other sites More sharing options...
geek Posted March 15, 2011 Author Share Posted March 15, 2011 aha thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.