AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Sam_78 on September 24, 2018, 12:44:06 PM

Title: auto send emails after few weeks
Post by: Sam_78 on September 24, 2018, 12:44:06 PM
Hi,
Is there an easy way to trigger emails after 4 weeks of purchase.
I would like to email customers to review my product after they have received it with some custom text and coupons. If not can you guide me how can I start developing which controllers, files, conditions to look for etc.
Title: Re: auto send emails after few weeks
Post by: maxter on September 25, 2018, 08:50:28 AM
You will need to create a backend process and set it as cron. The process will check every day for orders that are 4 weeks old and will initiate an email.

As an alternative, you can check the third party services that send marketing emails, such as MailChimp or Campaign Monitor. They might provide something similar.
Title: Re: auto send emails after few weeks
Post by: abantecart on September 25, 2018, 08:55:25 AM
This depend on your PHP skills.
You can start looking into Task CLI script that is processing tasks.

https://github.com/abantecart/abantecart-src/blob/master/public_html/task_cli.php

You can create your own script to send desired emails or build a task controller & model that will do what you need.

Depending on the method that you choose, we can guide you more
Title: Re: auto send emails after few weeks
Post by: valentinataylor on September 25, 2018, 01:46:07 PM
example
Title: Re: auto send emails after few weeks
Post by: Sam_78 on September 25, 2018, 04:58:24 PM
This depend on your PHP skills.
You can start looking into Task CLI script that is processing tasks.

https://github.com/abantecart/abantecart-src/blob/master/public_html/task_cli.php

You can create your own script to send desired emails or build a task controller & model that will do what you need.

Depending on the method that you choose, we can guide you more

Thanks I will work on this and let you know if I have any questions.