\AbandonedCartTask
Class AbandonedCartTask
Synopsis
class AbandonedCartTask
extends BuildTask
{
- // members
- protected string $title = 'Abandoned Cart Follow-up';
- protected string $description = 'Sends email reminders to users who left a cart abandoned';
- protected string $header_image = 'https://gallery.mailchimp.com/46d3803336ec57ab278cf2c3f/images/8d0bab1b-aa53-4eb7-b8e7-99302ea5a86a.png';
- protected string $footer_image = 'https://gallery.mailchimp.com/46d3803336ec57ab278cf2c3f/images/88a7008b-22df-4b56-bd94-c5d7a3084d4b.png';
- protected string $email_subject = 'You left something behind!';
- protected string $email_intro = '';
- protected string $email_footer = '';
- protected string $email_reply_to = '';
- protected $br;
- protected $hr;
- // methods
- public void __construct()
- public void run()
- private void sendReminderEmail()
Hierarchy
Extends
- BuildTask
Members
protected
- $br
- $description
- $email_intro
- $email_reply_to
- $email_subject
- $header_image
- $hr
- $title
Methods
private
public
- __construct()
- run() — Implement this method in the task subclass to execute via the TaskRunner