Comments 3Adam McG started the conversation1 week ago on November 12, 2024 at 2:47pmHey again team,I'm looking to send customers an email if they have not placed an order within 7 days to remind them to place an order. Given your experience, what is the best way to achieve this? a cron job? Thank you! 2,212WebWizards replied1 week ago on November 13, 2024 at 6:06pmHi Adam, Generally I think it is achievable with a simple code snippet. I found the following code that I believe should work: https://pastecode.io/s/7oy1hrgo That can be added to functions.php or any snippets plugin. I would suggest perhaps to use a mail logging plugin https://wordpress.org/plugins/wp-mail-logging/ so you can keep track of what emails are sent. Kind regards, Stefan Sign in to reply ...
Hey again team,
I'm looking to send customers an email if they have not placed an order within 7 days to remind them to place an order. Given your experience, what is the best way to achieve this? a cron job?
Thank you!
Hi Adam,
Generally I think it is achievable with a simple code snippet. I found the following code that I believe should work: https://pastecode.io/s/7oy1hrgo
That can be added to functions.php or any snippets plugin.
I would suggest perhaps to use a mail logging plugin https://wordpress.org/plugins/wp-mail-logging/ so you can keep track of what emails are sent.
Kind regards,
Stefan