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!
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