chore: batch supporting UI, settings schema, templates, and docs updates
This commit is contained in:
@@ -110,6 +110,49 @@ class EventRegistry
|
||||
],
|
||||
],
|
||||
|
||||
// ===== AFFILIATE EVENTS =====
|
||||
'affiliate_application_received' => [
|
||||
'id' => 'affiliate_application_received',
|
||||
'label' => __('Affiliate Application Received', 'woonoow'),
|
||||
'description' => __('When a customer applies to be an affiliate', 'woonoow'),
|
||||
'category' => 'marketing',
|
||||
'recipient_type' => 'staff',
|
||||
'wc_email' => '',
|
||||
'enabled' => true,
|
||||
'variables' => [
|
||||
'{affiliate_name}' => __('Affiliate Name', 'woonoow'),
|
||||
'{customer_email}' => __('Customer Email', 'woonoow'),
|
||||
],
|
||||
],
|
||||
'affiliate_application_approved' => [
|
||||
'id' => 'affiliate_application_approved',
|
||||
'label' => __('Affiliate Application Approved', 'woonoow'),
|
||||
'description' => __('When an affiliate application is approved', 'woonoow'),
|
||||
'category' => 'marketing',
|
||||
'recipient_type' => 'customer',
|
||||
'wc_email' => '',
|
||||
'enabled' => true,
|
||||
'variables' => [
|
||||
'{affiliate_name}' => __('Affiliate Name', 'woonoow'),
|
||||
'{referral_code}' => __('Referral Code', 'woonoow'),
|
||||
],
|
||||
],
|
||||
'affiliate_new_referral' => [
|
||||
'id' => 'affiliate_new_referral',
|
||||
'label' => __('New Affiliate Referral', 'woonoow'),
|
||||
'description' => __('When an affiliate generates a new referral', 'woonoow'),
|
||||
'category' => 'marketing',
|
||||
'recipient_type' => 'customer',
|
||||
'wc_email' => '',
|
||||
'enabled' => true,
|
||||
'variables' => [
|
||||
'{affiliate_name}' => __('Affiliate Name', 'woonoow'),
|
||||
'{commission_amount}' => __('Commission Amount', 'woonoow'),
|
||||
'{currency}' => __('Currency', 'woonoow'),
|
||||
'{order_number}' => __('Order Number', 'woonoow'),
|
||||
],
|
||||
],
|
||||
|
||||
// ===== ORDER INITIATION =====
|
||||
'order_placed' => [
|
||||
'id' => 'order_placed',
|
||||
|
||||
Reference in New Issue
Block a user