Kadence WooCommerce Email Designer - Version 1.3.2

Version Description

  • Fix: Language string for account button.
  • Add: Option to remove account link in welcome email.
  • Add: More placeholders for Additional Content.
  • Add: Customer Payment Retry Email Type.
Download this release

Release Info

Developer britner
Plugin Icon 128x128 Kadence WooCommerce Email Designer
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

includes/class-kadence-woomail-preview.php CHANGED
@@ -52,7 +52,7 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
52
  'WC_Memberships_User_Membership_Activated_Email' => 'WC_Memberships_User_Membership_Activated_Email',
53
  // Waitlist Plugin.
54
  'woocommerce_waitlist_mailout' => 'Pie_WCWL_Waitlist_Mailout',
55
- // WC Marketplace
56
  'vendor_new_account' => 'WC_Email_Vendor_New_Account',
57
  'admin_new_vendor' => 'WC_Email_Admin_New_Vendor_Account',
58
  'approved_vendor_new_account' => 'WC_Email_Approved_New_Vendor_Account',
@@ -66,6 +66,13 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
66
  'admin_widthdrawal_request' => 'WC_Email_Admin_Widthdrawal_Request',
67
  'vendor_orders_stats_report' => 'WC_Email_Vendor_Orders_Stats_Report',
68
  'vendor_contact_widget_email' => 'WC_Email_Vendor_Contact_Widget',
 
 
 
 
 
 
 
69
  // Subscriptio Email Types.
70
  // 'customer_subscription_new_order' => 'Subscriptio_Email_Customer_Subscription_New_Order',
71
  // 'customer_subscription_processing_order' => 'Subscriptio_Email_Customer_Subscription_Processing_Order',
@@ -96,7 +103,7 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
96
  'customer_completed_renewal_order' => 'completed',
97
  'customer_completed_switch_order' => 'completed',
98
  'customer_renewal_invoice' => 'failed',
99
- 'customer_payment_retry' => 'on-hold',
100
  'cancelled_subscription' => 'cancelled',
101
  // Woocommerce Memberships.
102
  'WC_Memberships_User_Membership_Note_Email' => 'completed',
@@ -122,6 +129,13 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
122
  'vendor_contact_widget_email' => null,
123
  // Woo Advanced Shipment Tracking
124
  'customer_delivered_order' => 'completed',
 
 
 
 
 
 
 
125
  // Subscriptio Email Types
126
  // 'customer_subscription_new_order' => 'processing',
127
  // 'customer_subscription_processing_order' => 'processing',
@@ -420,6 +434,31 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
420
  $email->object = 'subscription';
421
  }
422
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
423
  /**
424
  * WooCommerce Membership.
425
  */
@@ -582,11 +621,13 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
582
 
583
  } else {
584
  if ( false == $email->object ) {
585
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type can not be previewed please try a differnet order or email type.', 'kadence-woocommerce-email-designer' ) . '</div>';
586
  } else if ( 'subscription' == $email->object ) {
587
  $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a subscription be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
 
 
588
  } else if ( 'vendor' == $email->object ) {
589
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a vender purchase be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
590
  } else if ( 'member' == $email->object ) {
591
  $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a user who has an active membership be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
592
  } else if ( 'WC_Memberships_User_Membership_Ending_Soon_Email' === $email_template || 'WC_Memberships_User_Membership_Renewal_Reminder_Email' === $email_template || 'WC_Memberships_User_Membership_Activated_Email' === $email_template || 'WC_Memberships_User_Membership_Ended_Email' === $email_template ) {
52
  'WC_Memberships_User_Membership_Activated_Email' => 'WC_Memberships_User_Membership_Activated_Email',
53
  // Waitlist Plugin.
54
  'woocommerce_waitlist_mailout' => 'Pie_WCWL_Waitlist_Mailout',
55
+ // WC Marketplace.
56
  'vendor_new_account' => 'WC_Email_Vendor_New_Account',
57
  'admin_new_vendor' => 'WC_Email_Admin_New_Vendor_Account',
58
  'approved_vendor_new_account' => 'WC_Email_Approved_New_Vendor_Account',
66
  'admin_widthdrawal_request' => 'WC_Email_Admin_Widthdrawal_Request',
67
  'vendor_orders_stats_report' => 'WC_Email_Vendor_Orders_Stats_Report',
68
  'vendor_contact_widget_email' => 'WC_Email_Vendor_Contact_Widget',
69
+ // Germanized Emails.
70
+ 'customer_ekomi' => 'WC_GZD_Email_Customer_Ekomi',
71
+ 'customer_new_account_activation' => 'WC_GZD_Email_Customer_New_Account_Activation',
72
+ 'customer_paid_for_order' => 'WC_GZD_Email_Customer_Paid_For_Order',
73
+ 'customer_revocation' => 'WC_GZD_Email_Customer_Revocation',
74
+ 'customer_sepa_direct_debit_mandate' => 'WC_GZD_Email_Customer_SEPA_Direct_Debit_Mandate',
75
+ 'customer_trusted_shops' => 'WC_GZD_Email_Customer_Trusted_Shops',
76
  // Subscriptio Email Types.
77
  // 'customer_subscription_new_order' => 'Subscriptio_Email_Customer_Subscription_New_Order',
78
  // 'customer_subscription_processing_order' => 'Subscriptio_Email_Customer_Subscription_Processing_Order',
103
  'customer_completed_renewal_order' => 'completed',
104
  'customer_completed_switch_order' => 'completed',
105
  'customer_renewal_invoice' => 'failed',
106
+ 'customer_payment_retry' => 'pending',
107
  'cancelled_subscription' => 'cancelled',
108
  // Woocommerce Memberships.
109
  'WC_Memberships_User_Membership_Note_Email' => 'completed',
129
  'vendor_contact_widget_email' => null,
130
  // Woo Advanced Shipment Tracking
131
  'customer_delivered_order' => 'completed',
132
+ // Germanized Emails.
133
+ 'customer_ekomi' => 'completed',
134
+ 'customer_new_account_activation' => null,
135
+ 'customer_paid_for_order' => 'completed',
136
+ 'customer_revocation' => null,
137
+ 'customer_sepa_direct_debit_mandate' => 'completed',
138
+ 'customer_trusted_shops' => 'completed',
139
  // Subscriptio Email Types
140
  // 'customer_subscription_new_order' => 'processing',
141
  // 'customer_subscription_processing_order' => 'processing',
434
  $email->object = 'subscription';
435
  }
436
  break;
437
+ case 'customer_payment_retry':
438
+ $email->object = $order;
439
+ $email->find['order-date'] = '{order_date}';
440
+ $email->find['order-number'] = '{order_number}';
441
+ $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
442
+ $email->replace['order-number'] = $email->object->get_order_number();
443
+ // Other properties.
444
+ $email->recipient = $email->object->get_billing_email();
445
+ if ( ! empty( $preview_id ) && 'mockup' != $preview_id ) {
446
+ $retry = WCS_Retry_Manager::store()->get_last_retry_for_order( $preview_id );
447
+ if ( ! empty( $retry ) && is_object( $retry ) ) {
448
+ $email->retry = $retry;
449
+ $email->find['retry_time'] = '{retry_time}';
450
+ $email->replace['retry_time'] = wcs_get_human_time_diff( $email->retry->get_time() );
451
+ } else {
452
+ $email->retry = new WCS_Retry(
453
+ array(
454
+ 'order_id' => $preview_id,
455
+ )
456
+ );
457
+ }
458
+ } else {
459
+ $email->object = 'retry';
460
+ }
461
+ break;
462
  /**
463
  * WooCommerce Membership.
464
  */
621
 
622
  } else {
623
  if ( false == $email->object ) {
624
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type can not be previewed please try a different order or email type.', 'kadence-woocommerce-email-designer' ) . '</div>';
625
  } else if ( 'subscription' == $email->object ) {
626
  $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a subscription be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
627
+ } else if ( 'retry' == $email->object ) {
628
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'To generate a preview of this email type you must choose an order containing a subscription which has also failed to auto renew as the preview order in the settings.', 'kadence-woocommerce-email-designer' ) . '</div>';
629
  } else if ( 'vendor' == $email->object ) {
630
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a vendor purchase be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
631
  } else if ( 'member' == $email->object ) {
632
  $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'This email type requires that an order containing a user who has an active membership be selected as the preview order.', 'kadence-woocommerce-email-designer' ) . '</div>';
633
  } else if ( 'WC_Memberships_User_Membership_Ending_Soon_Email' === $email_template || 'WC_Memberships_User_Membership_Renewal_Reminder_Email' === $email_template || 'WC_Memberships_User_Membership_Activated_Email' === $email_template || 'WC_Memberships_User_Membership_Ended_Email' === $email_template ) {
includes/class-kadence-woomail-settings.php CHANGED
@@ -54,7 +54,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
54
  private static $woo_settings = null;
55
 
56
  /**
57
- * The defualt values for customizer.
58
  *
59
  * @var null
60
  */
@@ -75,14 +75,14 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
75
  private static $email_types = null;
76
 
77
  /**
78
- * The availible text edit email types.
79
  *
80
  * @var null
81
  */
82
  private static $customized_email_types = null;
83
 
84
  /**
85
- * The availible font options.
86
  *
87
  * @var array
88
  */
@@ -123,11 +123,12 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
123
  */
124
  public static $subscription_email_types_mapping = array(
125
  'new_renewal_order' => 'New Renewal Order',
126
- 'customer_processing_renewal_order' => 'Customer Processing Renewal Order',
127
  'customer_completed_renewal_order' => 'Customer Completed Renewal Order',
128
  'customer_completed_switch_order' => 'Customer Completed Switch Order',
129
  'customer_renewal_invoice' => 'Customer Renewal Invoice',
130
  'cancelled_subscription' => 'Cancelled Subscription',
 
131
  );
132
 
133
  /**
@@ -162,24 +163,36 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
162
  'vendor_orders_stats_report' => 'Vendor orders stats report',
163
  'vendor_contact_widget_email' => 'Vendor Contact Email',
164
  );
 
 
 
 
 
 
 
 
 
 
 
 
165
  /**
166
  * Subscriptio Email Types
167
  *
168
  * @var array
169
  *
170
  public static $subscriptio_email_types_mapping = array(
171
- 'customer_subscription_new_order' => 'Subscription new order',
172
  'customer_subscription_processing_order' => 'Subscription processing order',
173
  'customer_subscription_completed_order' => 'Subscription completed order',
174
  'customer_subscription_paused' => 'Subscription paused',
175
  'customer_subscription_resumed' => 'Subscription resumed',
176
  'customer_subscription_suspended' => 'Subscription suspended',
177
- 'customer_subscription_payment_overdue' => 'Subscription payment overdue',
178
  'customer_subscription_payment_reminder' => 'Subscription payment reminder',
179
  'customer_subscription_expired' => 'Subscription expired',
180
  'customer_subscription_cancelled' => 'Subscription cancelled',
181
  );
182
- */
183
 
184
  /**
185
  * Woocommerce Waitlist Email Types
@@ -374,46 +387,46 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
374
  $base_options = array();
375
 
376
  // Email header image.
377
- $base_options[ 'woocommerce_email_header_image' ] = array(
378
- 'title' => __( 'Header Image', 'kadence-woocommerce-email-designer' ),
379
- 'control_type' => 'image',
380
- 'section' => 'header_image',
381
- 'default' => self::get_default_value( 'header_image' ),
382
- 'original' => '',
383
- 'priority' => 5,
384
- 'transport' => 'refresh',
385
- 'selectors' => array(
386
- '#template_header_image img'
387
  ),
388
  );
389
- // Email background color
390
  $base_options['woocommerce_email_background_color'] = array(
391
- 'title' => __( 'Container Background color', 'kadence-woocommerce-email-designer' ),
392
- 'section' => 'container',
393
- 'control_type' => 'color',
394
- 'priority' => 5,
395
- 'default' => self::get_default_value( 'body_background_color' ),
396
- 'live_method' => 'css',
397
- 'selectors' => array(
398
- 'body' => array( 'background-color' ),
399
- '#wrapper' => array( 'background-color' ),
400
  ),
401
  );
402
- // Email text color
403
  $base_options['woocommerce_email_text_color'] = array(
404
- 'title' => __( 'Content Text color', 'kadence-woocommerce-email-designer' ),
405
- 'section' => 'text_style',
406
- 'control_type' => 'color',
407
- 'default' => self::get_default_value( 'text_color' ),
408
- 'live_method' => 'css',
409
- 'selectors' => array(
410
- '#body_content_inner' => array( 'color' ),
411
- '.td' => array( 'color' ),
412
- '.text' => array( 'color' ),
413
- 'address' => array( 'color' ),
414
  ),
415
  );
416
- // Email body background color
417
  $base_options['woocommerce_email_body_background_color'] = array(
418
  'title' => __( 'Content Background color', 'kadence-woocommerce-email-designer' ),
419
  'section' => 'content_container',
@@ -424,26 +437,26 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
424
  'selectors' => array(
425
  '#body_content' => array( 'background-color' ),
426
  '#template_container' => array( 'background-color' ),
427
- 'h2 .separator-bubble' => array( 'background-color')
428
  ),
429
  );
430
- // Footer Content Footer text
431
  $base_options['woocommerce_email_footer_text'] = array(
432
- 'title' => __( 'Footer text', 'kadence-woocommerce-email-designer' ),
433
- 'type' => 'textarea',
434
- 'section' => 'footer_content',
435
- 'default' => self::get_default_value( 'footer_content_text' ),
436
- 'original' => '',
437
- 'live_method' => 'replace',
438
- 'selectors' => array(
439
- '#template_footer #credit'
440
  ),
441
  );
442
  $email_text = array();
443
  foreach ( self::get_email_types() as $key => $value ) {
444
- // Email recipients Text
445
  if ( 'cancelled_order' == $key || 'new_order' == $key || 'failed_order' == $key ) {
446
- $email_text['woocommerce_'.$key.'_settings[recipient]'] = array(
447
  'title' => __( 'Recipient(s)', 'kadence-woocommerce-email-designer' ),
448
  'type' => 'text',
449
  'section' => 'mtype',
@@ -451,107 +464,107 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
451
  'default' => '',
452
  'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to %s.', 'kadence-woocommerce-email-designer' ), '<code>' . esc_attr( get_option( 'admin_email' ) ) . '</code>' ),
453
  'active_callback' => array(
454
- 'id' => 'email_type',
455
  'compare' => '==',
456
- 'value' => $key,
457
  ),
458
  );
459
  }
460
  if ( 'customer_refunded_order' == $key ) {
461
- // Email Subject
462
- $email_text['woocommerce_'.$key.'_settings[subject_full]'] = array(
463
  'title' => __( 'Full refund subject', 'kadence-woocommerce-email-designer' ),
464
  'type' => 'text',
465
  'section' => 'mtype',
466
  'priority' => 5,
467
  'default' => '',
468
  'input_attrs' => array(
469
- 'placeholder' => self::get_default_value( $key.'_subject_full' ),
470
  ),
471
  'active_callback' => array(
472
- 'id' => 'email_type',
473
  'compare' => '==',
474
- 'value' => $key,
475
  ),
476
  );
477
- // Email Subject
478
- $email_text['woocommerce_'.$key.'_settings[subject_partial]'] = array(
479
  'title' => __( 'Partial refund subject', 'kadence-woocommerce-email-designer' ),
480
  'type' => 'text',
481
  'section' => 'mtype',
482
  'priority' => 5,
483
  'default' => '',
484
  'input_attrs' => array(
485
- 'placeholder' => self::get_default_value( $key.'_subject_partial' ),
486
  ),
487
  'active_callback' => array(
488
- 'id' => 'email_type',
489
  'compare' => '==',
490
- 'value' => $key,
491
  ),
492
  );
493
- // Email Header Text
494
- $email_text['woocommerce_'.$key.'_settings[heading_full]'] = array(
495
- 'title' => __( 'Full refund Heading Text', 'kadence-woocommerce-email-designer' ),
496
- 'type' => 'text',
497
- 'section' => 'mtype',
498
- 'priority' => 5,
499
- 'default' => '',
500
- 'input_attrs' => array(
501
- 'placeholder' => self::get_default_value( $key.'_heading_full' ),
502
  ),
503
  'live_method' => 'replace',
504
  'selectors' => array(
505
- '#header_wrapper h1'
506
  ),
507
  'active_callback' => array(
508
- 'id' => 'email_type',
509
  'compare' => '==',
510
- 'value' => $key,
511
  ),
512
  );
513
- // Email Header Text,
514
- $email_text['woocommerce_' . $key . '_settings[heading_partial]'] = array(
515
- 'title' => __( 'Partial refund Heading Text', 'kadence-woocommerce-email-designer' ),
516
- 'type' => 'text',
517
- 'section' => 'mtype',
518
- 'priority' => 5,
519
- 'default' => '',
520
- 'input_attrs' => array(
521
- 'placeholder' => self::get_default_value( $key.'_heading_partial' ),
522
  ),
523
  'active_callback' => array(
524
- 'id' => 'email_type',
525
  'compare' => '==',
526
- 'value' => $key,
527
  ),
528
  );
529
  } else {
530
  // Email Subject.
531
- $email_text['woocommerce_' . $key . '_settings[subject]'] = array(
532
- 'title' => __( 'Subject Text', 'kadence-woocommerce-email-designer' ),
533
- 'type' => 'text',
534
- 'section' => 'mtype',
535
- 'priority' => 5,
536
- 'default' => '',
537
- 'input_attrs' => array(
538
  'placeholder' => self::get_default_value( $key . '_subject' ),
539
  ),
540
  'active_callback' => array(
541
- 'id' => 'email_type',
542
  'compare' => '==',
543
- 'value' => $key,
544
  ),
545
  );
546
  if ( 'customer_invoice' == $key ) {
547
- $email_text['woocommerce_' . $key . '_settings[subject_paid]'] = array(
548
  'title' => __( 'Subject (paid) Text', 'kadence-woocommerce-email-designer' ),
549
  'type' => 'text',
550
  'section' => 'mtype',
551
  'priority' => 5,
552
  'default' => '',
553
  'input_attrs' => array(
554
- 'placeholder' => self::get_default_value( $key.'_subject_paid' ),
555
  ),
556
  'active_callback' => array(
557
  'id' => 'email_type',
@@ -561,7 +574,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
561
  );
562
  }
563
  // Email Header Text.
564
- $email_text['woocommerce_' . $key . '_settings[heading]'] = array(
565
  'title' => __( 'Heading Text', 'kadence-woocommerce-email-designer' ),
566
  'type' => 'text',
567
  'section' => 'mtype',
@@ -573,20 +586,20 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
573
  'live_method' => 'replace',
574
  'selectors' => array( '#header_wrapper h1' ),
575
  'active_callback' => array(
576
- 'id' => 'email_type',
577
  'compare' => '==',
578
- 'value' => $key,
579
  ),
580
  );
581
  if ( 'customer_invoice' == $key ) {
582
- $email_text['woocommerce_' . $key . '_settings[heading_paid]'] = array(
583
  'title' => __( 'Heading (paid) Text', 'kadence-woocommerce-email-designer' ),
584
  'type' => 'text',
585
  'section' => 'mtype',
586
  'priority' => 5,
587
  'default' => '',
588
  'input_attrs' => array(
589
- 'placeholder' => self::get_default_value( $key.'_heading_paid' ),
590
  ),
591
  'active_callback' => array(
592
  'id' => 'email_type',
@@ -596,7 +609,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
596
  );
597
  }
598
  if ( version_compare( WC_VERSION, '3.7', '>' ) ) {
599
- $email_text['woocommerce_' . $key . '_settings[additional_content]'] = array(
600
  'title' => __( 'Additional content', 'kadence-woocommerce-email-designer' ),
601
  'type' => 'textarea',
602
  'section' => 'mtype',
@@ -605,7 +618,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
605
  'input_attrs' => array(
606
  'placeholder' => self::get_default_value( $key . '_additional_content' ),
607
  ),
608
- 'transport' => 'refresh',
609
  'active_callback' => array(
610
  'id' => 'email_type',
611
  'compare' => '==',
@@ -631,41 +644,41 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
631
  if ( is_null( self::$settings ) ) {
632
  // Main Base options.
633
  $mainoptions = array(
634
- //Email template
635
  'email_load_template' => array(
636
  'title' => __( 'Template_load', 'kadence-woocommerce-email-designer' ),
637
  'section' => 'template',
638
  'control_type' => 'kwdtemplateload',
639
  'choices' => self::get_email_templates(),
640
  'default' => 'kt_full',
641
- 'transport' => 'refresh',
642
  ),
643
  // Preview Order Id.
644
  'preview_order_id' => array(
645
  'title' => __( 'Preview Order', 'kadence-woocommerce-email-designer' ),
646
  'section' => 'mtype',
647
  'type' => 'select',
648
- 'priority' => 1,
649
  'choices' => self::get_order_ids(),
650
  'default' => self::get_default_value( 'preview_order_id' ),
651
- 'transport' => 'refresh',
652
  ),
653
  // Email Type.
654
  'email_type' => array(
655
  'title' => __( 'Email Type', 'kadence-woocommerce-email-designer' ),
656
  'section' => 'mtype',
657
  'type' => 'select',
658
- 'priority' => 2,
659
  'choices' => self::get_email_types(),
660
  'default' => self::get_default_value( 'email_type' ),
661
- 'transport' => 'refresh',
662
  ),
663
  // Placeholder Info.
664
  'email_text_info' => array(
665
  'title' => __( 'Available placeholders', 'kadence-woocommerce-email-designer' ),
666
  'section' => 'mtype',
667
  'control_type' => 'kwdinfoblock',
668
- 'priority' => 50,
669
  'description' => '<code>{site_title}, {order_date}, {order_number}, {customer_first_name}, {customer_last_name}, {customer_full_name}, {customer_username}</code>',
670
  ),
671
  );
@@ -674,7 +687,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
674
  // Get the Extra Text area settings.
675
  foreach ( self::get_customized_email_types() as $key => $value ) {
676
  // Email Subtitle Text
677
- $extra_email_text[$key.'_subtitle'] = array(
678
  'title' => __( 'Subtitle Text', 'kadence-woocommerce-email-designer' ),
679
  'type' => 'text',
680
  'section' => 'mtype',
@@ -682,7 +695,7 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
682
  'original' => '',
683
  'live_method' => 'replace',
684
  'selectors' => array(
685
- '#header_wrapper .subtitle'
686
  ),
687
  'active_callback' => array(
688
  'id' => 'email_type',
@@ -691,79 +704,93 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
691
  ),
692
  );
693
  if ( 'customer_new_account' == $key ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
694
  $extra_email_text[ $key . '_btn_switch' ] = array(
695
  'title' => __( 'Switch account link to button', 'kadence-woocommerce-email-designer' ),
696
  'control_type' => 'toggleswitch',
697
  'section' => 'mtype',
698
- 'transport' => 'refresh',
699
- 'default' => self::get_default_value( $key . '_switch' ),
700
  'original' => '',
701
- 'priority' => 3,
702
  'active_callback' => array(
703
- 'id' => 'email_type',
704
  'compare' => '==',
705
- 'value' => $key,
706
  ),
707
  );
708
  }
709
  if ( 'customer_refunded_order' == $key ) {
710
  // Email preview switch
711
- $extra_email_text[$key.'_switch'] = array(
712
  'title' => __( 'Switch off for Partial Refund Preview', 'kadence-woocommerce-email-designer' ),
713
  'control_type' => 'toggleswitch',
714
  'section' => 'mtype',
715
- 'transport' => 'refresh',
716
- 'default' => self::get_default_value( $key.'_switch' ),
717
  'original' => '',
718
- 'priority' => 3,
719
  'active_callback' => array(
720
- 'id' => 'email_type',
721
  'compare' => '==',
722
- 'value' => $key,
723
  ),
724
  );
725
  // Email Body Text
726
- $extra_email_text[$key.'_body_full'] = array(
727
  'title' => __( 'Body Full Refund Text', 'kadence-woocommerce-email-designer' ),
728
  'type' => 'textarea',
729
  'section' => 'mtype',
730
- 'default' => self::get_default_value( $key.'_body_full' ),
731
  'original' => '',
732
- 'transport' => 'refresh',
733
  'active_callback' => array(
734
- 'id' => 'email_type',
735
  'compare' => '==',
736
- 'value' => $key,
737
  ),
738
  );
739
  // Email Body Text
740
- $extra_email_text[$key.'_body_partial'] = array(
741
  'title' => __( 'Body Partial Refund Text', 'kadence-woocommerce-email-designer' ),
742
  'type' => 'textarea',
743
  'section' => 'mtype',
744
- 'default' => self::get_default_value( $key.'_body_partial' ),
745
  'original' => '',
746
- 'transport' => 'refresh',
747
  'active_callback' => array(
748
- 'id' => 'email_type',
749
  'compare' => '==',
750
- 'value' => $key,
751
  ),
752
  );
753
  } else if ( 'customer_invoice' == $key ) {
754
  // Email preview switch
755
- $extra_email_text[ $key.'_switch'] = array(
756
  'title' => __( 'Switch off for unpaid preview', 'kadence-woocommerce-email-designer' ),
757
  'control_type' => 'toggleswitch',
758
  'section' => 'mtype',
759
- 'transport' => 'refresh',
760
- 'default' => self::get_default_value( $key.'_switch' ),
761
  'original' => '',
762
- 'priority' => 3,
763
  'active_callback' => array(
764
- 'id' => 'email_type',
765
  'compare' => '==',
766
- 'value' => $key,
767
  ),
768
  );
769
  // Email preview switch.
@@ -771,40 +798,68 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
771
  'title' => __( 'Make "Pay for this Order" a button', 'kadence-woocommerce-email-designer' ),
772
  'control_type' => 'toggleswitch',
773
  'section' => 'mtype',
774
- 'transport' => 'refresh',
775
  'default' => self::get_default_value( $key . '_btn_switch' ),
776
  'original' => '',
777
  'active_callback' => array(
778
- 'id' => 'email_type',
779
  'compare' => '==',
780
- 'value' => $key,
781
  ),
782
  );
783
  // Email Body Text
784
- $extra_email_text[$key.'_body_paid'] = array(
785
  'title' => __( 'Body Invoice Paid Text', 'kadence-woocommerce-email-designer' ),
786
  'type' => 'textarea',
787
  'section' => 'mtype',
788
- 'default' => self::get_default_value( $key.'_body_paid' ),
789
  'original' => '',
790
- 'transport' => 'refresh',
791
  'active_callback' => array(
792
- 'id' => 'email_type',
793
  'compare' => '==',
794
- 'value' => $key,
795
  ),
796
  );
797
  // Email Body Text
798
- $extra_email_text[$key.'_body'] = array(
799
  'title' => __( 'Body Invoice Pending Payment Text', 'kadence-woocommerce-email-designer' ),
800
  'type' => 'textarea',
801
  'section' => 'mtype',
802
- 'default' => self::get_default_value( $key.'_body' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
803
  'original' => '',
804
  'active_callback' => array(
805
- 'id' => 'email_type',
806
  'compare' => '==',
807
- 'value' => $key,
808
  ),
809
  );
810
  } else if ( 'customer_renewal_invoice' == $key ) {
@@ -813,40 +868,40 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
813
  'title' => __( 'Make "Pay Now" a button', 'kadence-woocommerce-email-designer' ),
814
  'control_type' => 'toggleswitch',
815
  'section' => 'mtype',
816
- 'transport' => 'refresh',
817
  'default' => self::get_default_value( $key . '_btn_switch' ),
818
  'original' => '',
819
  'active_callback' => array(
820
- 'id' => 'email_type',
821
  'compare' => '==',
822
- 'value' => $key,
823
  ),
824
  );
825
  // Email Body Text
826
- $extra_email_text[$key.'_body_failed'] = array(
827
  'title' => __( 'Body Invoice Failed Text', 'kadence-woocommerce-email-designer' ),
828
  'type' => 'textarea',
829
  'section' => 'mtype',
830
- 'default' => self::get_default_value( $key.'_body_failed' ),
831
  'original' => '',
832
- 'transport' => 'refresh',
833
  'active_callback' => array(
834
- 'id' => 'email_type',
835
  'compare' => '==',
836
- 'value' => $key,
837
  ),
838
  );
839
  // Email Body Text
840
- $extra_email_text[$key.'_body'] = array(
841
  'title' => __( 'Body Invoice Pending Payment Text', 'kadence-woocommerce-email-designer' ),
842
  'type' => 'textarea',
843
  'section' => 'mtype',
844
- 'default' => self::get_default_value( $key.'_body' ),
845
  'original' => '',
846
  'active_callback' => array(
847
- 'id' => 'email_type',
848
  'compare' => '==',
849
- 'value' => $key,
850
  ),
851
  );
852
  } else if ( 'customer_reset_password' == $key ) {
@@ -855,26 +910,26 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
855
  'title' => __( 'Make "reset your password" a button', 'kadence-woocommerce-email-designer' ),
856
  'control_type' => 'toggleswitch',
857
  'section' => 'mtype',
858
- 'transport' => 'refresh',
859
  'default' => self::get_default_value( $key . '_switch' ),
860
  'original' => '',
861
  'active_callback' => array(
862
- 'id' => 'email_type',
863
  'compare' => '==',
864
- 'value' => $key,
865
  ),
866
  );
867
  // Email Body Text
868
- $extra_email_text[ $key . '_body'] = array(
869
  'title' => __( 'Body Text', 'kadence-woocommerce-email-designer' ),
870
  'type' => 'textarea',
871
  'section' => 'mtype',
872
- 'default' => self::get_default_value( $key.'_body' ),
873
  'original' => '',
874
  'active_callback' => array(
875
- 'id' => 'email_type',
876
  'compare' => '==',
877
- 'value' => $key,
878
  ),
879
  );
880
  } else {
@@ -887,1778 +942,1779 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
887
  'original' => '',
888
  'transport' => 'refresh',
889
  'active_callback' => array(
890
- 'id' => 'email_type',
891
  'compare' => '==',
892
- 'value' => $key,
893
  ),
894
  );
895
  }
896
  }
897
  $main = array(
898
- /* CONTAINER STUFF */
899
- // Email width.
900
- 'content_width' => array(
901
- 'title' => __( 'Content Width', 'kadence-woocommerce-email-designer' ),
902
- 'control_type' => 'rangevalue',
903
- 'section' => 'container',
904
- 'default' => self::get_default_value( 'content_width' ),
905
- 'live_method' => 'css',
906
- 'selectors' => array(
907
- '#template_container' => array( 'width' ),
908
- '#template_header' => array( 'width' ),
909
- '#template_header_image' => array( 'width' ),
910
- '#template_body' => array( 'width' ),
911
- '#template_footer' => array( 'width' ),
912
- ),
913
- 'input_attrs' => array(
914
- 'step' => 2,
915
- 'min' => 350,
916
- 'max' => 1500,
917
- ),
918
- ),
919
- 'responsive_mode' => array(
920
- 'title' => __( 'Enable Fluid Width', 'kadence-woocommerce-email-designer' ),
921
- 'control_type' => 'toggleswitch',
922
- 'section' => 'container',
923
- 'transport' => 'refresh',
924
- 'default' => self::get_default_value( 'responsive_mode' ),
925
- ),
926
- 'content_inner_width' => array(
927
- 'title' => __( 'Content Inner Max Width', 'kadence-woocommerce-email-designer' ),
928
- 'control_type' => 'rangevalue',
929
- 'section' => 'container',
930
- 'default' => self::get_default_value( 'content_width' ),
931
- 'live_method' => 'css',
932
- 'selectors' => array(
933
- '#template_container #template_header' => array( 'max-width' ),
934
- '#template_container #template_header_image' => array( 'max-width' ),
935
- '#template_container #template_body' => array( 'max-width' ),
936
- '#template_container #template_footer' => array( 'max-width' ),
937
- ),
938
- 'input_attrs' => array(
939
- 'step' => 2,
940
- 'min' => 350,
941
- 'max' => 1500,
942
- ),
943
- 'active_callback' => array(
944
- 'id' => 'responsive_mode',
945
- 'compare' => '==',
946
- 'value' => true,
947
- ),
948
- ),
949
- // Border radius
950
- 'border_radius' => array(
951
- 'title' => __( 'Border radius', 'kadence-woocommerce-email-designer' ),
952
- 'control_type' => 'rangevalue',
953
- 'section' => 'container',
954
- 'default' => self::get_default_value( 'border_radius' ),
955
- 'live_method' => 'css',
956
- 'description' => __( 'Warning: most desktop email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
957
- 'selectors' => array(
958
- '#template_container' => array( 'border-radius' ),
959
- ),
960
- 'input_attrs' => array(
961
- 'step' => 1,
962
- 'min' => 0,
963
- 'max' => 100,
964
- ),
965
- ),
966
- // Border Width.
967
- 'border_width' => array(
968
- 'title' => __( 'Border Top Width', 'kadence-woocommerce-email-designer' ),
969
- 'control_type' => 'rangevalue',
970
- 'section' => 'container',
971
- 'default' => self::get_default_value( 'border_width' ),
972
- 'live_method' => 'css',
973
- 'selectors' => array(
974
- 'body #template_container' => array( 'border-top-width' ),
975
- ),
976
- 'input_attrs' => array(
977
- 'step' => 1,
978
- 'min' => 0,
979
- 'max' => 20,
980
- ),
981
- ),
982
- // Border Width.
983
- 'border_width_right' => array(
984
- 'title' => __( 'Border Right Width', 'kadence-woocommerce-email-designer' ),
985
- 'control_type' => 'rangevalue',
986
- 'section' => 'container',
987
- 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
988
- 'live_method' => 'css',
989
- 'selectors' => array(
990
- 'body #template_container' => array( 'border-right-width' ),
991
- ),
992
- 'input_attrs' => array(
993
- 'step' => 1,
994
- 'min' => 0,
995
- 'max' => 20,
996
- ),
997
- ),
998
- // Border Width.
999
- 'border_width_bottom' => array(
1000
- 'title' => __( 'Border Bottom Width', 'kadence-woocommerce-email-designer' ),
1001
- 'control_type' => 'rangevalue',
1002
- 'section' => 'container',
1003
- 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
1004
- 'live_method' => 'css',
1005
- 'selectors' => array(
1006
- 'body #template_container' => array( 'border-bottom-width' ),
1007
- ),
1008
- 'input_attrs' => array(
1009
- 'step' => 1,
1010
- 'min' => 0,
1011
- 'max' => 20,
1012
- ),
1013
- ),
1014
- // Border Width.
1015
- 'border_width_left' => array(
1016
- 'title' => __( 'Border Left Width', 'kadence-woocommerce-email-designer' ),
1017
- 'control_type' => 'rangevalue',
1018
- 'section' => 'container',
1019
- 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
1020
- 'live_method' => 'css',
1021
- 'selectors' => array(
1022
- 'body #template_container' => array( 'border-left-width' ),
1023
- ),
1024
- 'input_attrs' => array(
1025
- 'step' => 1,
1026
- 'min' => 0,
1027
- 'max' => 20,
1028
- ),
1029
- ),
1030
- // Border Color.
1031
- 'border_color' => array(
1032
- 'title' => __( 'Border color', 'kadence-woocommerce-email-designer' ),
1033
- 'section' => 'container',
1034
- 'control_type' => 'color',
1035
- 'default' => self::get_default_value( 'border_color' ),
1036
- 'live_method' => 'css',
1037
- 'selectors' => array(
1038
- 'body #template_container' => array( 'border-color' ),
1039
- ),
1040
- ),
1041
- // Shadow
1042
- 'shadow' => array(
1043
- 'title' => __( 'Shadow', 'kadence-woocommerce-email-designer' ),
1044
- 'control_type' => 'rangevalue',
1045
- 'section' => 'container',
1046
- 'description' => __( 'Warning: most email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
1047
- 'default' => self::get_default_value( 'shadow' ),
1048
- 'live_method' => 'css',
1049
- 'selectors' => array(
1050
- 'body #template_container' => array( 'box-shadow' ),
1051
- ),
1052
- 'input_attrs' => array(
1053
- 'step' => 1,
1054
- 'min' => 0,
1055
- 'max' => 20,
1056
- ),
1057
- ),
1058
- // Email Top Padding
1059
- 'email_padding' => array(
1060
- 'title' => __( 'Container Top Padding', 'kadence-woocommerce-email-designer' ),
1061
- 'control_type' => 'rangevalue',
1062
- 'section' => 'container',
1063
- 'default' => self::get_default_value( 'email_padding' ),
1064
- 'live_method' => 'css',
1065
- 'selectors' => array(
1066
- '#wrapper' => array( 'padding-top' ),
1067
- ),
1068
- 'input_attrs' => array(
1069
- 'step' => 1,
1070
- 'min' => 0,
1071
- 'max' => 250,
1072
- ),
1073
- ),
1074
- // Email Top Padding
1075
- 'email_padding_bottom' => array(
1076
- 'title' => __( 'Container Botom Padding', 'kadence-woocommerce-email-designer' ),
1077
- 'control_type' => 'rangevalue',
1078
- 'section' => 'container',
1079
- 'default' => self::get_default_value( 'email_padding' ),
1080
- 'live_method' => 'css',
1081
- 'selectors' => array(
1082
- '#wrapper' => array( 'padding-bottom' ),
1083
- ),
1084
- 'input_attrs' => array(
1085
- 'step' => 1,
1086
- 'min' => 0,
1087
- 'max' => 250,
1088
- ),
1089
- ),
1090
- /**
1091
- * HEADER IMAGE OPTIONS
1092
- */
1093
- // Header Image Width.
1094
- 'header_image_placement' => array(
1095
- 'title' => __( 'Header Image Placement', 'kadence-woocommerce-email-designer' ),
1096
- 'section' => 'header_image',
1097
- 'default' => self::get_default_value( 'header_image_placement' ),
1098
- 'transport' => 'refresh',
1099
- 'type' => 'select',
1100
- 'choices' => array(
1101
- 'outside' => __( 'Outside Body Container', 'kadence-woocommerce-email-designer' ),
1102
- 'inside' => __( 'Inside Body Container', 'kadence-woocommerce-email-designer' ),
1103
- ),
1104
- ),
1105
- // Image Align.
1106
- 'header_image_align' => array(
1107
- 'title' => __( 'Image Align', 'kadence-woocommerce-email-designer' ),
1108
- 'section' => 'header_image',
1109
- 'default' => self::get_default_value( 'header_image_align' ),
1110
- 'live_method' => 'css',
1111
- 'type' => 'select',
1112
- 'choices' => self::get_image_aligns(),
1113
- 'selectors' => array(
1114
- '#template_header_image_table td' => array( 'text-align' ),
1115
- ),
1116
- ),
1117
- // Image Maxwidth
1118
- 'header_image_maxwidth' => array(
1119
- 'title' => __( 'Image Max Width', 'kadence-woocommerce-email-designer' ),
1120
- 'section' => 'header_image',
1121
- 'default' => self::get_default_value( 'header_image_maxwidth' ),
1122
- 'live_method' => 'css',
1123
- 'control_type' => 'rangevalue',
1124
- 'selectors' => array(
1125
- '#template_header_image img' => array( 'max-width' ),
1126
  ),
1127
- 'input_attrs' => array(
1128
- 'step' => 1,
1129
- 'min' => 10,
1130
- 'max' => 1200,
 
 
 
 
 
 
 
 
 
 
 
 
1131
  ),
1132
- ),
1133
- 'header_image_background_color' => array(
1134
- 'title' => __( 'Background color', 'kadence-woocommerce-email-designer' ),
1135
- 'section' => 'header_image',
1136
- 'control_type' => 'color',
1137
- 'default' => self::get_default_value( 'header_image_background_color' ),
1138
- 'live_method' => 'css',
1139
- 'selectors' => array(
1140
- '#template_header_image_container' => array( 'background-color' ),
1141
- ),
1142
- ),
1143
- // Header Padding top/bottom.
1144
- 'header_image_padding_top_bottom' => array(
1145
- 'title' => __( 'Padding top/bottom', 'kadence-woocommerce-email-designer' ),
1146
- 'control_type' => 'rangevalue',
1147
- 'section' => 'header_image',
1148
- 'default' => self::get_default_value( 'header_image_padding_top_bottom' ),
1149
- 'live_method' => 'css',
1150
- 'selectors' => array(
1151
- '#template_header_image_table td' => array( 'padding-top', 'padding-bottom' ),
1152
- ),
1153
- 'input_attrs' => array(
1154
- 'step' => 1,
1155
- 'min' => 0,
1156
- 'max' => 150,
1157
- ),
1158
- ),
1159
- // Header background color.
1160
- 'header_background_color' => array(
1161
- 'title' => __( 'Background color', 'kadence-woocommerce-email-designer' ),
1162
- 'section' => 'header_style',
1163
- 'control_type' => 'color',
1164
- 'default' => self::get_default_value( 'header_background_color' ),
1165
- 'live_method' => 'css',
1166
- 'selectors' => array(
1167
- '#template_header' => array( 'background-color' ),
1168
- ),
1169
- ),
1170
- // Header Text align
1171
- 'header_text_align' => array(
1172
- 'title' => __( 'Text align', 'kadence-woocommerce-email-designer' ),
1173
- 'section' => 'header_style',
1174
- 'default' => self::get_default_value( 'header_text_align' ),
1175
- 'live_method' => 'css',
1176
- 'type' => 'select',
1177
- 'choices' => self::get_text_aligns(),
1178
- 'selectors' => array(
1179
- '#header_wrapper h1' => array( 'text-align' ),
1180
- '#header_wrapper' => array( 'text-align' ),
1181
  ),
1182
- ),
1183
-
1184
- // Header Padding top/bottom.
1185
- 'header_padding_top' => array(
1186
- 'title' => __( 'Padding Top', 'kadence-woocommerce-email-designer' ),
1187
- 'control_type' => 'rangevalue',
1188
- 'section' => 'header_style',
1189
- 'default' => self::get_default_value( 'header_padding_top_bottom' ),
1190
- 'live_method' => 'css',
1191
- 'selectors' => array(
1192
- '#header_wrapper' => array( 'padding-top' ),
1193
- ),
1194
- 'input_attrs' => array(
1195
- 'step' => 1,
1196
- 'min' => 0,
1197
- 'max' => 150,
1198
- ),
1199
- ),
1200
- // Header Padding top/bottom
1201
- 'header_padding_bottom' => array(
1202
- 'title' => __( 'Padding Bottom', 'kadence-woocommerce-email-designer' ),
1203
- 'control_type' => 'rangevalue',
1204
- 'section' => 'header_style',
1205
- 'default' => self::get_default_value( 'header_padding_top_bottom' ),
1206
- 'live_method' => 'css',
1207
- 'selectors' => array(
1208
- '#header_wrapper' => array( 'padding-bottom' ),
1209
  ),
1210
- 'input_attrs' => array(
1211
- 'step' => 1,
1212
- 'min' => 0,
1213
- 'max' => 150,
 
 
 
 
 
 
 
 
 
 
 
1214
  ),
1215
- ),
1216
-
1217
- // Header Padding left/right
1218
- 'header_padding_left_right' => array(
1219
- 'title' => __( 'Padding left/right', 'kadence-woocommerce-email-designer' ),
1220
- 'control_type' => 'rangevalue',
1221
- 'section' => 'header_style',
1222
- 'default' => self::get_default_value( 'header_padding_left_right' ),
1223
- 'live_method' => 'css',
1224
- 'selectors' => array(
1225
- '#header_wrapper' => array( 'padding-left', 'padding-right' ),
1226
- ),
1227
- 'input_attrs' => array(
1228
- 'step' => 1,
1229
- 'min' => 0,
1230
- 'max' => 150,
1231
- ),
1232
- ),
1233
- // Heading Font size
1234
- 'heading_font_size' => array(
1235
- 'title' => __( 'Heading Font size', 'kadence-woocommerce-email-designer' ),
1236
- 'control_type' => 'rangevalue',
1237
- 'section' => 'heading',
1238
- 'default' => self::get_default_value( 'heading_font_size' ),
1239
- 'live_method' => 'css',
1240
- 'selectors' => array(
1241
- '#template_header h1' => array( 'font-size' ),
1242
- ),
1243
- 'input_attrs' => array(
1244
- 'step' => 1,
1245
- 'min' => 10,
1246
- 'max' => 75,
1247
- ),
1248
- ),
1249
- // heading Line Height
1250
- 'heading_line_height' => array(
1251
- 'title' => __( 'Heading Line Height', 'kadence-woocommerce-email-designer' ),
1252
- 'control_type' => 'rangevalue',
1253
- 'section' => 'heading',
1254
- 'default' => self::get_default_value( 'heading_line_height' ),
1255
- 'live_method' => 'css',
1256
- 'selectors' => array(
1257
- '#template_header h1' => array( 'line-height' ),
1258
- ),
1259
- 'input_attrs' => array(
1260
- 'step' => 1,
1261
- 'min' => 10,
1262
- 'max' => 125,
1263
- ),
1264
- ),
1265
- // Heading Font family
1266
- 'heading_font_family' => array(
1267
- 'title' => __( 'Heading Font family', 'kadence-woocommerce-email-designer' ),
1268
- 'section' => 'heading',
1269
- 'default' => self::get_default_value( 'heading_font_family' ),
1270
- 'live_method' => 'css',
1271
- 'type' => 'select',
1272
- 'choices' => self::get_font_families(),
1273
- 'selectors' => array(
1274
- '#template_header h1' => array( 'font-family' ),
1275
- ),
1276
- ),
1277
- // Heading Font style
1278
- 'heading_font_style' => array(
1279
- 'title' => __( 'Heading Font Style', 'kadence-woocommerce-email-designer' ),
1280
- 'section' => 'heading',
1281
- 'default' => self::get_default_value( 'heading_font_style' ),
1282
- 'live_method' => 'css',
1283
- 'type' => 'select',
1284
- 'choices' => array(
1285
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1286
- 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1287
  ),
1288
- 'selectors' => array(
1289
- '#template_header h1' => array( 'font-style' ),
1290
- ),
1291
- ),
1292
- // Heading Font weight
1293
- 'heading_font_weight' => array(
1294
- 'title' => __( 'Heading Font weight', 'kadence-woocommerce-email-designer' ),
1295
- 'control_type' => 'rangevalue',
1296
- 'section' => 'heading',
1297
- 'default' => self::get_default_value( 'heading_font_weight' ),
1298
- 'live_method' => 'css',
1299
- 'selectors' => array(
1300
- '#template_header h1' => array( 'font-weight' ),
1301
- ),
1302
- 'input_attrs' => array(
1303
- 'step' => 100,
1304
- 'min' => 100,
1305
- 'max' => 900,
1306
- ),
1307
- ),
1308
- // Heading Color
1309
- 'heading_color' => array(
1310
- 'title' => __( 'Heading Text color', 'kadence-woocommerce-email-designer' ),
1311
- 'section' => 'heading',
1312
- 'control_type' => 'color',
1313
- 'default' => self::get_default_value( 'heading_color' ),
1314
- 'live_method' => 'css',
1315
- 'selectors' => array(
1316
- '#template_header' => array( 'color' ),
1317
- '#template_header h1' => array( 'color' ),
1318
- ),
1319
- ),
1320
- //Subtitle Info
1321
- 'subtitle_fontt_info' => array(
1322
- 'title' => __( 'Subtitle Settings', 'kadence-woocommerce-email-designer' ),
1323
- 'section' => 'heading',
1324
- 'control_type' => 'kwdinfoblock',
1325
- 'description' => '',
1326
- ),
1327
- // Subtitle placement
1328
- 'subtitle_placement' => array(
1329
- 'title' => __( 'Subtitle Placement', 'kadence-woocommerce-email-designer' ),
1330
- 'section' => 'heading',
1331
- 'default' => self::get_default_value( 'subtitle_placement' ),
1332
- 'transport' => 'refresh',
1333
- 'type' => 'select',
1334
- 'choices' => array(
1335
- 'below' => __( 'Below Heading', 'kadence-woocommerce-email-designer' ),
1336
- 'above' => __( 'Above Heading', 'kadence-woocommerce-email-designer' ),
1337
- ),
1338
- ),
1339
-
1340
- // Subtitle Font size
1341
- 'subtitle_font_size' => array(
1342
- 'title' => __( 'Subtitle Font Size', 'kadence-woocommerce-email-designer' ),
1343
- 'control_type' => 'rangevalue',
1344
- 'section' => 'heading',
1345
- 'default' => self::get_default_value( 'subtitle_font_size' ),
1346
- 'live_method' => 'css',
1347
- 'selectors' => array(
1348
- '#template_header .subtitle' => array( 'font-size' ),
1349
- ),
1350
- 'input_attrs' => array(
1351
- 'step' => 1,
1352
- 'min' => 10,
1353
- 'max' => 75,
1354
- ),
1355
- ),
1356
- // Subtitle Line Height
1357
- 'subtitle_line_height' => array(
1358
- 'title' => __( 'Subtitle Line Height', 'kadence-woocommerce-email-designer' ),
1359
- 'control_type' => 'rangevalue',
1360
- 'section' => 'heading',
1361
- 'default' => self::get_default_value( 'subtitle_line_height' ),
1362
- 'live_method' => 'css',
1363
- 'selectors' => array(
1364
- '#template_header .subtitle' => array( 'line-height' ),
1365
- ),
1366
- 'input_attrs' => array(
1367
- 'step' => 1,
1368
- 'min' => 10,
1369
- 'max' => 125,
1370
- ),
1371
- ),
1372
- // Subtitle Font family.
1373
- 'subtitle_font_family' => array(
1374
- 'title' => __( 'Subtitle Font Family', 'kadence-woocommerce-email-designer' ),
1375
- 'section' => 'heading',
1376
- 'default' => self::get_default_value( 'subtitle_font_family' ),
1377
- 'live_method' => 'css',
1378
- 'type' => 'select',
1379
- 'choices' => self::get_font_families(),
1380
- 'selectors' => array(
1381
- '#template_header .subtitle' => array( 'font-family' ),
1382
- ),
1383
- ),
1384
- // Subtitle Font style
1385
- 'subtitle_font_style' => array(
1386
- 'title' => __( 'Subtitle Font Style', 'kadence-woocommerce-email-designer' ),
1387
- 'section' => 'heading',
1388
- 'default' => self::get_default_value( 'subtitle_font_style' ),
1389
- 'live_method' => 'css',
1390
- 'type' => 'select',
1391
- 'choices' => array(
1392
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1393
- 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1394
  ),
1395
- 'selectors' => array(
1396
- '#template_header .subtitle' => array( 'font-style' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1397
  ),
1398
- ),
1399
-
1400
- // Subtitle Font weight
1401
- 'subtitle_font_weight' => array(
1402
- 'title' => __( 'Subtitle Font weight', 'kadence-woocommerce-email-designer' ),
1403
- 'control_type' => 'rangevalue',
1404
- 'section' => 'heading',
1405
- 'default' => self::get_default_value( 'subtitle_font_weight' ),
1406
- 'live_method' => 'css',
1407
- 'selectors' => array(
1408
- '#template_header .subtitle' => array( 'font-weight' ),
 
 
 
 
1409
  ),
1410
- 'input_attrs' => array(
1411
- 'step' => 100,
1412
- 'min' => 100,
1413
- 'max' => 900,
 
 
 
 
 
 
 
 
 
 
 
1414
  ),
1415
- ),
1416
-
1417
- // Subtitle Color
1418
- 'subtitle_color' => array(
1419
- 'title' => __( 'Subtitle Text color', 'kadence-woocommerce-email-designer' ),
1420
- 'section' => 'heading',
1421
- 'control_type' => 'color',
1422
- 'default' => self::get_default_value( 'subtitle_color' ),
1423
- 'live_method' => 'css',
1424
- 'selectors' => array(
1425
- '#template_header .subtitle' => array( 'color' ),
 
 
 
1426
  ),
1427
- ),
1428
-
1429
- // Content padding top
1430
- 'content_padding_top' => array(
1431
- 'title' => __( 'Padding Top', 'kadence-woocommerce-email-designer' ),
1432
- 'control_type' => 'rangevalue',
1433
- 'section' => 'content_container',
1434
- 'default' => self::get_default_value( 'content_padding' ),
1435
- 'live_method' => 'css',
1436
- 'selectors' => array(
1437
- '#body_content' => array( 'padding-top' ),
1438
- ),
1439
- 'input_attrs' => array(
1440
- 'step' => 1,
1441
- 'min' => 0,
1442
- 'max' => 150,
1443
- ),
1444
- ),
1445
- // Content padding
1446
- 'content_padding_bottom' => array(
1447
- 'title' => __( 'Padding Bottom', 'kadence-woocommerce-email-designer' ),
1448
- 'control_type' => 'rangevalue',
1449
- 'section' => 'content_container',
1450
- 'default' => self::get_default_value( 'content_padding_bottom' ),
1451
- 'live_method' => 'css',
1452
- 'selectors' => array(
1453
- '#body_content' => array( 'padding-bottom' ),
1454
- ),
1455
- 'input_attrs' => array(
1456
- 'step' => 1,
1457
- 'min' => 0,
1458
- 'max' => 150,
1459
- ),
1460
- ),
1461
- // Content padding
1462
- 'content_padding' => array(
1463
- 'title' => __( 'Padding Left/Right', 'kadence-woocommerce-email-designer' ),
1464
- 'control_type' => 'rangevalue',
1465
- 'section' => 'content_container',
1466
- 'default' => self::get_default_value( 'content_padding' ),
1467
- 'live_method' => 'css',
1468
- 'selectors' => array(
1469
- '#body_content > table > tbody > tr > td' => array( 'padding-left', 'padding-right' ),
1470
- '#body_content > table > tr > td' => array( 'padding-left', 'padding-right' ),
1471
- ),
1472
- 'input_attrs' => array(
1473
- 'step' => 1,
1474
- 'min' => 0,
1475
- 'max' => 150,
1476
- ),
1477
- ),
1478
- // TEXT STYLE
1479
- // Font size
1480
- 'font_size' => array(
1481
- 'title' => __( 'Font Size', 'kadence-woocommerce-email-designer' ),
1482
- 'control_type' => 'rangevalue',
1483
- 'section' => 'text_style',
1484
- 'default' => self::get_default_value( 'font_size' ),
1485
- 'live_method' => 'css',
1486
- 'selectors' => array(
1487
- '#body_content_inner' => array( 'font-size' ),
1488
- 'img' => array( 'font-size' ),
1489
- ),
1490
- 'input_attrs' => array(
1491
- 'step' => 1,
1492
- 'min' => 8,
1493
- 'max' => 30,
1494
- ),
1495
- ),
1496
- // Line Height
1497
- 'line_height' => array(
1498
- 'title' => __( 'Line Height', 'kadence-woocommerce-email-designer' ),
1499
- 'control_type' => 'rangevalue',
1500
- 'section' => 'text_style',
1501
- 'default' => self::get_default_value( 'line_height' ),
1502
- 'live_method' => 'css',
1503
- 'selectors' => array(
1504
- '#body_content_inner' => array( 'line-height' ),
1505
- 'img' => array( 'line-height' ),
1506
- ),
1507
- 'input_attrs' => array(
1508
- 'step' => 1,
1509
- 'min' => 10,
1510
- 'max' => 90,
1511
- ),
1512
- ),
1513
- // Font family
1514
- 'font_family' => array(
1515
- 'title' => __( 'Font Family', 'kadence-woocommerce-email-designer' ),
1516
- 'section' => 'text_style',
1517
- 'default' => self::get_default_value( 'font_family' ),
1518
- 'live_method' => 'css',
1519
- 'type' => 'select',
1520
- 'choices' => self::get_font_families(),
1521
- 'selectors' => array(
1522
- '#body_content_inner' => array( 'font-family' ),
1523
- '#body_content_inner .td' => array( 'font-family' ),
1524
- '.text' => array( 'font-family' ),
1525
- ),
1526
- ),
1527
- // Font weight
1528
- 'font_weight' => array(
1529
- 'title' => __( 'Font weight', 'kadence-woocommerce-email-designer' ),
1530
- 'control_type' => 'rangevalue',
1531
- 'section' => 'text_style',
1532
- 'default' => self::get_default_value( 'font_weight' ),
1533
- 'live_method' => 'css',
1534
- 'selectors' => array(
1535
- '#body_content_inner' => array( 'font-weight' ),
1536
- ),
1537
- 'input_attrs' => array(
1538
- 'step' => 100,
1539
- 'min' => 100,
1540
- 'max' => 900,
1541
- ),
1542
- ),
1543
- // Link color
1544
- 'link_color' => array(
1545
- 'title' => __( 'Link Color', 'kadence-woocommerce-email-designer' ),
1546
- 'section' => 'text_style',
1547
- 'control_type' => 'color',
1548
- 'default' => self::get_default_value( 'link_color' ),
1549
- 'live_method' => 'css',
1550
- 'selectors' => array(
1551
- 'a' => array( 'color' ),
1552
- '.link' => array( 'color' ),
1553
- '.btn' => array( 'background-color' ),
1554
- ),
1555
- ),
1556
- // H2 TEXT STYLE
1557
- // Font size
1558
- 'h2_font_size' => array(
1559
- 'title' => __( 'H2 Font Size', 'kadence-woocommerce-email-designer' ),
1560
- 'control_type' => 'rangevalue',
1561
- 'section' => 'headings_style',
1562
- 'default' => self::get_default_value( 'h2_font_size' ),
1563
- 'live_method' => 'css',
1564
- 'selectors' => array(
1565
- '#template_body h2' => array( 'font-size' ),
1566
- ),
1567
- 'input_attrs' => array(
1568
- 'step' => 1,
1569
- 'min' => 8,
1570
- 'max' => 50,
1571
- ),
1572
- ),
1573
- // h2 Line Height
1574
- 'h2_line_height' => array(
1575
- 'title' => __( 'H2 Line Height', 'kadence-woocommerce-email-designer' ),
1576
- 'control_type' => 'rangevalue',
1577
- 'section' => 'headings_style',
1578
- 'default' => self::get_default_value( 'h2_line_height' ),
1579
- 'live_method' => 'css',
1580
- 'selectors' => array(
1581
- '#template_body h2' => array( 'line-height' ),
1582
- ),
1583
- 'input_attrs' => array(
1584
- 'step' => 1,
1585
- 'min' => 10,
1586
- 'max' => 90,
1587
- ),
1588
- ),
1589
- // h2 padding top
1590
- 'h2_padding_top' => array(
1591
- 'title' => __( 'H2 Padding Top', 'kadence-woocommerce-email-designer' ),
1592
- 'control_type' => 'rangevalue',
1593
- 'section' => 'headings_style',
1594
- 'default' => self::get_default_value( 'h2_padding_top' ),
1595
- 'live_method' => 'css',
1596
- 'selectors' => array(
1597
- '#template_body h2' => array( 'padding-top' ),
1598
- ),
1599
- 'input_attrs' => array(
1600
- 'step' => 1,
1601
- 'min' => 0,
1602
- 'max' => 60,
1603
- ),
1604
- ),
1605
- // h2 padding bottom
1606
- 'h2_padding_bottom' => array(
1607
- 'title' => __( 'H2 Padding Bottom', 'kadence-woocommerce-email-designer' ),
1608
- 'control_type' => 'rangevalue',
1609
- 'section' => 'headings_style',
1610
- 'default' => self::get_default_value( 'h2_padding_bottom' ),
1611
- 'live_method' => 'css',
1612
- 'selectors' => array(
1613
- '#template_body h2' => array( 'padding-bottom' ),
1614
- ),
1615
- 'input_attrs' => array(
1616
- 'step' => 1,
1617
- 'min' => 0,
1618
- 'max' => 60,
1619
- ),
1620
- ),
1621
- // h2 margin top
1622
- 'h2_margin_top' => array(
1623
- 'title' => __( 'H2 Margin Top', 'kadence-woocommerce-email-designer' ),
1624
- 'control_type' => 'rangevalue',
1625
- 'section' => 'headings_style',
1626
- 'default' => self::get_default_value( 'h2_margin_top' ),
1627
- 'live_method' => 'css',
1628
- 'selectors' => array(
1629
- '#template_body h2' => array( 'margin-top' ),
1630
- ),
1631
- 'input_attrs' => array(
1632
- 'step' => 1,
1633
- 'min' => 0,
1634
- 'max' => 60,
1635
- ),
1636
- ),
1637
- // h2 margin bottom
1638
- 'h2_margin_bottom' => array(
1639
- 'title' => __( 'H2 Margin Bottom', 'kadence-woocommerce-email-designer' ),
1640
- 'control_type' => 'rangevalue',
1641
- 'section' => 'headings_style',
1642
- 'default' => self::get_default_value( 'h2_margin_bottom' ),
1643
- 'live_method' => 'css',
1644
- 'selectors' => array(
1645
- '#template_body h2' => array( 'margin-bottom' ),
1646
- ),
1647
- 'input_attrs' => array(
1648
- 'step' => 1,
1649
- 'min' => 0,
1650
- 'max' => 60,
1651
- ),
1652
- ),
1653
- // h2 Font family
1654
- 'h2_font_family' => array(
1655
- 'title' => __( 'H2 Font Family', 'kadence-woocommerce-email-designer' ),
1656
- 'section' => 'headings_style',
1657
- 'default' => self::get_default_value( 'h2_font_family' ),
1658
- 'live_method' => 'css',
1659
- 'type' => 'select',
1660
- 'choices' => self::get_font_families(),
1661
- 'selectors' => array(
1662
- '#template_body h2' => array( 'font-family' ),
1663
- '#template_body h2 a' => array( 'font-family' ),
1664
- ),
1665
- ),
1666
- // h2 Font style
1667
- 'h2_font_style' => array(
1668
- 'title' => __( 'H2 Font Style', 'kadence-woocommerce-email-designer' ),
1669
- 'section' => 'headings_style',
1670
- 'default' => self::get_default_value( 'h2_font_style' ),
1671
- 'live_method' => 'css',
1672
- 'type' => 'select',
1673
- 'choices' => array(
1674
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1675
- 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1676
  ),
1677
- 'selectors' => array(
1678
- '#template_body h2' => array( 'font-style' ),
1679
- '#template_body h2 a' => array( 'font-style' ),
1680
- ),
1681
- ),
1682
- // h2 Font weight
1683
- 'h2_font_weight' => array(
1684
- 'title' => __( 'H2 Font weight', 'kadence-woocommerce-email-designer' ),
1685
- 'control_type' => 'rangevalue',
1686
- 'section' => 'headings_style',
1687
- 'default' => self::get_default_value( 'h2_font_weight' ),
1688
- 'live_method' => 'css',
1689
- 'selectors' => array(
1690
- '#template_body h2' => array( 'font-weight' ),
1691
- '#template_body h2 a' => array( 'font-weight' ),
1692
- ),
1693
- 'input_attrs' => array(
1694
- 'step' => 100,
1695
- 'min' => 100,
1696
- 'max' => 900,
1697
- ),
1698
- ),
1699
- // h2 text transform
1700
- 'h2_text_transform' => array(
1701
- 'title' => __( 'H2 Text Transform', 'kadence-woocommerce-email-designer' ),
1702
- 'section' => 'headings_style',
1703
- 'default' => self::get_default_value( 'h2_text_transform' ),
1704
- 'live_method' => 'css',
1705
- 'type' => 'select',
1706
- 'choices' => array(
1707
- 'none' => __( 'None', 'kadence-woocommerce-email-designer' ),
1708
- 'uppercase' => __( 'Uppercase', 'kadence-woocommerce-email-designer' ),
1709
- 'lowercase' => __( 'Lowercase', 'kadence-woocommerce-email-designer' ),
1710
- 'capitalize' => __( 'Capitalize', 'kadence-woocommerce-email-designer' ),
1711
  ),
1712
- 'selectors' => array(
1713
- '#template_body h2' => array( 'text-transform' ),
 
 
 
 
 
 
 
1714
  ),
1715
- ),
1716
- // H2 color
1717
- 'h2_color' => array(
1718
- 'title' => __( 'H2 Color', 'kadence-woocommerce-email-designer' ),
1719
- 'section' => 'headings_style',
1720
- 'control_type' => 'color',
1721
- 'default' => self::get_default_value( 'h2_color' ),
1722
- 'live_method' => 'css',
1723
- 'selectors' => array(
1724
- '#template_body h2' => array( 'color' ),
1725
- '#template_body h2 a' => array( 'color' ),
1726
- ),
1727
- ),
1728
- // h2 text align
1729
- 'h2_text_align' => array(
1730
- 'title' => __( 'H2 Text Align', 'kadence-woocommerce-email-designer' ),
1731
- 'section' => 'headings_style',
1732
- 'default' => self::get_default_value( 'h2_text_align' ),
1733
- 'live_method' => 'css',
1734
- 'type' => 'select',
1735
- 'choices' => self::get_text_aligns(),
1736
- 'selectors' => array(
1737
- '#template_body h2' => array( 'text-align' ),
1738
- ),
1739
- ),
1740
- // h2 style
1741
- 'h2_style' => array(
1742
- 'title' => __( 'H2 Separator', 'kadence-woocommerce-email-designer' ),
1743
- 'section' => 'headings_style',
1744
- 'default' => self::get_default_value( 'h2_style' ),
1745
- 'transport' => 'refresh',
1746
- 'type' => 'select',
1747
- 'choices' => array(
1748
- 'none' => __( 'None', 'kadence-woocommerce-email-designer' ),
1749
- 'below' => __( 'Separator below', 'kadence-woocommerce-email-designer' ),
1750
- 'above' => __( 'Separator above', 'kadence-woocommerce-email-designer' ),
1751
- ),
1752
- ),
1753
- // separator height
1754
- 'h2_separator_height' => array(
1755
- 'title' => __( 'H2 Separator height', 'kadence-woocommerce-email-designer' ),
1756
- 'section' => 'headings_style',
1757
- 'control_type' => 'rangevalue',
1758
- 'default' => self::get_default_value( 'h2_style' ),
1759
- 'live_method' => 'css',
1760
- 'type' => 'select',
1761
- 'input_attrs' => array(
1762
- 'step' => 1,
1763
- 'min' => 0,
1764
- 'max' => 30,
1765
  ),
1766
- 'selectors' => array(
1767
- '.title-style-below #template_body h2' => array( 'border-bottom-width' ),
1768
- '.title-style-above #template_body h2' => array( 'border-top-width' ),
1769
- ),
1770
- ),
1771
- // h2 style
1772
- 'h2_separator_style' => array(
1773
- 'title' => __( 'H2 Separator Style', 'kadence-woocommerce-email-designer' ),
1774
- 'section' => 'headings_style',
1775
- 'default' => self::get_default_value( 'h2_style' ),
1776
- 'live_method' => 'css',
1777
- 'type' => 'select',
1778
- 'choices' => array(
1779
- 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
1780
- 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
1781
- 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
1782
- 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
1783
- 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
1784
- 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
1785
  ),
1786
- 'selectors' => array(
1787
- '.title-style-below #template_body h2' => array( 'border-bottom-style' ),
1788
- '.title-style-above #template_body h2' => array( 'border-top-style' ),
1789
- ),
1790
- ),
1791
- // separator color
1792
- 'h2_separator_color' => array(
1793
- 'title' => __( 'H2 Separator Color', 'kadence-woocommerce-email-designer' ),
1794
- 'section' => 'headings_style',
1795
- 'control_type' => 'color',
1796
- 'default' => self::get_default_value( 'h2_separator_color' ),
1797
- 'live_method' => 'css',
1798
- 'selectors' => array(
1799
- '.title-style-below #template_body h2' => array( 'border-bottom-color' ),
1800
- '.title-style-above #template_body h2' => array( 'border-top-color' ),
1801
- ),
1802
- ),
1803
- // H3 TEXT STYLE
1804
- //h3 Info
1805
- 'h3_font_info' => array(
1806
- 'title' => __( 'H3 Settings', 'kadence-woocommerce-email-designer' ),
1807
- 'section' => 'headings_style',
1808
- 'control_type' => 'kwdinfoblock',
1809
- 'description' => '',
1810
- ),
1811
- // Font size
1812
- 'h3_font_size' => array(
1813
- 'title' => __( 'H3 Font Size', 'kadence-woocommerce-email-designer' ),
1814
- 'control_type' => 'rangevalue',
1815
- 'section' => 'headings_style',
1816
- 'default' => self::get_default_value( 'h3_font_size' ),
1817
- 'live_method' => 'css',
1818
- 'selectors' => array(
1819
- '#template_body h3' => array( 'font-size' ),
1820
- ),
1821
- 'input_attrs' => array(
1822
- 'step' => 1,
1823
- 'min' => 8,
1824
- 'max' => 30,
1825
- ),
1826
- ),
1827
- // h3 Line Height.
1828
- 'h3_line_height' => array(
1829
- 'title' => __( 'H3 Line Height', 'kadence-woocommerce-email-designer' ),
1830
- 'control_type' => 'rangevalue',
1831
- 'section' => 'headings_style',
1832
- 'default' => self::get_default_value( 'h2_line_height' ),
1833
- 'live_method' => 'css',
1834
- 'selectors' => array(
1835
- '#template_body h3' => array( 'line-height' ),
1836
- ),
1837
- 'input_attrs' => array(
1838
- 'step' => 1,
1839
- 'min' => 10,
1840
- 'max' => 90,
1841
- ),
1842
- ),
1843
- // h3 Font family.
1844
- 'h3_font_family' => array(
1845
- 'title' => __( 'H3 Font Family', 'kadence-woocommerce-email-designer' ),
1846
- 'section' => 'headings_style',
1847
- 'default' => self::get_default_value( 'h2_font_family' ),
1848
- 'live_method' => 'css',
1849
- 'type' => 'select',
1850
- 'choices' => self::get_font_families(),
1851
- 'selectors' => array(
1852
- '#template_body h3' => array( 'font-family' ),
1853
- ),
1854
- ),
1855
- // h3 Font style.
1856
- 'h3_font_style' => array(
1857
- 'title' => __( 'H3 Font Style', 'kadence-woocommerce-email-designer' ),
1858
- 'section' => 'headings_style',
1859
- 'default' => self::get_default_value( 'h3_font_style' ),
1860
- 'live_method' => 'css',
1861
- 'type' => 'select',
1862
- 'choices' => array(
1863
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1864
- 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1865
  ),
1866
- 'selectors' => array(
1867
- '#template_body h3' => array( 'font-style' ),
1868
- ),
1869
- ),
1870
- // h3 Font weight.
1871
- 'h3_font_weight' => array(
1872
- 'title' => __( 'H3 Font weight', 'kadence-woocommerce-email-designer' ),
1873
- 'control_type' => 'rangevalue',
1874
- 'section' => 'headings_style',
1875
- 'default' => self::get_default_value( 'h3_font_weight' ),
1876
- 'live_method' => 'css',
1877
- 'selectors' => array(
1878
- '#template_body h3' => array( 'font-weight' ),
1879
- ),
1880
- 'input_attrs' => array(
1881
- 'step' => 100,
1882
- 'min' => 100,
1883
- 'max' => 900,
1884
- ),
1885
- ),
1886
- // H3 color.
1887
- 'h3_color' => array(
1888
- 'title' => __( 'H3 Color', 'kadence-woocommerce-email-designer' ),
1889
- 'section' => 'headings_style',
1890
- 'control_type' => 'color',
1891
- 'default' => self::get_default_value( 'h3_color' ),
1892
- 'live_method' => 'css',
1893
- 'selectors' => array(
1894
- '#template_body h3' => array( 'color' ),
1895
- ),
1896
- ),
1897
- // Order ITEMS.
1898
- 'order_items_style' => array(
1899
- 'title' => __( 'Order Table Style', 'kadence-woocommerce-email-designer' ),
1900
- 'section' => 'items_table',
1901
- 'default' => self::get_default_value( 'order_items_style' ),
1902
- 'transport' => 'refresh',
1903
- 'type' => 'select',
1904
- 'choices' => array(
1905
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1906
- 'light' => __( 'Light', 'kadence-woocommerce-email-designer' ),
1907
- ),
1908
- ),
1909
- // Order ITEMS Image.
1910
- 'order_items_image' => array(
1911
- 'title' => __( 'Product Image Option', 'kadence-woocommerce-email-designer' ),
1912
- 'section' => 'items_table',
1913
- 'default' => self::get_default_value( 'order_items_image' ),
1914
- 'transport' => 'refresh',
1915
- 'type' => 'select',
1916
- 'choices' => array(
1917
- 'normal' => __( 'Do not show', 'kadence-woocommerce-email-designer' ),
1918
- 'show' => __( 'Show', 'kadence-woocommerce-email-designer' ),
1919
- ),
1920
- ),
1921
- // Items table Background color.
1922
- 'items_table_background_color' => array(
1923
- 'title' => __( 'Order Table Background color', 'kadence-woocommerce-email-designer' ),
1924
- 'section' => 'items_table',
1925
- 'control_type' => 'color',
1926
- 'default' => self::get_default_value( 'items_table_background_color' ),
1927
- 'live_method' => 'css',
1928
- 'selectors' => array(
1929
- '#body_content_inner table.td' => array( 'background-color' ),
1930
  ),
1931
- ),
1932
- // Items table Background color.
1933
- 'items_table_background_odd_color' => array(
1934
- 'title' => __( 'Order Table Background Odd Row Color', 'kadence-woocommerce-email-designer' ),
1935
- 'section' => 'items_table',
1936
- 'control_type' => 'color',
1937
- 'default' => self::get_default_value( 'items_table_background_odd_color' ),
1938
- 'live_method' => 'css',
1939
- 'selectors' => array(
1940
- '#body_content_inner table.td tbody tr:nth-child(even)' => array( 'background-color' ),
1941
- '#body_content_inner table.td thead tr' => array( 'background-color' ),
1942
- '#body_content_inner table.td tfoot tr:nth-child(odd)' => array( 'background-color' ),
 
 
 
1943
  ),
1944
- ),
1945
 
1946
- // Items table Padding.
1947
- 'items_table_padding' => array(
1948
- 'title' => __( 'Padding Top and Bottom', 'kadence-woocommerce-email-designer' ),
1949
- 'control_type' => 'rangevalue',
1950
- 'section' => 'items_table',
1951
- 'default' => self::get_default_value( 'items_table_padding' ),
1952
- 'live_method' => 'css',
1953
- 'selectors' => array(
1954
- '.order-items-normal #body_content_inner table.td th' => array( 'padding-top', 'padding-bottom' ),
1955
- '.order-items-normal #body_content_inner table.td td' => array( 'padding-top', 'padding-bottom' ),
1956
- '.order-items-light #body_content_inner table.td th' => array( 'padding-top', 'padding-bottom' ),
1957
- '.order-items-light #body_content_inner table.td td' => array( 'padding-top', 'padding-bottom' ),
1958
- ),
1959
- 'input_attrs' => array(
1960
- 'step' => 1,
1961
- 'min' => 0,
1962
- 'max' => 50,
1963
- ),
1964
- ),
1965
- // Items table Padding Left and Right.
1966
- 'items_table_padding_left_right' => array(
1967
- 'title' => __( 'Padding Left and Right', 'kadence-woocommerce-email-designer' ),
1968
- 'control_type' => 'rangevalue',
1969
- 'section' => 'items_table',
1970
- 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'items_table_padding' ) ),
1971
- 'live_method' => 'css',
1972
- 'selectors' => array(
1973
- '.order-items-normal #body_content_inner table.td th' => array( 'padding-left', 'padding-right' ),
1974
- '.order-items-normal #body_content_inner table.td td' => array( 'padding-left', 'padding-right' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1975
  ),
1976
- 'input_attrs' => array(
1977
- 'step' => 1,
1978
- 'min' => 0,
1979
- 'max' => 50,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1980
  ),
1981
- ),
1982
 
1983
- // Items table Border width
1984
- 'items_table_border_width' => array(
1985
- 'title' => __( 'Border Width', 'kadence-woocommerce-email-designer' ),
1986
- 'control_type' => 'rangevalue',
1987
- 'section' => 'items_table',
1988
- 'default' => self::get_default_value( 'items_table_border_width' ),
1989
- 'live_method' => 'css',
1990
- 'selectors' => array(
1991
- '.order-items-normal #body_content_inner .td' => array( 'border-width' ),
1992
- '.order-items-light #body_content_inner table.td .td' => array( 'border-bottom-width' ),
1993
- '.order-items-light #body_content_inner table.td' => array( 'border-top-width' ),
 
 
 
 
1994
  ),
1995
- 'input_attrs' => array(
1996
- 'step' => 1,
1997
- 'min' => 0,
1998
- 'max' => 10,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1999
  ),
2000
- ),
2001
 
2002
- // Items table Border color
2003
- 'items_table_border_color' => array(
2004
- 'title' => __( 'Border Color', 'kadence-woocommerce-email-designer' ),
2005
- 'section' => 'items_table',
2006
- 'control_type' => 'color',
2007
- 'default' => self::get_default_value( 'items_table_border_color' ),
2008
- 'live_method' => 'css',
2009
- 'selectors' => array(
2010
- '#body_content_inner .td' => array( 'border-color' ),
2011
- ),
2012
- ),
2013
- // tems table border style
2014
- 'items_table_border_style' => array(
2015
- 'title' => __( 'Border Style', 'kadence-woocommerce-email-designer' ),
2016
- 'section' => 'items_table',
2017
- 'default' => self::get_default_value( 'items_table_border_style' ),
2018
- 'live_method' => 'css',
2019
- 'type' => 'select',
2020
- 'choices' => array(
2021
- 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2022
- 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2023
- 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2024
- 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2025
- 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2026
- 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2027
  ),
2028
- 'selectors' => array(
2029
- '.order-items-normal #body_content_inner .td' => array( 'border-style' ),
2030
- '.order-items-light #body_content_inner table.td .td' => array( 'border-bottom-style' ),
2031
- '.order-items-light #body_content_inner table.td' => array( 'border-top-style' ),
2032
- ),
2033
- ),
2034
- // Order ITEMS
2035
- 'order_heading_style' => array(
2036
- 'title' => __( 'Order Table Heading Style', 'kadence-woocommerce-email-designer' ),
2037
- 'section' => 'items_table',
2038
- 'default' => self::get_default_value( 'order_heading_style' ),
2039
- 'transport' => 'refresh',
2040
- 'type' => 'select',
2041
- 'choices' => array(
2042
- 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
2043
- 'split' => __( 'Split', 'kadence-woocommerce-email-designer' ),
2044
- ),
2045
- ),
2046
- 'notes_outside_table' => array(
2047
- 'title' => __( 'Enable Order Notes to be moved below table.', 'kadence-woocommerce-email-designer' ),
2048
- 'control_type' => 'toggleswitch',
2049
- 'section' => 'items_table',
2050
- 'transport' => 'refresh',
2051
- 'default' => self::get_default_value( 'notes_outside_table' ),
2052
- 'active_callback' => array(
2053
- 'id' => 'responsive_mode',
2054
- 'compare' => '==',
2055
- 'value' => false,
2056
- ),
2057
- ),
2058
- //addresses Background color
2059
- 'addresses_background_color' => array(
2060
- 'title' => __( 'Address Box Background color', 'kadence-woocommerce-email-designer' ),
2061
- 'section' => 'addresses',
2062
- 'control_type' => 'color',
2063
- 'default' => self::get_default_value( 'addresses_background_color' ),
2064
- 'live_method' => 'css',
2065
- 'selectors' => array(
2066
- '#body_content_inner .address-td' => array( 'background-color' ),
2067
- ),
2068
- ),
2069
- // addresses Padding
2070
- 'addresses_padding' => array(
2071
- 'title' => __( 'Address Box Padding', 'kadence-woocommerce-email-designer' ),
2072
- 'control_type' => 'rangevalue',
2073
- 'section' => 'addresses',
2074
- 'default' => self::get_default_value( 'addresses_padding' ),
2075
- 'live_method' => 'css',
2076
- 'selectors' => array(
2077
- '#body_content_inner .address-td' => array( 'padding' ),
2078
- ),
2079
- 'input_attrs' => array(
2080
- 'step' => 1,
2081
- 'min' => 0,
2082
- 'max' => 100,
2083
- ),
2084
- ),
2085
- // addresses Border width
2086
- 'addresses_border_width' => array(
2087
- 'title' => __( 'Address Box Border Width', 'kadence-woocommerce-email-designer' ),
2088
- 'control_type' => 'rangevalue',
2089
- 'section' => 'addresses',
2090
- 'default' => self::get_default_value( 'addresses_border_width' ),
2091
- 'live_method' => 'css',
2092
- 'selectors' => array(
2093
- '#body_content_inner .address-td' => array( 'border-width' ),
2094
- ),
2095
- 'input_attrs' => array(
2096
- 'step' => 1,
2097
- 'min' => 0,
2098
- 'max' => 10,
2099
- ),
2100
- ),
2101
- // addresses Border color
2102
- 'addresses_border_color' => array(
2103
- 'title' => __( 'Address Box Border Color', 'kadence-woocommerce-email-designer' ),
2104
- 'section' => 'addresses',
2105
- 'control_type' => 'color',
2106
- 'default' => self::get_default_value( 'addresses_border_color' ),
2107
- 'live_method' => 'css',
2108
- 'selectors' => array(
2109
- '#body_content_inner .address-td' => array( 'border-color' ),
2110
- ),
2111
- ),
2112
- // h2 style
2113
- 'addresses_border_style' => array(
2114
- 'title' => __( 'Address Box Border Style', 'kadence-woocommerce-email-designer' ),
2115
- 'section' => 'addresses',
2116
- 'default' => self::get_default_value( 'addresses_border_style' ),
2117
- 'live_method' => 'css',
2118
- 'type' => 'select',
2119
- 'choices' => array(
2120
- 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2121
- 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2122
- 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2123
- 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2124
- 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2125
- 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2126
  ),
2127
- 'selectors' => array(
2128
- '#body_content_inner .address-td' => array( 'border-style' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2129
  ),
2130
- ),
2131
- // addresses color
2132
- 'addresses_text_color' => array(
2133
- 'title' => __( 'Address Box Text Color', 'kadence-woocommerce-email-designer' ),
2134
- 'section' => 'addresses',
2135
- 'control_type' => 'color',
2136
- 'default' => self::get_default_value( 'addresses_text_color' ),
2137
- 'live_method' => 'css',
2138
- 'selectors' => array(
2139
- '#body_content_inner .address-td' => array( 'color' ),
2140
- ),
2141
- ),
2142
- // addresses text align
2143
- 'addresses_text_align' => array(
2144
- 'title' => __( 'Address Box Text Align', 'kadence-woocommerce-email-designer' ),
2145
- 'section' => 'addresses',
2146
- 'default' => self::get_default_value( 'addresses_text_align' ),
2147
- 'live_method' => 'css',
2148
- 'type' => 'select',
2149
- 'choices' => self::get_text_aligns(),
2150
- 'selectors' => array(
2151
- '#body_content_inner .address-td' => array( 'text-align' ),
2152
- ),
2153
- ),
2154
- // Footer Background Width
2155
- 'footer_background_placement' => array(
2156
- 'title' => __( 'Footer Background Placement', 'kadence-woocommerce-email-designer' ),
2157
- 'section' => 'footer_style',
2158
- 'default' => self::get_default_value( 'footer_background_placement' ),
2159
- 'transport' => 'refresh',
2160
- 'type' => 'select',
2161
- 'choices' => array(
2162
- 'inside' => __( 'Inside Body Container', 'kadence-woocommerce-email-designer' ),
2163
- 'outside' => __( 'Outside Body Container', 'kadence-woocommerce-email-designer' ),
2164
- ),
2165
- ),
2166
- // Footer Background Color
2167
- 'footer_background_color' => array(
2168
- 'title' => __( 'Footer Background Color', 'kadence-woocommerce-email-designer' ),
2169
- 'section' => 'footer_style',
2170
- 'control_type' => 'color',
2171
- 'default' => self::get_default_value( 'footer_background_color' ),
2172
- 'live_method' => 'css',
2173
- 'selectors' => array(
2174
- '#template_footer_container' => array( 'background-color' ),
2175
- ),
2176
- ),
2177
- // Footer Top Padding
2178
- 'footer_top_padding' => array(
2179
- 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2180
- 'control_type' => 'rangevalue',
2181
- 'section' => 'footer_style',
2182
- 'default' => self::get_default_value( 'footer_top_padding' ),
2183
- 'live_method' => 'css',
2184
- 'selectors' => array(
2185
- '#template_footer #template_footer_inside' => array( 'padding-top' ),
2186
- ),
2187
- 'input_attrs' => array(
2188
- 'step' => 1,
2189
- 'min' => 0,
2190
- 'max' => 150,
2191
- ),
2192
- ),
2193
- // Footer Bottom Padding
2194
- 'footer_bottom_padding' => array(
2195
- 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2196
- 'control_type' => 'rangevalue',
2197
- 'section' => 'footer_style',
2198
- 'default' => self::get_default_value( 'footer_bottom_padding' ),
2199
- 'live_method' => 'css',
2200
- 'selectors' => array(
2201
- '#template_footer #template_footer_inside' => array( 'padding-bottom' ),
2202
- ),
2203
- 'input_attrs' => array(
2204
- 'step' => 1,
2205
- 'min' => 0,
2206
- 'max' => 150,
2207
- ),
2208
- ),
2209
- // Footer left and right Padding
2210
- 'footer_left_right_padding' => array(
2211
- 'title' => __( 'Left/Right Padding', 'kadence-woocommerce-email-designer' ),
2212
- 'control_type' => 'rangevalue',
2213
- 'section' => 'footer_style',
2214
- 'default' => self::get_default_value( 'footer_left_right_padding' ),
2215
- 'live_method' => 'css',
2216
- 'selectors' => array(
2217
- '#template_footer #template_footer_inside' => array( 'padding-left', 'padding-right' ),
2218
- ),
2219
- 'input_attrs' => array(
2220
- 'step' => 1,
2221
- 'min' => 0,
2222
- 'max' => 150,
2223
- ),
2224
- ),
2225
- 'footer_social_enable' => array(
2226
- 'title' => __( 'Enable Social Section', 'kadence-woocommerce-email-designer' ),
2227
- 'control_type' => 'toggleswitch',
2228
- 'section' => 'footer_social',
2229
- 'transport' => 'refresh',
2230
- 'default' => self::get_default_value( 'footer_social_enable' ),
2231
- ),
2232
- // Footer social repeater
2233
- 'footer_social_repeater' => array(
2234
- 'title' => __( 'Footer Social Options', 'kadence-woocommerce-email-designer' ),
2235
- 'control_type' => 'repeater',
2236
- 'transport' => 'refresh',
2237
- 'section' => 'footer_social',
2238
- 'default' => self::get_default_value( 'social_options' ),
2239
- 'customizer_repeater_image_control' => true,
2240
- 'customizer_repeater_icon_control' => true,
2241
- 'customizer_repeater_icon_color' => true,
2242
- 'customizer_repeater_title_control' => true,
2243
- 'customizer_repeater_link_control' => true,
2244
- 'santitize_callback' => 'customizer_repeater_sanitize'
2245
- ),
2246
- // Footer Social Title Color
2247
- 'footer_social_title_color' => array(
2248
- 'title' => __( 'Footer Social Title Color', 'kadence-woocommerce-email-designer' ),
2249
- 'section' => 'footer_social',
2250
- 'default' => self::get_default_value( 'footer_social_title_color' ),
2251
- 'live_method' => 'css',
2252
- 'selectors' => array(
2253
- '#template_footer a.ft-social-link' => array( 'color' ),
2254
  ),
2255
- 'control_type' => 'color',
2256
- ),
2257
- // Footer Social Title Font size
2258
- 'footer_social_title_size' => array(
2259
- 'title' => __( 'Footer Social Title Font Size', 'kadence-woocommerce-email-designer' ),
2260
- 'control_type' => 'rangevalue',
2261
- 'section' => 'footer_social',
2262
- 'default' => self::get_default_value( 'footer_social_title_font_size' ),
2263
- 'live_method' => 'css',
2264
- 'selectors' => array(
2265
- '#template_footer .ft-social-title' => array( 'font-size' ),
2266
- ),
2267
- 'input_attrs' => array(
2268
- 'step' => 1,
2269
- 'min' => 8,
2270
- 'max' => 30,
2271
- ),
2272
- ),
2273
- // Footer Social Title Font family
2274
- 'footer_social_title_font_family' => array(
2275
- 'title' => __( 'Footer Social Title Font Family', 'kadence-woocommerce-email-designer' ),
2276
- 'section' => 'footer_social',
2277
- 'default' => self::get_default_value( 'footer_social_title_font_family' ),
2278
- 'live_method' => 'css',
2279
- 'type' => 'select',
2280
- 'choices' => self::get_font_families(),
2281
- 'selectors' => array(
2282
- '#template_footer a.ft-social-link' => array( 'font-family' ),
2283
- ),
2284
- ),
2285
- // Footer Social Title Font weight
2286
- 'footer_social_title_font_weight' => array(
2287
- 'title' => __( 'Footer Social Title Font Weight', 'kadence-woocommerce-email-designer' ),
2288
- 'control_type' => 'rangevalue',
2289
- 'section' => 'footer_social',
2290
- 'default' => self::get_default_value( 'footer_social_title_font_weight' ),
2291
- 'live_method' => 'css',
2292
- 'selectors' => array(
2293
- '#template_footer .ft-social-title' => array( 'font-weight' ),
2294
- ),
2295
- 'input_attrs' => array(
2296
- 'step' => 100,
2297
- 'min' => 100,
2298
- 'max' => 900,
2299
- ),
2300
- ),
2301
- // Footer Social Top Padding
2302
- 'footer_social_top_padding' => array(
2303
- 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2304
- 'control_type' => 'rangevalue',
2305
- 'section' => 'footer_social',
2306
- 'default' => self::get_default_value( 'footer_social_top_padding' ),
2307
- 'live_method' => 'css',
2308
- 'selectors' => array(
2309
- '#template_footer #footersocial td' => array( 'padding-top' ),
2310
- ),
2311
- 'input_attrs' => array(
2312
- 'step' => 1,
2313
- 'min' => 0,
2314
- 'max' => 150,
2315
- ),
2316
- ),
2317
- // Footer Social Bottom Padding
2318
- 'footer_social_bottom_padding' => array(
2319
- 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2320
- 'control_type' => 'rangevalue',
2321
- 'section' => 'footer_social',
2322
- 'default' => self::get_default_value( 'footer_social_bottom_padding' ),
2323
- 'live_method' => 'css',
2324
- 'selectors' => array(
2325
- '#template_footer #footersocial td' => array( 'padding-bottom' ),
2326
- ),
2327
- 'input_attrs' => array(
2328
- 'step' => 1,
2329
- 'min' => 0,
2330
- 'max' => 150,
2331
- ),
2332
- ),
2333
- // Footer Social Bottom Border width
2334
- 'footer_social_border_width' => array(
2335
- 'title' => __( 'Footer Social Bottom Border Width', 'kadence-woocommerce-email-designer' ),
2336
- 'control_type' => 'rangevalue',
2337
- 'section' => 'footer_social',
2338
- 'default' => self::get_default_value( 'footer_social_border_width' ),
2339
- 'live_method' => 'css',
2340
- 'selectors' => array(
2341
- '#footersocial' => array( 'border-bottom-width' ),
2342
- ),
2343
- 'input_attrs' => array(
2344
- 'step' => 1,
2345
- 'min' => 0,
2346
- 'max' => 10,
2347
- ),
2348
- ),
2349
- // Footer Social Bottom Bordercolor
2350
- 'footer_social_border_color' => array(
2351
- 'title' => __( 'Footer Social Bottom Border Color', 'kadence-woocommerce-email-designer' ),
2352
- 'section' => 'footer_social',
2353
- 'control_type' => 'color',
2354
- 'default' => self::get_default_value( 'footer_social_border_color' ),
2355
- 'live_method' => 'css',
2356
- 'selectors' => array(
2357
- '#footersocial' => array( 'border-bottom-color' ),
2358
- ),
2359
- ),
2360
- //Footer Social Bottom Border style
2361
- 'footer_social_border_style' => array(
2362
- 'title' => __( 'Footer Social Bottom Border Style', 'kadence-woocommerce-email-designer' ),
2363
- 'section' => 'footer_social',
2364
- 'default' => self::get_default_value( 'footer_social_border_style' ),
2365
- 'live_method' => 'css',
2366
- 'type' => 'select',
2367
- 'choices' => array(
2368
- 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2369
- 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2370
- 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2371
- 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2372
- 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2373
- 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2374
  ),
2375
- 'selectors' => array(
2376
- '#footersocial' => array( 'border-bottom-style' ),
2377
- ),
2378
- ),
2379
- // Footer Text align
2380
- 'footer_text_align' => array(
2381
- 'title' => __( 'Text Align', 'kadence-woocommerce-email-designer' ),
2382
- 'section' => 'footer_content',
2383
- 'default' => self::get_default_value( 'footer_text_align' ),
2384
- 'live_method' => 'css',
2385
- 'type' => 'select',
2386
- 'choices' => self::get_text_aligns(),
2387
- 'selectors' => array(
2388
- '#template_footer #credit' => array( 'text-align' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2389
  ),
2390
- ),
2391
 
2392
- // Footer Font size
2393
- 'footer_font_size' => array(
2394
- 'title' => __( 'Font Size', 'kadence-woocommerce-email-designer' ),
2395
- 'control_type' => 'rangevalue',
2396
- 'section' => 'footer_content',
2397
- 'default' => self::get_default_value( 'footer_font_size' ),
2398
- 'live_method' => 'css',
2399
- 'selectors' => array(
2400
- '#template_footer #credit' => array( 'font-size' ),
2401
- ),
2402
- 'input_attrs' => array(
2403
- 'step' => 1,
2404
- 'min' => 8,
2405
- 'max' => 30,
2406
- ),
2407
- ),
2408
- // Footer Font family
2409
- 'footer_font_family' => array(
2410
- 'title' => __( 'Font Family', 'kadence-woocommerce-email-designer' ),
2411
- 'section' => 'footer_content',
2412
- 'default' => self::get_default_value( 'footer_font_family' ),
2413
- 'live_method' => 'css',
2414
- 'type' => 'select',
2415
- 'choices' => self::get_font_families(),
2416
- 'selectors' => array(
2417
- '#template_footer #credit' => array( 'font-family' ),
 
 
 
 
 
 
 
 
 
2418
  ),
2419
- ),
2420
 
2421
- // Footer Font weight
2422
- 'footer_font_weight' => array(
2423
- 'title' => __( 'Font weight', 'kadence-woocommerce-email-designer' ),
2424
- 'control_type' => 'rangevalue',
2425
- 'section' => 'footer_content',
2426
- 'default' => self::get_default_value( 'footer_font_weight' ),
2427
- 'live_method' => 'css',
2428
- 'selectors' => array(
2429
- '#template_footer #credit' => array( 'font-weight' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2430
  ),
2431
- 'input_attrs' => array(
2432
- 'step' => 100,
2433
- 'min' => 100,
2434
- 'max' => 900,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2435
  ),
2436
- ),
2437
 
2438
- // Footer Color
2439
- 'footer_color' => array(
2440
- 'title' => __( 'Text Color', 'kadence-woocommerce-email-designer' ),
2441
- 'section' => 'footer_content',
2442
- 'control_type' => 'color',
2443
- 'default' => self::get_default_value( 'footer_color' ),
2444
- 'live_method' => 'css',
2445
- 'selectors' => array(
2446
- '#template_footer #credit' => array( 'color' ),
2447
- ),
2448
- ),
2449
- // Footer credit Top Padding
2450
- 'footer_credit_top_padding' => array(
2451
- 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2452
- 'control_type' => 'rangevalue',
2453
- 'section' => 'footer_content',
2454
- 'default' => self::get_default_value( 'footer_credit_top_padding' ),
2455
- 'live_method' => 'css',
2456
- 'selectors' => array(
2457
- '#template_footer #credit' => array( 'padding-top' ),
2458
- ),
2459
- 'input_attrs' => array(
2460
- 'step' => 1,
2461
- 'min' => 0,
2462
- 'max' => 150,
2463
- ),
2464
- ),
2465
- // Footer credit Bottom Padding
2466
- 'footer_credit_bottom_padding' => array(
2467
- 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2468
- 'control_type' => 'rangevalue',
2469
- 'section' => 'footer_content',
2470
- 'default' => self::get_default_value( 'footer_credit_bottom_padding' ),
2471
- 'live_method' => 'css',
2472
- 'selectors' => array(
2473
- '#template_footer #credit' => array( 'padding-bottom' ),
2474
- ),
2475
- 'input_attrs' => array(
2476
- 'step' => 1,
2477
- 'min' => 0,
2478
- 'max' => 150,
2479
- ),
2480
- ),
2481
- // Button Color.
2482
- 'btn_color' => array(
2483
- 'title' => __( 'Button Text Color', 'kadence-woocommerce-email-designer' ),
2484
- 'section' => 'btn_styles',
2485
- 'default' => self::get_default_value( 'btn_color' ),
2486
- 'live_method' => 'css',
2487
- 'selectors' => array(
2488
- 'a.btn' => array( 'color' ),
2489
  ),
2490
- 'control_type' => 'color',
2491
- ),
2492
- // Button Text Size.
2493
- 'btn_size' => array(
2494
- 'title' => __( 'Button Font Size', 'kadence-woocommerce-email-designer' ),
2495
- 'control_type' => 'rangevalue',
2496
- 'section' => 'btn_styles',
2497
- 'default' => self::get_default_value( 'btn_size' ),
2498
- 'live_method' => 'css',
2499
- 'selectors' => array(
2500
- 'a.btn' => array( 'font-size' ),
2501
- ),
2502
- 'input_attrs' => array(
2503
- 'step' => 1,
2504
- 'min' => 8,
2505
- 'max' => 30,
2506
- ),
2507
- ),
2508
- // Button Font Family
2509
- 'btn_font_family' => array(
2510
- 'title' => __( 'Button Font Family', 'kadence-woocommerce-email-designer' ),
2511
- 'section' => 'btn_styles',
2512
- 'default' => self::get_default_value( 'btn_font_family' ),
2513
- 'live_method' => 'css',
2514
- 'type' => 'select',
2515
- 'choices' => self::get_font_families(),
2516
- 'selectors' => array(
2517
- 'a.btn' => array( 'font-family' ),
2518
- ),
2519
- ),
2520
- // Button Font weight.
2521
- 'btn_font_weight' => array(
2522
- 'title' => __( 'Button Font Weight', 'kadence-woocommerce-email-designer' ),
2523
- 'control_type' => 'rangevalue',
2524
- 'section' => 'btn_styles',
2525
- 'default' => self::get_default_value( 'btn_font_weight' ),
2526
- 'live_method' => 'css',
2527
- 'selectors' => array(
2528
- 'a.btn' => array( 'font-weight' ),
2529
- ),
2530
- 'input_attrs' => array(
2531
- 'step' => 100,
2532
- 'min' => 100,
2533
- 'max' => 900,
2534
- ),
2535
- ),
2536
- // Button Background Color.
2537
- 'btn_bg_color' => array(
2538
- 'title' => __( 'Button Background Color', 'kadence-woocommerce-email-designer' ),
2539
- 'section' => 'btn_styles',
2540
- 'default' => self::get_default_value( 'btn_bg_color' ),
2541
- 'live_method' => 'css',
2542
- 'selectors' => array(
2543
- 'a.btn' => array( 'background' ),
2544
  ),
2545
- 'control_type' => 'color',
2546
- ),
2547
- // Button Top and bottom Padding.
2548
- 'btn_top_bottom_padding' => array(
2549
- 'title' => __( 'Top and Bottom Padding', 'kadence-woocommerce-email-designer' ),
2550
- 'control_type' => 'rangevalue',
2551
- 'section' => 'btn_styles',
2552
- 'default' => self::get_default_value( 'btn_top_bottom_padding' ),
2553
- 'live_method' => 'css',
2554
- 'selectors' => array(
2555
- 'a.btn' => array( 'padding-top', 'padding-bottom' ),
2556
- ),
2557
- 'input_attrs' => array(
2558
- 'step' => 1,
2559
- 'min' => 0,
2560
- 'max' => 150,
2561
- ),
2562
- ),
2563
- // Button Left and Right Padding.
2564
- 'btn_left_right_padding' => array(
2565
- 'title' => __( 'Left and Right Padding', 'kadence-woocommerce-email-designer' ),
2566
- 'control_type' => 'rangevalue',
2567
- 'section' => 'btn_styles',
2568
- 'default' => self::get_default_value( 'btn_left_right_padding' ),
2569
- 'live_method' => 'css',
2570
- 'selectors' => array(
2571
- 'a.btn' => array( 'padding-left', 'padding-right' ),
2572
- ),
2573
- 'input_attrs' => array(
2574
- 'step' => 1,
2575
- 'min' => 0,
2576
- 'max' => 150,
2577
- ),
2578
- ),
2579
- // Button Border Width.
2580
- 'btn_border_width' => array(
2581
- 'title' => __( 'Button Border Width', 'kadence-woocommerce-email-designer' ),
2582
- 'control_type' => 'rangevalue',
2583
- 'section' => 'btn_styles',
2584
- 'default' => self::get_default_value( 'btn_border_width' ),
2585
- 'live_method' => 'css',
2586
- 'selectors' => array(
2587
- 'a.btn' => array( 'border-width' ),
2588
- ),
2589
- 'input_attrs' => array(
2590
- 'step' => 1,
2591
- 'min' => 0,
2592
- 'max' => 10,
2593
- ),
2594
- ),
2595
- // Border radius
2596
- 'btn_border_radius' => array(
2597
- 'title' => __( 'Border radius', 'kadence-woocommerce-email-designer' ),
2598
- 'control_type' => 'rangevalue',
2599
- 'section' => 'container',
2600
- 'default' => self::get_default_value( 'btn_border_radius' ),
2601
- 'live_method' => 'css',
2602
- 'description' => __( 'Warning: most desktop email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
2603
- 'selectors' => array(
2604
- 'a.btn' => array( 'border-radius' ),
2605
- ),
2606
- 'input_attrs' => array(
2607
- 'step' => 1,
2608
- 'min' => 0,
2609
- 'max' => 100,
2610
- ),
2611
- ),
2612
- // Button Bordercolor
2613
- 'btn_border_color' => array(
2614
- 'title' => __( 'Button Border Color', 'kadence-woocommerce-email-designer' ),
2615
- 'section' => 'btn_styles',
2616
- 'control_type' => 'color',
2617
- 'default' => self::get_default_value( 'btn_border_color' ),
2618
- 'live_method' => 'css',
2619
- 'selectors' => array(
2620
- 'a.btn' => array( 'border-color' ),
2621
- ),
2622
- ),
2623
- // Button Text align
2624
- 'btn_text_align' => array(
2625
- 'title' => __( 'Button Align', 'kadence-woocommerce-email-designer' ),
2626
- 'section' => 'btn_styles',
2627
- 'default' => self::get_default_value( 'btn_text_align' ),
2628
- 'live_method' => 'css',
2629
- 'type' => 'select',
2630
- 'choices' => self::get_text_aligns(),
2631
- 'selectors' => array(
2632
- '#body_content_inner .btn-container' => array( 'text-align' ),
2633
- ),
2634
- ),
2635
- 'custom_css' => array(
2636
- 'title' => __( 'Custom CSS', 'kadence-woocommerce-email-designer' ),
2637
- 'section' => 'custom_styles',
2638
- 'default' => '',
2639
- 'type' => 'textarea',
2640
- 'live_method' => 'replace',
2641
- 'original' => '',
2642
- 'selectors' => array(
2643
- 'style#kadence_woomail_designer_custom_css'
2644
- ),
2645
- ),
2646
- 'import_export' => array(
2647
- 'title' => __( 'Import Export', 'kadence-woocommerce-email-designer' ),
2648
- 'section' => 'import_export',
2649
- 'default' => '',
2650
- 'control_type' => 'kwdimportexport',
2651
- ),
2652
- 'email_recipient' => array(
2653
- 'title' => __( 'Preview Email Recipient', 'kadence-woocommerce-email-designer' ),
2654
- 'description' => __( 'Enter recipients (comma separated) for preview emails', 'kadence-woocommerce-email-designer' ),
2655
- 'section' => 'send_email',
2656
- 'default' => self::get_default_value( 'email_recipient' ),
2657
- 'control_type' => 'kwdsendemail',
2658
- ),
2659
- );
2660
- $mainoptions = array_merge($mainoptions, $main);
2661
- self::$settings = array_merge($extra_email_text, $mainoptions);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2662
 
2663
  }
2664
 
@@ -2675,117 +2731,111 @@ if ( ! class_exists( 'Kadence_Woomail_Settings' ) ) {
2675
  // Define default values
2676
  if ( is_null( self::$default_values ) ) {
2677
  $default_values = array(
2678
- 'preview_order_id' => 'mockup',
2679
- 'email_type' => 'new_order',
2680
- 'email_templates' => 'default',
2681
-
2682
- 'body_background_color' => '#fdfdfd',
2683
- 'border_radius' => '3',
2684
- 'border_width' => '1',
2685
- 'border_color' => '#dedede',
2686
- 'responsive_mode' => false,
2687
- 'shadow' => '1',
2688
- 'content_width' => '600',
2689
- 'email_padding' => '70',
2690
- 'background_color' => '#ffffff',
2691
-
2692
- 'header_image_maxwidth' => '300',
2693
- 'header_image_align' => 'center',
2694
- 'header_image_background_color' => 'transparent',
2695
- 'header_image_padding_top_bottom' => '0',
2696
- 'header_image_placement' => 'outside',
2697
-
2698
- 'woocommerce_waitlist_mailout_body' => __( 'Hi There,', 'kadence-woocommerce-email-designer' ),
2699
- 'woocommerce_waitlist_mailout_heading' => __( '{product_title} is now back in stock at {site_title}', 'kadence-woocommerce-email-designer' ),
2700
- 'woocommerce_waitlist_mailout_subject' => __( 'A product you are waiting for is back in stock', 'kadence-woocommerce-email-designer' ),
2701
- // Subscription Email Text Defaults
2702
- 'new_renewal_order_heading' => __( 'New customer order', 'kadence-woocommerce-email-designer' ),
2703
- 'new_renewal_order_subject' => __( '[{site_title}] New customer order ({order_number}) - {order_date}', 'kadence-woocommerce-email-designer' ),
2704
- 'new_renewal_order_body' => __( 'You have received a subscription renewal order from {customer_full_name}. Their order is as follows:', 'kadence-woocommerce-email-designer' ),
2705
- 'customer_processing_renewal_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2706
- 'customer_processing_renewal_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2707
- 'customer_processing_renewal_order_body' => __( 'Your subscription renewal order has been received and is now being processed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2708
- 'customer_completed_renewal_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2709
- 'customer_completed_renewal_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2710
- 'customer_completed_renewal_order_body' => __( 'Hi there. Your subscription renewal order with {site_title} has been completed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2711
- 'customer_completed_switch_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2712
- 'customer_completed_switch_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2713
- 'customer_completed_switch_order_body' => __( 'Hi there. You have successfully changed your subscription items on {site_title}. Your new order and subscription details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2714
-
2715
- 'customer_renewal_invoice_heading' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2716
- 'customer_renewal_invoice_subject' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2717
- 'customer_renewal_invoice_body' => __( 'An invoice has been created for you to renew your subscription with {site_title}. To pay for this invoice please use the following link: {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2718
- 'customer_renewal_invoice_btn_switch' => false,
2719
- 'customer_renewal_invoice_body_failed' => __( 'The automatic payment to renew your subscription with {site_title} has failed. To reactivate the subscription, please login and pay for the renewal from your account page: {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2720
-
2721
-
2722
- 'cancelled_subscription_heading' => __( 'Subscription Cancelled', 'kadence-woocommerce-email-designer' ),
2723
- 'cancelled_subscription_subject' => __( '[{site_title}] Subscription Cancelled', 'kadence-woocommerce-email-designer' ),
2724
- 'cancelled_subscription_body' => __( 'A subscription belonging to {customer_full_name} has been cancelled. Their subscription\'s details are as follows:', 'kadence-woocommerce-email-designer' ),
2725
-
2726
-
2727
- 'customer_payment_retry_heading' => __( 'Automatic payment failed for order {order_number}', 'kadence-woocommerce-email-designer' ),
2728
- 'customer_payment_retry_subject' => __( 'Automatic payment failed for {order_number}, we will retry {retry_time}', 'kadence-woocommerce-email-designer' ),
2729
- // Email Text Defaults
2730
- 'new_order_heading' => __( 'New customer order', 'kadence-woocommerce-email-designer' ),
2731
- 'cancelled_order_heading' => __( 'Cancelled order', 'kadence-woocommerce-email-designer' ),
2732
- 'customer_processing_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2733
- 'customer_completed_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2734
- 'customer_refunded_order_heading_full' => __( 'Order {order_number} details', 'kadence-woocommerce-email-designer' ),
2735
- 'customer_refunded_order_heading_partial' => __( 'Your order has been partially refunded', 'kadence-woocommerce-email-designer' ),
2736
-
2737
- 'customer_on_hold_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2738
- 'customer_invoice_heading' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2739
- 'customer_invoice_heading_paid' => __( 'Your order details', 'kadence-woocommerce-email-designer' ),
2740
- 'failed_order_heading' => __( 'Failed order', 'kadence-woocommerce-email-designer' ),
2741
- 'customer_new_account_heading' => __( 'Welcome to {site_title}', 'kadence-woocommerce-email-designer' ),
2742
- 'customer_note_heading' => __( 'A note has been added to your order', 'kadence-woocommerce-email-designer' ),
2743
- 'customer_reset_password_heading' => __( 'Password reset instructions', 'kadence-woocommerce-email-designer' ),
2744
- 'customer_reset_password_btn_switch' => false,
2745
-
2746
- 'new_order_subject' => __( '[{site_title}] New customer order ({order_number}) - {order_date}', 'kadence-woocommerce-email-designer' ),
2747
- 'cancelled_order_subject' => __( '[{site_title}] Cancelled order ({order_number})', 'kadence-woocommerce-email-designer' ),
2748
- 'customer_processing_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2749
- 'customer_completed_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2750
-
2751
- 'customer_refunded_order_subject_full' => __( 'Your {site_title} order from {order_date} has been refunded', 'kadence-woocommerce-email-designer' ),
2752
- 'customer_refunded_order_subject_partial' => __( 'Your {site_title} order from {order_date} has been partially refunded', 'kadence-woocommerce-email-designer' ),
2753
-
2754
- 'customer_on_hold_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2755
-
2756
- 'customer_invoice_subject' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2757
- 'customer_invoice_subject_paid' => __( 'Your {site_title} order from {order_date}', 'kadence-woocommerce-email-designer' ),
2758
-
2759
- 'failed_order_subject' => __( '[{site_title}] Failed order ({order_number})', 'kadence-woocommerce-email-designer' ),
2760
- 'customer_new_account_subject' => __( 'Your account on {site_title}', 'kadence-woocommerce-email-designer' ),
2761
- 'customer_note_subject' => __( 'Note added to your {site_title} order from {order_date}', 'kadence-woocommerce-email-designer' ),
2762
- 'customer_reset_password_subject' => __( 'Password reset for {site_title}', 'kadence-woocommerce-email-designer' ),
2763
-
2764
- 'new_order_body' => __( 'You have received an order from {customer_full_name}. The order is as follows:', 'kadence-woocommerce-email-designer' ),
2765
- 'cancelled_order_body' => __( 'The order {order_number} from {customer_full_name} has been cancelled. The order was as follows:', 'kadence-woocommerce-email-designer' ),
2766
- 'customer_processing_order_body' => __( 'Your order has been received and is now being processed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2767
- 'customer_completed_order_body' => __( 'Hi there. Your recent order on {site_title} has been completed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2768
- 'customer_refunded_order_switch' => true,
2769
- 'customer_refunded_order_body_full' => __( 'Hi there. Your order on {site_title} has been refunded.', 'kadence-woocommerce-email-designer' ),
2770
- 'customer_refunded_order_body_partial' => __( 'Hi there. Your order on {site_title} has been partially refunded.', 'kadence-woocommerce-email-designer' ),
2771
-
2772
- 'customer_on_hold_order_body' => __( 'Your order is on-hold until we confirm payment has been received. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2773
- 'customer_invoice_switch' => true,
2774
- 'customer_invoice_btn_switch' => false,
2775
- 'customer_invoice_body' => __( 'An order has been created for you on {site_title}. {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2776
- 'customer_invoice_body_paid' => '',
2777
- 'failed_order_body' => __( 'Payment for order {order_number} from {customer_full_name} has failed. The order was as follows:', 'kadence-woocommerce-email-designer' ),
2778
-
2779
- 'customer_new_account_btn_switch' => false,
2780
- 'customer_new_account_body' => __( 'Thanks for creating an account on {site_title}. Your username is {customer_username}', 'kadence-woocommerce-email-designer' ),
2781
- 'customer_note_body' => __( 'Hello, a note has just been added to your order:', 'kadence-woocommerce-email-designer' ),
2782
- 'customer_reset_password_body' => __( 'Someone requested that the password be reset for the following account:
2783
 
2784
  Username: {customer_username}
2785
 
2786
  If this was a mistake, just ignore this email and nothing will happen.
2787
 
2788
- To reset your password, visit the following address:', 'kadence-woocommerce-email-designer' ),
 
 
2789
  'WC_Memberships_User_Membership_Ended_Email_heading' => __( 'Renew your {membership_plan}', 'kadence-woocommerce-email-designer' ),
2790
  'WC_Memberships_User_Membership_Ended_Email_subject' => __( 'Your {site_title} membership has expired', 'kadence-woocommerce-email-designer' ),
2791
  'WC_Memberships_User_Membership_Activated_Email_heading' => __( 'You can now access {membership_plan}', 'kadence-woocommerce-email-designer' ),
@@ -2796,127 +2846,121 @@ To reset your password, visit the following address:', 'kadence-woocommerce-emai
2796
  'WC_Memberships_User_Membership_Note_Email_subject' => __( 'Note added to your {site_title} membership', 'kadence-woocommerce-email-designer' ),
2797
  'WC_Memberships_User_Membership_Renewal_Reminder_Email_heading' => __( 'You can renew your {membership_plan}', 'kadence-woocommerce-email-designer' ),
2798
  'WC_Memberships_User_Membership_Renewal_Reminder_Email_subject' => __( 'Renew your {site_title} membership!', 'kadence-woocommerce-email-designer' ),
2799
- 'customer_delivered_order_heading' => __( 'Thanks for shopping with us', 'kadence-woocommerce-email-designer' ),
2800
- 'customer_delivered_order_subject' => __( 'Your {site_title} order is now delivered', 'kadence-woocommerce-email-designer' ),
2801
- 'customer_delivered_order_body' => __( 'Hi {customer_full_name}
2802
- Your {site_title} order has been marked delivered on our side.', 'kadence-woocommerce-email-designer' ),
2803
-
2804
- 'header_background_color' => get_option( 'woocommerce_email_base_color' ),
2805
- 'header_text_align' => 'left',
2806
- 'header_padding_top_bottom' => '36',
2807
- 'header_padding_left_right' => '48',
2808
-
2809
- 'heading_font_size' => '30',
2810
- 'heading_line_height' => '40',
2811
- 'heading_font_family' => 'helvetica',
2812
- 'heading_font_style' => 'normal',
2813
- 'heading_color' => '#ffffff',
2814
- 'heading_font_weight' => '300',
2815
-
2816
- 'subtitle_placement' => 'below',
2817
- 'subtitle_font_size' => '18',
2818
- 'subtitle_line_height' => '24',
2819
- 'subtitle_font_family' => 'helvetica',
2820
- 'subtitle_font_style' => 'normal',
2821
- 'subtitle_color' => '#ffffff',
2822
- 'subtitle_font_weight' => '300',
2823
-
2824
- 'content_padding' => '48',
2825
- 'content_padding_bottom' => '0',
2826
-
2827
- 'text_color' => '#737373',
2828
- 'font_family' => 'helvetica',
2829
- 'font_size' => '14',
2830
- 'line_height' => '24',
2831
- 'font_weight' => '400',
2832
- 'link_color' => get_option( 'woocommerce_email_base_color' ),
2833
-
2834
- 'h2_font_size' => '18',
2835
- 'h2_line_height' => '26',
2836
- 'h2_font_family' => 'helvetica',
2837
- 'h3_font_style' => 'normal',
2838
- 'h2_color' => get_option( 'woocommerce_email_base_color' ),
2839
- 'h2_font_weight' => '700',
2840
- 'h2_margin_bottom' => '18',
2841
- 'h2_padding_top' => '0',
2842
- 'h2_margin_top' => '0',
2843
- 'h2_padding_bottom' => '0',
2844
- 'h2_text_transform' => 'none',
2845
-
2846
- 'h2_separator_color' => get_option( 'woocommerce_email_base_color' ),
2847
- 'h2_separator_height' => '1',
2848
- 'h2_separator_style' => 'solid',
2849
-
2850
- 'h3_font_size' => '16',
2851
- 'h3_line_height' => '20',
2852
- 'h3_font_family' => 'helvetica',
2853
- 'h3_font_style' => 'normal',
2854
- 'h3_color' => '#787878',
2855
- 'h3_font_weight' => '500',
2856
-
2857
- 'btn_border_width' => '0',
2858
- 'btn_border_radius' => '4',
2859
- 'btn_border_color' => '#dedede',
2860
- 'btn_font_family' => 'helvetica',
2861
- 'btn_color' => '#ffffff',
2862
- 'btn_font_weight' => '600',
2863
- 'btn_left_right_padding' => '8',
2864
- 'btn_top_bottom_padding' => '10',
2865
- 'btn_size' => '16',
2866
-
2867
- 'order_items_style' => 'normal',
2868
- 'order_items_image' => 'normal',
2869
- 'items_table_border_width' => '1',
2870
- 'items_table_border_color' => '#e4e4e4',
2871
- 'items_table_border_style' => 'solid',
2872
- 'items_table_background_color' => '',
2873
- 'items_table_background_odd_color' => '',
2874
- 'items_table_padding' => '12',
2875
- 'order_heading_style' => 'normal',
2876
- 'notes_outside_table' => false,
2877
-
2878
- 'addresses_padding' => '12',
2879
- 'addresses_border_width' => '1',
2880
- 'addresses_border_color' => '#e5e5e5',
2881
- 'addresses_border_style' => 'solid',
2882
- 'addresses_background_color' => '',
2883
- 'addresses_text_color' => '#8f8f8f',
2884
- 'addresses_text_align' => 'left',
2885
-
2886
- 'footer_background_placement' => 'inside',
2887
- 'footer_background_color' => '',
2888
-
2889
- 'footer_top_padding' => '0',
2890
- 'footer_bottom_padding' => '48',
2891
- 'footer_left_right_padding' => '48',
2892
- 'footer_social_enable' => true,
2893
- 'footer_social_title_color' => '#000000',
2894
- 'footer_social_title_font_family' => 'helvetica',
2895
- 'footer_social_title_font_size' => '18',
2896
- 'footer_social_title_font_weight' => '400',
2897
- 'footer_social_top_padding' => '0',
2898
- 'footer_social_bottom_padding' => '0',
2899
- 'footer_social_border_width' => '0',
2900
- 'footer_social_border_color' => '#dddddd',
2901
- 'footer_social_border_style' => 'solid',
2902
-
2903
- 'footer_text_align' => 'center',
2904
- 'footer_font_size' => '12',
2905
- 'footer_font_family' => 'helvetica',
2906
- 'footer_color' => '#555555',
2907
- 'footer_font_weight' => '400',
2908
- 'footer_credit_bottom_padding' => '0',
2909
- 'footer_credit_top_padding' => '0',
2910
-
2911
- 'items_table_border_width' => '1',
2912
- 'items_table_border_color' => '#e4e4e4',
2913
- 'footer_content_text' => get_option( 'woocommerce_email_footer_text', '' ),
2914
- 'email_recipient' => get_option( 'admin_email' ),
2915
  );
2916
  self::$default_values = apply_filters( 'kadence_woomail_email_settings_default_values', $default_values );
2917
  }
2918
 
2919
- // Return default values
2920
  return self::$default_values;
2921
  }
2922
 
@@ -2924,7 +2968,7 @@ To reset your password, visit the following address:', 'kadence-woocommerce-emai
2924
  * Get default values
2925
  *
2926
  * @access public
2927
- * @param string $key
2928
  * @return string
2929
  */
2930
  public static function get_default_value( $key ) {
@@ -3039,6 +3083,9 @@ To reset your password, visit the following address:', 'kadence-woocommerce-emai
3039
  if ( class_exists( 'WCMp' ) ) {
3040
  $types = array_merge( $types, self::$marketplace_email_types_mapping );
3041
  }
 
 
 
3042
  if ( class_exists( 'WooCommerce_Waitlist_Plugin' ) ) {
3043
  $types = array_merge( $types, self::$waitlist_email_types_mapping );
3044
  }
54
  private static $woo_settings = null;
55
 
56
  /**
57
+ * The default values for customizer.
58
  *
59
  * @var null
60
  */
75
  private static $email_types = null;
76
 
77
  /**
78
+ * The available text edit email types.
79
  *
80
  * @var null
81
  */
82
  private static $customized_email_types = null;
83
 
84
  /**
85
+ * The available font options.
86
  *
87
  * @var array
88
  */
123
  */
124
  public static $subscription_email_types_mapping = array(
125
  'new_renewal_order' => 'New Renewal Order',
126
+ 'customer_processing_renewal_order' => 'Customer Processing Renewal Order',
127
  'customer_completed_renewal_order' => 'Customer Completed Renewal Order',
128
  'customer_completed_switch_order' => 'Customer Completed Switch Order',
129
  'customer_renewal_invoice' => 'Customer Renewal Invoice',
130
  'cancelled_subscription' => 'Cancelled Subscription',
131
+ 'customer_payment_retry' => 'Customer Payment Retry',
132
  );
133
 
134
  /**
163
  'vendor_orders_stats_report' => 'Vendor orders stats report',
164
  'vendor_contact_widget_email' => 'Vendor Contact Email',
165
  );
166
+ /**
167
+ * WC German Email Types
168
+ *
169
+ * @var array
170
+ */
171
+ public static $german_email_types_mapping = array(
172
+ 'customer_ekomi' => 'eKomi Review Reminder',
173
+ 'customer_new_account_activation' => 'New account activation',
174
+ 'customer_paid_for_order' => 'Paid for order',
175
+ 'customer_revocation' => 'Revocation',
176
+ 'customer_trusted_shops' => 'Trusted Shops Review Reminder',
177
+ );
178
  /**
179
  * Subscriptio Email Types
180
  *
181
  * @var array
182
  *
183
  public static $subscriptio_email_types_mapping = array(
184
+ 'customer_subscription_new_order' => 'Subscription new order',
185
  'customer_subscription_processing_order' => 'Subscription processing order',
186
  'customer_subscription_completed_order' => 'Subscription completed order',
187
  'customer_subscription_paused' => 'Subscription paused',
188
  'customer_subscription_resumed' => 'Subscription resumed',
189
  'customer_subscription_suspended' => 'Subscription suspended',
190
+ 'customer_subscription_payment_overdue' => 'Subscription payment overdue',
191
  'customer_subscription_payment_reminder' => 'Subscription payment reminder',
192
  'customer_subscription_expired' => 'Subscription expired',
193
  'customer_subscription_cancelled' => 'Subscription cancelled',
194
  );
195
+ */
196
 
197
  /**
198
  * Woocommerce Waitlist Email Types
387
  $base_options = array();
388
 
389
  // Email header image.
390
+ $base_options['woocommerce_email_header_image'] = array(
391
+ 'title' => __( 'Header Image', 'kadence-woocommerce-email-designer' ),
392
+ 'control_type' => 'image',
393
+ 'section' => 'header_image',
394
+ 'default' => self::get_default_value( 'header_image' ),
395
+ 'original' => '',
396
+ 'priority' => 5,
397
+ 'transport' => 'refresh',
398
+ 'selectors' => array(
399
+ '#template_header_image img',
400
  ),
401
  );
402
+ // Email background color.
403
  $base_options['woocommerce_email_background_color'] = array(
404
+ 'title' => __( 'Container Background color', 'kadence-woocommerce-email-designer' ),
405
+ 'section' => 'container',
406
+ 'control_type' => 'color',
407
+ 'priority' => 5,
408
+ 'default' => self::get_default_value( 'body_background_color' ),
409
+ 'live_method' => 'css',
410
+ 'selectors' => array(
411
+ 'body' => array( 'background-color' ),
412
+ '#wrapper' => array( 'background-color' ),
413
  ),
414
  );
415
+ // Email text color.
416
  $base_options['woocommerce_email_text_color'] = array(
417
+ 'title' => __( 'Content Text color', 'kadence-woocommerce-email-designer' ),
418
+ 'section' => 'text_style',
419
+ 'control_type' => 'color',
420
+ 'default' => self::get_default_value( 'text_color' ),
421
+ 'live_method' => 'css',
422
+ 'selectors' => array(
423
+ '#body_content_inner' => array( 'color' ),
424
+ '.td' => array( 'color' ),
425
+ '.text' => array( 'color' ),
426
+ 'address' => array( 'color' ),
427
  ),
428
  );
429
+ // Email body background color.
430
  $base_options['woocommerce_email_body_background_color'] = array(
431
  'title' => __( 'Content Background color', 'kadence-woocommerce-email-designer' ),
432
  'section' => 'content_container',
437
  'selectors' => array(
438
  '#body_content' => array( 'background-color' ),
439
  '#template_container' => array( 'background-color' ),
440
+ 'h2 .separator-bubble' => array( 'background-color' ),
441
  ),
442
  );
443
+ // Footer Content Footer text.
444
  $base_options['woocommerce_email_footer_text'] = array(
445
+ 'title' => __( 'Footer text', 'kadence-woocommerce-email-designer' ),
446
+ 'type' => 'textarea',
447
+ 'section' => 'footer_content',
448
+ 'default' => self::get_default_value( 'footer_content_text' ),
449
+ 'original' => '',
450
+ 'live_method' => 'replace',
451
+ 'selectors' => array(
452
+ '#template_footer #credit',
453
  ),
454
  );
455
  $email_text = array();
456
  foreach ( self::get_email_types() as $key => $value ) {
457
+ // Email recipients Text.
458
  if ( 'cancelled_order' == $key || 'new_order' == $key || 'failed_order' == $key ) {
459
+ $email_text[ 'woocommerce_' . $key . '_settings[recipient]' ] = array(
460
  'title' => __( 'Recipient(s)', 'kadence-woocommerce-email-designer' ),
461
  'type' => 'text',
462
  'section' => 'mtype',
464
  'default' => '',
465
  'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to %s.', 'kadence-woocommerce-email-designer' ), '<code>' . esc_attr( get_option( 'admin_email' ) ) . '</code>' ),
466
  'active_callback' => array(
467
+ 'id' => 'email_type',
468
  'compare' => '==',
469
+ 'value' => $key,
470
  ),
471
  );
472
  }
473
  if ( 'customer_refunded_order' == $key ) {
474
+ // Email Subject.
475
+ $email_text[ 'woocommerce_' . $key . '_settings[subject_full]' ] = array(
476
  'title' => __( 'Full refund subject', 'kadence-woocommerce-email-designer' ),
477
  'type' => 'text',
478
  'section' => 'mtype',
479
  'priority' => 5,
480
  'default' => '',
481
  'input_attrs' => array(
482
+ 'placeholder' => self::get_default_value( $key . '_subject_full' ),
483
  ),
484
  'active_callback' => array(
485
+ 'id' => 'email_type',
486
  'compare' => '==',
487
+ 'value' => $key,
488
  ),
489
  );
490
+ // Email Subject.
491
+ $email_text[ 'woocommerce_' . $key . '_settings[subject_partial]' ] = array(
492
  'title' => __( 'Partial refund subject', 'kadence-woocommerce-email-designer' ),
493
  'type' => 'text',
494
  'section' => 'mtype',
495
  'priority' => 5,
496
  'default' => '',
497
  'input_attrs' => array(
498
+ 'placeholder' => self::get_default_value( $key . '_subject_partial' ),
499
  ),
500
  'active_callback' => array(
501
+ 'id' => 'email_type',
502
  'compare' => '==',
503
+ 'value' => $key,
504
  ),
505
  );
506
+ // Email Header Text.
507
+ $email_text[ 'woocommerce_' . $key . '_settings[heading_full]' ] = array(
508
+ 'title' => __( 'Full refund Heading Text', 'kadence-woocommerce-email-designer' ),
509
+ 'type' => 'text',
510
+ 'section' => 'mtype',
511
+ 'priority' => 5,
512
+ 'default' => '',
513
+ 'input_attrs' => array(
514
+ 'placeholder' => self::get_default_value( $key . '_heading_full' ),
515
  ),
516
  'live_method' => 'replace',
517
  'selectors' => array(
518
+ '#header_wrapper h1',
519
  ),
520
  'active_callback' => array(
521
+ 'id' => 'email_type',
522
  'compare' => '==',
523
+ 'value' => $key,
524
  ),
525
  );
526
+ // Email Header Text.
527
+ $email_text[ 'woocommerce_' . $key . '_settings[heading_partial]' ] = array(
528
+ 'title' => __( 'Partial refund Heading Text', 'kadence-woocommerce-email-designer' ),
529
+ 'type' => 'text',
530
+ 'section' => 'mtype',
531
+ 'priority' => 5,
532
+ 'default' => '',
533
+ 'input_attrs' => array(
534
+ 'placeholder' => self::get_default_value( $key . '_heading_partial' ),
535
  ),
536
  'active_callback' => array(
537
+ 'id' => 'email_type',
538
  'compare' => '==',
539
+ 'value' => $key,
540
  ),
541
  );
542
  } else {
543
  // Email Subject.
544
+ $email_text[ 'woocommerce_' . $key . '_settings[subject]' ] = array(
545
+ 'title' => __( 'Subject Text', 'kadence-woocommerce-email-designer' ),
546
+ 'type' => 'text',
547
+ 'section' => 'mtype',
548
+ 'priority' => 5,
549
+ 'default' => '',
550
+ 'input_attrs' => array(
551
  'placeholder' => self::get_default_value( $key . '_subject' ),
552
  ),
553
  'active_callback' => array(
554
+ 'id' => 'email_type',
555
  'compare' => '==',
556
+ 'value' => $key,
557
  ),
558
  );
559
  if ( 'customer_invoice' == $key ) {
560
+ $email_text[ 'woocommerce_' . $key . '_settings[subject_paid]' ] = array(
561
  'title' => __( 'Subject (paid) Text', 'kadence-woocommerce-email-designer' ),
562
  'type' => 'text',
563
  'section' => 'mtype',
564
  'priority' => 5,
565
  'default' => '',
566
  'input_attrs' => array(
567
+ 'placeholder' => self::get_default_value( $key . '_subject_paid' ),
568
  ),
569
  'active_callback' => array(
570
  'id' => 'email_type',
574
  );
575
  }
576
  // Email Header Text.
577
+ $email_text[ 'woocommerce_' . $key . '_settings[heading]' ] = array(
578
  'title' => __( 'Heading Text', 'kadence-woocommerce-email-designer' ),
579
  'type' => 'text',
580
  'section' => 'mtype',
586
  'live_method' => 'replace',
587
  'selectors' => array( '#header_wrapper h1' ),
588
  'active_callback' => array(
589
+ 'id' => 'email_type',
590
  'compare' => '==',
591
+ 'value' => $key,
592
  ),
593
  );
594
  if ( 'customer_invoice' == $key ) {
595
+ $email_text[ 'woocommerce_' . $key . '_settings[heading_paid]' ] = array(
596
  'title' => __( 'Heading (paid) Text', 'kadence-woocommerce-email-designer' ),
597
  'type' => 'text',
598
  'section' => 'mtype',
599
  'priority' => 5,
600
  'default' => '',
601
  'input_attrs' => array(
602
+ 'placeholder' => self::get_default_value( $key . '_heading_paid' ),
603
  ),
604
  'active_callback' => array(
605
  'id' => 'email_type',
609
  );
610
  }
611
  if ( version_compare( WC_VERSION, '3.7', '>' ) ) {
612
+ $email_text[ 'woocommerce_' . $key . '_settings[additional_content]' ] = array(
613
  'title' => __( 'Additional content', 'kadence-woocommerce-email-designer' ),
614
  'type' => 'textarea',
615
  'section' => 'mtype',
618
  'input_attrs' => array(
619
  'placeholder' => self::get_default_value( $key . '_additional_content' ),
620
  ),
621
+ 'transport' => 'refresh',
622
  'active_callback' => array(
623
  'id' => 'email_type',
624
  'compare' => '==',
644
  if ( is_null( self::$settings ) ) {
645
  // Main Base options.
646
  $mainoptions = array(
647
+ // Email template
648
  'email_load_template' => array(
649
  'title' => __( 'Template_load', 'kadence-woocommerce-email-designer' ),
650
  'section' => 'template',
651
  'control_type' => 'kwdtemplateload',
652
  'choices' => self::get_email_templates(),
653
  'default' => 'kt_full',
654
+ 'transport' => 'refresh',
655
  ),
656
  // Preview Order Id.
657
  'preview_order_id' => array(
658
  'title' => __( 'Preview Order', 'kadence-woocommerce-email-designer' ),
659
  'section' => 'mtype',
660
  'type' => 'select',
661
+ 'priority' => 1,
662
  'choices' => self::get_order_ids(),
663
  'default' => self::get_default_value( 'preview_order_id' ),
664
+ 'transport' => 'refresh',
665
  ),
666
  // Email Type.
667
  'email_type' => array(
668
  'title' => __( 'Email Type', 'kadence-woocommerce-email-designer' ),
669
  'section' => 'mtype',
670
  'type' => 'select',
671
+ 'priority' => 2,
672
  'choices' => self::get_email_types(),
673
  'default' => self::get_default_value( 'email_type' ),
674
+ 'transport' => 'refresh',
675
  ),
676
  // Placeholder Info.
677
  'email_text_info' => array(
678
  'title' => __( 'Available placeholders', 'kadence-woocommerce-email-designer' ),
679
  'section' => 'mtype',
680
  'control_type' => 'kwdinfoblock',
681
+ 'priority' => 50,
682
  'description' => '<code>{site_title}, {order_date}, {order_number}, {customer_first_name}, {customer_last_name}, {customer_full_name}, {customer_username}</code>',
683
  ),
684
  );
687
  // Get the Extra Text area settings.
688
  foreach ( self::get_customized_email_types() as $key => $value ) {
689
  // Email Subtitle Text
690
+ $extra_email_text[ $key . '_subtitle' ] = array(
691
  'title' => __( 'Subtitle Text', 'kadence-woocommerce-email-designer' ),
692
  'type' => 'text',
693
  'section' => 'mtype',
695
  'original' => '',
696
  'live_method' => 'replace',
697
  'selectors' => array(
698
+ '#header_wrapper .subtitle',
699
  ),
700
  'active_callback' => array(
701
  'id' => 'email_type',
704
  ),
705
  );
706
  if ( 'customer_new_account' == $key ) {
707
+ $extra_email_text[ $key . '_account_section' ] = array(
708
+ 'title' => __( 'Show account section', 'kadence-woocommerce-email-designer' ),
709
+ 'control_type' => 'toggleswitch',
710
+ 'section' => 'mtype',
711
+ 'transport' => 'refresh',
712
+ 'default' => self::get_default_value( $key . '_account_section' ),
713
+ 'original' => '',
714
+ 'priority' => 3,
715
+ 'active_callback' => array(
716
+ 'id' => 'email_type',
717
+ 'compare' => '==',
718
+ 'value' => $key,
719
+ ),
720
+ );
721
  $extra_email_text[ $key . '_btn_switch' ] = array(
722
  'title' => __( 'Switch account link to button', 'kadence-woocommerce-email-designer' ),
723
  'control_type' => 'toggleswitch',
724
  'section' => 'mtype',
725
+ 'transport' => 'refresh',
726
+ 'default' => self::get_default_value( $key . '_btn_switch' ),
727
  'original' => '',
728
+ 'priority' => 3,
729
  'active_callback' => array(
730
+ 'id' => 'email_type',
731
  'compare' => '==',
732
+ 'value' => $key,
733
  ),
734
  );
735
  }
736
  if ( 'customer_refunded_order' == $key ) {
737
  // Email preview switch
738
+ $extra_email_text[ $key . '_switch' ] = array(
739
  'title' => __( 'Switch off for Partial Refund Preview', 'kadence-woocommerce-email-designer' ),
740
  'control_type' => 'toggleswitch',
741
  'section' => 'mtype',
742
+ 'transport' => 'refresh',
743
+ 'default' => self::get_default_value( $key . '_switch' ),
744
  'original' => '',
745
+ 'priority' => 3,
746
  'active_callback' => array(
747
+ 'id' => 'email_type',
748
  'compare' => '==',
749
+ 'value' => $key,
750
  ),
751
  );
752
  // Email Body Text
753
+ $extra_email_text[ $key . '_body_full' ] = array(
754
  'title' => __( 'Body Full Refund Text', 'kadence-woocommerce-email-designer' ),
755
  'type' => 'textarea',
756
  'section' => 'mtype',
757
+ 'default' => self::get_default_value( $key . '_body_full' ),
758
  'original' => '',
759
+ 'transport' => 'refresh',
760
  'active_callback' => array(
761
+ 'id' => 'email_type',
762
  'compare' => '==',
763
+ 'value' => $key,
764
  ),
765
  );
766
  // Email Body Text
767
+ $extra_email_text[ $key . '_body_partial' ] = array(
768
  'title' => __( 'Body Partial Refund Text', 'kadence-woocommerce-email-designer' ),
769
  'type' => 'textarea',
770
  'section' => 'mtype',
771
+ 'default' => self::get_default_value( $key . '_body_partial' ),
772
  'original' => '',
773
+ 'transport' => 'refresh',
774
  'active_callback' => array(
775
+ 'id' => 'email_type',
776
  'compare' => '==',
777
+ 'value' => $key,
778
  ),
779
  );
780
  } else if ( 'customer_invoice' == $key ) {
781
  // Email preview switch
782
+ $extra_email_text[ $key . '_switch' ] = array(
783
  'title' => __( 'Switch off for unpaid preview', 'kadence-woocommerce-email-designer' ),
784
  'control_type' => 'toggleswitch',
785
  'section' => 'mtype',
786
+ 'transport' => 'refresh',
787
+ 'default' => self::get_default_value( $key . '_switch' ),
788
  'original' => '',
789
+ 'priority' => 3,
790
  'active_callback' => array(
791
+ 'id' => 'email_type',
792
  'compare' => '==',
793
+ 'value' => $key,
794
  ),
795
  );
796
  // Email preview switch.
798
  'title' => __( 'Make "Pay for this Order" a button', 'kadence-woocommerce-email-designer' ),
799
  'control_type' => 'toggleswitch',
800
  'section' => 'mtype',
801
+ 'transport' => 'refresh',
802
  'default' => self::get_default_value( $key . '_btn_switch' ),
803
  'original' => '',
804
  'active_callback' => array(
805
+ 'id' => 'email_type',
806
  'compare' => '==',
807
+ 'value' => $key,
808
  ),
809
  );
810
  // Email Body Text
811
+ $extra_email_text[ $key . '_body_paid' ] = array(
812
  'title' => __( 'Body Invoice Paid Text', 'kadence-woocommerce-email-designer' ),
813
  'type' => 'textarea',
814
  'section' => 'mtype',
815
+ 'default' => self::get_default_value( $key . '_body_paid' ),
816
  'original' => '',
817
+ 'transport' => 'refresh',
818
  'active_callback' => array(
819
+ 'id' => 'email_type',
820
  'compare' => '==',
821
+ 'value' => $key,
822
  ),
823
  );
824
  // Email Body Text
825
+ $extra_email_text[ $key . '_body' ] = array(
826
  'title' => __( 'Body Invoice Pending Payment Text', 'kadence-woocommerce-email-designer' ),
827
  'type' => 'textarea',
828
  'section' => 'mtype',
829
+ 'default' => self::get_default_value( $key . '_body' ),
830
+ 'original' => '',
831
+ 'active_callback' => array(
832
+ 'id' => 'email_type',
833
+ 'compare' => '==',
834
+ 'value' => $key,
835
+ ),
836
+ );
837
+ } else if ( 'customer_payment_retry' == $key ) {
838
+ // Button Switch.
839
+ $extra_email_text[ $key . '_override' ] = array(
840
+ 'title' => __( 'Override Static Email Content with Custom Body Text?', 'kadence-woocommerce-email-designer' ),
841
+ 'control_type' => 'toggleswitch',
842
+ 'section' => 'mtype',
843
+ 'transport' => 'refresh',
844
+ 'default' => self::get_default_value( $key . '_override' ),
845
+ 'original' => '',
846
+ 'active_callback' => array(
847
+ 'id' => 'email_type',
848
+ 'compare' => '==',
849
+ 'value' => $key,
850
+ ),
851
+ );
852
+ // Email Body Text
853
+ $extra_email_text[ $key . '_body' ] = array(
854
+ 'title' => __( 'Body Text', 'kadence-woocommerce-email-designer' ),
855
+ 'type' => 'textarea',
856
+ 'section' => 'mtype',
857
+ 'default' => self::get_default_value( $key . '_body' ),
858
  'original' => '',
859
  'active_callback' => array(
860
+ 'id' => 'email_type',
861
  'compare' => '==',
862
+ 'value' => $key,
863
  ),
864
  );
865
  } else if ( 'customer_renewal_invoice' == $key ) {
868
  'title' => __( 'Make "Pay Now" a button', 'kadence-woocommerce-email-designer' ),
869
  'control_type' => 'toggleswitch',
870
  'section' => 'mtype',
871
+ 'transport' => 'refresh',
872
  'default' => self::get_default_value( $key . '_btn_switch' ),
873
  'original' => '',
874
  'active_callback' => array(
875
+ 'id' => 'email_type',
876
  'compare' => '==',
877
+ 'value' => $key,
878
  ),
879
  );
880
  // Email Body Text
881
+ $extra_email_text[ $key . '_body_failed' ] = array(
882
  'title' => __( 'Body Invoice Failed Text', 'kadence-woocommerce-email-designer' ),
883
  'type' => 'textarea',
884
  'section' => 'mtype',
885
+ 'default' => self::get_default_value( $key . '_body_failed' ),
886
  'original' => '',
887
+ 'transport' => 'refresh',
888
  'active_callback' => array(
889
+ 'id' => 'email_type',
890
  'compare' => '==',
891
+ 'value' => $key,
892
  ),
893
  );
894
  // Email Body Text
895
+ $extra_email_text[ $key . '_body' ] = array(
896
  'title' => __( 'Body Invoice Pending Payment Text', 'kadence-woocommerce-email-designer' ),
897
  'type' => 'textarea',
898
  'section' => 'mtype',
899
+ 'default' => self::get_default_value( $key . '_body' ),
900
  'original' => '',
901
  'active_callback' => array(
902
+ 'id' => 'email_type',
903
  'compare' => '==',
904
+ 'value' => $key,
905
  ),
906
  );
907
  } else if ( 'customer_reset_password' == $key ) {
910
  'title' => __( 'Make "reset your password" a button', 'kadence-woocommerce-email-designer' ),
911
  'control_type' => 'toggleswitch',
912
  'section' => 'mtype',
913
+ 'transport' => 'refresh',
914
  'default' => self::get_default_value( $key . '_switch' ),
915
  'original' => '',
916
  'active_callback' => array(
917
+ 'id' => 'email_type',
918
  'compare' => '==',
919
+ 'value' => $key,
920
  ),
921
  );
922
  // Email Body Text
923
+ $extra_email_text[ $key . '_body' ] = array(
924
  'title' => __( 'Body Text', 'kadence-woocommerce-email-designer' ),
925
  'type' => 'textarea',
926
  'section' => 'mtype',
927
+ 'default' => self::get_default_value( $key . '_body' ),
928
  'original' => '',
929
  'active_callback' => array(
930
+ 'id' => 'email_type',
931
  'compare' => '==',
932
+ 'value' => $key,
933
  ),
934
  );
935
  } else {
942
  'original' => '',
943
  'transport' => 'refresh',
944
  'active_callback' => array(
945
+ 'id' => 'email_type',
946
  'compare' => '==',
947
+ 'value' => $key,
948
  ),
949
  );
950
  }
951
  }
952
  $main = array(
953
+ /*
954
+ CONTAINER STUFF */
955
+ // Email width.
956
+ 'content_width' => array(
957
+ 'title' => __( 'Content Width', 'kadence-woocommerce-email-designer' ),
958
+ 'control_type' => 'rangevalue',
959
+ 'section' => 'container',
960
+ 'default' => self::get_default_value( 'content_width' ),
961
+ 'live_method' => 'css',
962
+ 'selectors' => array(
963
+ '#template_container' => array( 'width' ),
964
+ '#template_header' => array( 'width' ),
965
+ '#template_header_image' => array( 'width' ),
966
+ '#template_body' => array( 'width' ),
967
+ '#template_footer' => array( 'width' ),
968
+ ),
969
+ 'input_attrs' => array(
970
+ 'step' => 2,
971
+ 'min' => 350,
972
+ 'max' => 1500,
973
+ ),
974
+ ),
975
+ 'responsive_mode' => array(
976
+ 'title' => __( 'Enable Fluid Width', 'kadence-woocommerce-email-designer' ),
977
+ 'control_type' => 'toggleswitch',
978
+ 'section' => 'container',
979
+ 'transport' => 'refresh',
980
+ 'default' => self::get_default_value( 'responsive_mode' ),
981
+ ),
982
+ 'content_inner_width' => array(
983
+ 'title' => __( 'Content Inner Max Width', 'kadence-woocommerce-email-designer' ),
984
+ 'control_type' => 'rangevalue',
985
+ 'section' => 'container',
986
+ 'default' => self::get_default_value( 'content_width' ),
987
+ 'live_method' => 'css',
988
+ 'selectors' => array(
989
+ '#template_container #template_header' => array( 'max-width' ),
990
+ '#template_container #template_header_image' => array( 'max-width' ),
991
+ '#template_container #template_body' => array( 'max-width' ),
992
+ '#template_container #template_footer' => array( 'max-width' ),
993
+ ),
994
+ 'input_attrs' => array(
995
+ 'step' => 2,
996
+ 'min' => 350,
997
+ 'max' => 1500,
998
+ ),
999
+ 'active_callback' => array(
1000
+ 'id' => 'responsive_mode',
1001
+ 'compare' => '==',
1002
+ 'value' => true,
1003
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1004
  ),
1005
+ // Border radius
1006
+ 'border_radius' => array(
1007
+ 'title' => __( 'Border radius', 'kadence-woocommerce-email-designer' ),
1008
+ 'control_type' => 'rangevalue',
1009
+ 'section' => 'container',
1010
+ 'default' => self::get_default_value( 'border_radius' ),
1011
+ 'live_method' => 'css',
1012
+ 'description' => __( 'Warning: most desktop email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
1013
+ 'selectors' => array(
1014
+ '#template_container' => array( 'border-radius' ),
1015
+ ),
1016
+ 'input_attrs' => array(
1017
+ 'step' => 1,
1018
+ 'min' => 0,
1019
+ 'max' => 100,
1020
+ ),
1021
  ),
1022
+ // Border Width.
1023
+ 'border_width' => array(
1024
+ 'title' => __( 'Border Top Width', 'kadence-woocommerce-email-designer' ),
1025
+ 'control_type' => 'rangevalue',
1026
+ 'section' => 'container',
1027
+ 'default' => self::get_default_value( 'border_width' ),
1028
+ 'live_method' => 'css',
1029
+ 'selectors' => array(
1030
+ 'body #template_container' => array( 'border-top-width' ),
1031
+ ),
1032
+ 'input_attrs' => array(
1033
+ 'step' => 1,
1034
+ 'min' => 0,
1035
+ 'max' => 20,
1036
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1037
  ),
1038
+ // Border Width.
1039
+ 'border_width_right' => array(
1040
+ 'title' => __( 'Border Right Width', 'kadence-woocommerce-email-designer' ),
1041
+ 'control_type' => 'rangevalue',
1042
+ 'section' => 'container',
1043
+ 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
1044
+ 'live_method' => 'css',
1045
+ 'selectors' => array(
1046
+ 'body #template_container' => array( 'border-right-width' ),
1047
+ ),
1048
+ 'input_attrs' => array(
1049
+ 'step' => 1,
1050
+ 'min' => 0,
1051
+ 'max' => 20,
1052
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
1053
  ),
1054
+ // Border Width.
1055
+ 'border_width_bottom' => array(
1056
+ 'title' => __( 'Border Bottom Width', 'kadence-woocommerce-email-designer' ),
1057
+ 'control_type' => 'rangevalue',
1058
+ 'section' => 'container',
1059
+ 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
1060
+ 'live_method' => 'css',
1061
+ 'selectors' => array(
1062
+ 'body #template_container' => array( 'border-bottom-width' ),
1063
+ ),
1064
+ 'input_attrs' => array(
1065
+ 'step' => 1,
1066
+ 'min' => 0,
1067
+ 'max' => 20,
1068
+ ),
1069
  ),
1070
+ // Border Width.
1071
+ 'border_width_left' => array(
1072
+ 'title' => __( 'Border Left Width', 'kadence-woocommerce-email-designer' ),
1073
+ 'control_type' => 'rangevalue',
1074
+ 'section' => 'container',
1075
+ 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'border_width' ) ),
1076
+ 'live_method' => 'css',
1077
+ 'selectors' => array(
1078
+ 'body #template_container' => array( 'border-left-width' ),
1079
+ ),
1080
+ 'input_attrs' => array(
1081
+ 'step' => 1,
1082
+ 'min' => 0,
1083
+ 'max' => 20,
1084
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1085
  ),
1086
+ // Border Color.
1087
+ 'border_color' => array(
1088
+ 'title' => __( 'Border color', 'kadence-woocommerce-email-designer' ),
1089
+ 'section' => 'container',
1090
+ 'control_type' => 'color',
1091
+ 'default' => self::get_default_value( 'border_color' ),
1092
+ 'live_method' => 'css',
1093
+ 'selectors' => array(
1094
+ 'body #template_container' => array( 'border-color' ),
1095
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1096
  ),
1097
+ // Shadow
1098
+ 'shadow' => array(
1099
+ 'title' => __( 'Shadow', 'kadence-woocommerce-email-designer' ),
1100
+ 'control_type' => 'rangevalue',
1101
+ 'section' => 'container',
1102
+ 'description' => __( 'Warning: most email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
1103
+ 'default' => self::get_default_value( 'shadow' ),
1104
+ 'live_method' => 'css',
1105
+ 'selectors' => array(
1106
+ 'body #template_container' => array( 'box-shadow' ),
1107
+ ),
1108
+ 'input_attrs' => array(
1109
+ 'step' => 1,
1110
+ 'min' => 0,
1111
+ 'max' => 20,
1112
+ ),
1113
  ),
1114
+ // Email Top Padding
1115
+ 'email_padding' => array(
1116
+ 'title' => __( 'Container Top Padding', 'kadence-woocommerce-email-designer' ),
1117
+ 'control_type' => 'rangevalue',
1118
+ 'section' => 'container',
1119
+ 'default' => self::get_default_value( 'email_padding' ),
1120
+ 'live_method' => 'css',
1121
+ 'selectors' => array(
1122
+ '#wrapper' => array( 'padding-top' ),
1123
+ ),
1124
+ 'input_attrs' => array(
1125
+ 'step' => 1,
1126
+ 'min' => 0,
1127
+ 'max' => 250,
1128
+ ),
1129
  ),
1130
+ // Email Top Padding
1131
+ 'email_padding_bottom' => array(
1132
+ 'title' => __( 'Container Botom Padding', 'kadence-woocommerce-email-designer' ),
1133
+ 'control_type' => 'rangevalue',
1134
+ 'section' => 'container',
1135
+ 'default' => self::get_default_value( 'email_padding' ),
1136
+ 'live_method' => 'css',
1137
+ 'selectors' => array(
1138
+ '#wrapper' => array( 'padding-bottom' ),
1139
+ ),
1140
+ 'input_attrs' => array(
1141
+ 'step' => 1,
1142
+ 'min' => 0,
1143
+ 'max' => 250,
1144
+ ),
1145
  ),
1146
+ /**
1147
+ * HEADER IMAGE OPTIONS
1148
+ */
1149
+ // Header Image Width.
1150
+ 'header_image_placement' => array(
1151
+ 'title' => __( 'Header Image Placement', 'kadence-woocommerce-email-designer' ),
1152
+ 'section' => 'header_image',
1153
+ 'default' => self::get_default_value( 'header_image_placement' ),
1154
+ 'transport' => 'refresh',
1155
+ 'type' => 'select',
1156
+ 'choices' => array(
1157
+ 'outside' => __( 'Outside Body Container', 'kadence-woocommerce-email-designer' ),
1158
+ 'inside' => __( 'Inside Body Container', 'kadence-woocommerce-email-designer' ),
1159
+ ),
1160
  ),
1161
+ // Image Align.
1162
+ 'header_image_align' => array(
1163
+ 'title' => __( 'Image Align', 'kadence-woocommerce-email-designer' ),
1164
+ 'section' => 'header_image',
1165
+ 'default' => self::get_default_value( 'header_image_align' ),
1166
+ 'live_method' => 'css',
1167
+ 'type' => 'select',
1168
+ 'choices' => self::get_image_aligns(),
1169
+ 'selectors' => array(
1170
+ '#template_header_image_table td' => array( 'text-align' ),
1171
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1172
  ),
1173
+ // Image Maxwidth
1174
+ 'header_image_maxwidth' => array(
1175
+ 'title' => __( 'Image Max Width', 'kadence-woocommerce-email-designer' ),
1176
+ 'section' => 'header_image',
1177
+ 'default' => self::get_default_value( 'header_image_maxwidth' ),
1178
+ 'live_method' => 'css',
1179
+ 'control_type' => 'rangevalue',
1180
+ 'selectors' => array(
1181
+ '#template_header_image img' => array( 'max-width' ),
1182
+ ),
1183
+ 'input_attrs' => array(
1184
+ 'step' => 1,
1185
+ 'min' => 10,
1186
+ 'max' => 1200,
1187
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1188
  ),
1189
+ 'header_image_background_color' => array(
1190
+ 'title' => __( 'Background color', 'kadence-woocommerce-email-designer' ),
1191
+ 'section' => 'header_image',
1192
+ 'control_type' => 'color',
1193
+ 'default' => self::get_default_value( 'header_image_background_color' ),
1194
+ 'live_method' => 'css',
1195
+ 'selectors' => array(
1196
+ '#template_header_image_container' => array( 'background-color' ),
1197
+ ),
1198
  ),
1199
+ // Header Padding top/bottom.
1200
+ 'header_image_padding_top_bottom' => array(
1201
+ 'title' => __( 'Padding top/bottom', 'kadence-woocommerce-email-designer' ),
1202
+ 'control_type' => 'rangevalue',
1203
+ 'section' => 'header_image',
1204
+ 'default' => self::get_default_value( 'header_image_padding_top_bottom' ),
1205
+ 'live_method' => 'css',
1206
+ 'selectors' => array(
1207
+ '#template_header_image_table td' => array( 'padding-top', 'padding-bottom' ),
1208
+ ),
1209
+ 'input_attrs' => array(
1210
+ 'step' => 1,
1211
+ 'min' => 0,
1212
+ 'max' => 150,
1213
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1214
  ),
1215
+ // Header background color.
1216
+ 'header_background_color' => array(
1217
+ 'title' => __( 'Background color', 'kadence-woocommerce-email-designer' ),
1218
+ 'section' => 'header_style',
1219
+ 'control_type' => 'color',
1220
+ 'default' => self::get_default_value( 'header_background_color' ),
1221
+ 'live_method' => 'css',
1222
+ 'selectors' => array(
1223
+ '#template_header' => array( 'background-color' ),
1224
+ ),
 
 
 
 
 
 
 
 
 
1225
  ),
1226
+ // Header Text align
1227
+ 'header_text_align' => array(
1228
+ 'title' => __( 'Text align', 'kadence-woocommerce-email-designer' ),
1229
+ 'section' => 'header_style',
1230
+ 'default' => self::get_default_value( 'header_text_align' ),
1231
+ 'live_method' => 'css',
1232
+ 'type' => 'select',
1233
+ 'choices' => self::get_text_aligns(),
1234
+ 'selectors' => array(
1235
+ '#header_wrapper h1' => array( 'text-align' ),
1236
+ '#header_wrapper' => array( 'text-align' ),
1237
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1238
  ),
1239
+
1240
+ // Header Padding top/bottom.
1241
+ 'header_padding_top' => array(
1242
+ 'title' => __( 'Padding Top', 'kadence-woocommerce-email-designer' ),
1243
+ 'control_type' => 'rangevalue',
1244
+ 'section' => 'header_style',
1245
+ 'default' => self::get_default_value( 'header_padding_top_bottom' ),
1246
+ 'live_method' => 'css',
1247
+ 'selectors' => array(
1248
+ '#header_wrapper' => array( 'padding-top' ),
1249
+ ),
1250
+ 'input_attrs' => array(
1251
+ 'step' => 1,
1252
+ 'min' => 0,
1253
+ 'max' => 150,
1254
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1255
  ),
1256
+ // Header Padding top/bottom
1257
+ 'header_padding_bottom' => array(
1258
+ 'title' => __( 'Padding Bottom', 'kadence-woocommerce-email-designer' ),
1259
+ 'control_type' => 'rangevalue',
1260
+ 'section' => 'header_style',
1261
+ 'default' => self::get_default_value( 'header_padding_top_bottom' ),
1262
+ 'live_method' => 'css',
1263
+ 'selectors' => array(
1264
+ '#header_wrapper' => array( 'padding-bottom' ),
1265
+ ),
1266
+ 'input_attrs' => array(
1267
+ 'step' => 1,
1268
+ 'min' => 0,
1269
+ 'max' => 150,
1270
+ ),
1271
  ),
 
1272
 
1273
+ // Header Padding left/right
1274
+ 'header_padding_left_right' => array(
1275
+ 'title' => __( 'Padding left/right', 'kadence-woocommerce-email-designer' ),
1276
+ 'control_type' => 'rangevalue',
1277
+ 'section' => 'header_style',
1278
+ 'default' => self::get_default_value( 'header_padding_left_right' ),
1279
+ 'live_method' => 'css',
1280
+ 'selectors' => array(
1281
+ '#header_wrapper' => array( 'padding-left', 'padding-right' ),
1282
+ ),
1283
+ 'input_attrs' => array(
1284
+ 'step' => 1,
1285
+ 'min' => 0,
1286
+ 'max' => 150,
1287
+ ),
1288
+ ),
1289
+ // Heading Font size
1290
+ 'heading_font_size' => array(
1291
+ 'title' => __( 'Heading Font size', 'kadence-woocommerce-email-designer' ),
1292
+ 'control_type' => 'rangevalue',
1293
+ 'section' => 'heading',
1294
+ 'default' => self::get_default_value( 'heading_font_size' ),
1295
+ 'live_method' => 'css',
1296
+ 'selectors' => array(
1297
+ '#template_header h1' => array( 'font-size' ),
1298
+ ),
1299
+ 'input_attrs' => array(
1300
+ 'step' => 1,
1301
+ 'min' => 10,
1302
+ 'max' => 75,
1303
+ ),
1304
+ ),
1305
+ // heading Line Height
1306
+ 'heading_line_height' => array(
1307
+ 'title' => __( 'Heading Line Height', 'kadence-woocommerce-email-designer' ),
1308
+ 'control_type' => 'rangevalue',
1309
+ 'section' => 'heading',
1310
+ 'default' => self::get_default_value( 'heading_line_height' ),
1311
+ 'live_method' => 'css',
1312
+ 'selectors' => array(
1313
+ '#template_header h1' => array( 'line-height' ),
1314
+ ),
1315
+ 'input_attrs' => array(
1316
+ 'step' => 1,
1317
+ 'min' => 10,
1318
+ 'max' => 125,
1319
+ ),
1320
+ ),
1321
+ // Heading Font family
1322
+ 'heading_font_family' => array(
1323
+ 'title' => __( 'Heading Font family', 'kadence-woocommerce-email-designer' ),
1324
+ 'section' => 'heading',
1325
+ 'default' => self::get_default_value( 'heading_font_family' ),
1326
+ 'live_method' => 'css',
1327
+ 'type' => 'select',
1328
+ 'choices' => self::get_font_families(),
1329
+ 'selectors' => array(
1330
+ '#template_header h1' => array( 'font-family' ),
1331
+ ),
1332
+ ),
1333
+ // Heading Font style
1334
+ 'heading_font_style' => array(
1335
+ 'title' => __( 'Heading Font Style', 'kadence-woocommerce-email-designer' ),
1336
+ 'section' => 'heading',
1337
+ 'default' => self::get_default_value( 'heading_font_style' ),
1338
+ 'live_method' => 'css',
1339
+ 'type' => 'select',
1340
+ 'choices' => array(
1341
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1342
+ 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1343
+ ),
1344
+ 'selectors' => array(
1345
+ '#template_header h1' => array( 'font-style' ),
1346
+ ),
1347
  ),
1348
+ // Heading Font weight
1349
+ 'heading_font_weight' => array(
1350
+ 'title' => __( 'Heading Font weight', 'kadence-woocommerce-email-designer' ),
1351
+ 'control_type' => 'rangevalue',
1352
+ 'section' => 'heading',
1353
+ 'default' => self::get_default_value( 'heading_font_weight' ),
1354
+ 'live_method' => 'css',
1355
+ 'selectors' => array(
1356
+ '#template_header h1' => array( 'font-weight' ),
1357
+ ),
1358
+ 'input_attrs' => array(
1359
+ 'step' => 100,
1360
+ 'min' => 100,
1361
+ 'max' => 900,
1362
+ ),
1363
+ ),
1364
+ // Heading Color
1365
+ 'heading_color' => array(
1366
+ 'title' => __( 'Heading Text color', 'kadence-woocommerce-email-designer' ),
1367
+ 'section' => 'heading',
1368
+ 'control_type' => 'color',
1369
+ 'default' => self::get_default_value( 'heading_color' ),
1370
+ 'live_method' => 'css',
1371
+ 'selectors' => array(
1372
+ '#template_header' => array( 'color' ),
1373
+ '#template_header h1' => array( 'color' ),
1374
+ ),
1375
+ ),
1376
+ // Subtitle Info
1377
+ 'subtitle_fontt_info' => array(
1378
+ 'title' => __( 'Subtitle Settings', 'kadence-woocommerce-email-designer' ),
1379
+ 'section' => 'heading',
1380
+ 'control_type' => 'kwdinfoblock',
1381
+ 'description' => '',
1382
+ ),
1383
+ // Subtitle placement
1384
+ 'subtitle_placement' => array(
1385
+ 'title' => __( 'Subtitle Placement', 'kadence-woocommerce-email-designer' ),
1386
+ 'section' => 'heading',
1387
+ 'default' => self::get_default_value( 'subtitle_placement' ),
1388
+ 'transport' => 'refresh',
1389
+ 'type' => 'select',
1390
+ 'choices' => array(
1391
+ 'below' => __( 'Below Heading', 'kadence-woocommerce-email-designer' ),
1392
+ 'above' => __( 'Above Heading', 'kadence-woocommerce-email-designer' ),
1393
+ ),
1394
  ),
 
1395
 
1396
+ // Subtitle Font size
1397
+ 'subtitle_font_size' => array(
1398
+ 'title' => __( 'Subtitle Font Size', 'kadence-woocommerce-email-designer' ),
1399
+ 'control_type' => 'rangevalue',
1400
+ 'section' => 'heading',
1401
+ 'default' => self::get_default_value( 'subtitle_font_size' ),
1402
+ 'live_method' => 'css',
1403
+ 'selectors' => array(
1404
+ '#template_header .subtitle' => array( 'font-size' ),
1405
+ ),
1406
+ 'input_attrs' => array(
1407
+ 'step' => 1,
1408
+ 'min' => 10,
1409
+ 'max' => 75,
1410
+ ),
1411
  ),
1412
+ // Subtitle Line Height
1413
+ 'subtitle_line_height' => array(
1414
+ 'title' => __( 'Subtitle Line Height', 'kadence-woocommerce-email-designer' ),
1415
+ 'control_type' => 'rangevalue',
1416
+ 'section' => 'heading',
1417
+ 'default' => self::get_default_value( 'subtitle_line_height' ),
1418
+ 'live_method' => 'css',
1419
+ 'selectors' => array(
1420
+ '#template_header .subtitle' => array( 'line-height' ),
1421
+ ),
1422
+ 'input_attrs' => array(
1423
+ 'step' => 1,
1424
+ 'min' => 10,
1425
+ 'max' => 125,
1426
+ ),
1427
+ ),
1428
+ // Subtitle Font family.
1429
+ 'subtitle_font_family' => array(
1430
+ 'title' => __( 'Subtitle Font Family', 'kadence-woocommerce-email-designer' ),
1431
+ 'section' => 'heading',
1432
+ 'default' => self::get_default_value( 'subtitle_font_family' ),
1433
+ 'live_method' => 'css',
1434
+ 'type' => 'select',
1435
+ 'choices' => self::get_font_families(),
1436
+ 'selectors' => array(
1437
+ '#template_header .subtitle' => array( 'font-family' ),
1438
+ ),
1439
+ ),
1440
+ // Subtitle Font style
1441
+ 'subtitle_font_style' => array(
1442
+ 'title' => __( 'Subtitle Font Style', 'kadence-woocommerce-email-designer' ),
1443
+ 'section' => 'heading',
1444
+ 'default' => self::get_default_value( 'subtitle_font_style' ),
1445
+ 'live_method' => 'css',
1446
+ 'type' => 'select',
1447
+ 'choices' => array(
1448
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1449
+ 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1450
+ ),
1451
+ 'selectors' => array(
1452
+ '#template_header .subtitle' => array( 'font-style' ),
1453
+ ),
1454
  ),
 
1455
 
1456
+ // Subtitle Font weight
1457
+ 'subtitle_font_weight' => array(
1458
+ 'title' => __( 'Subtitle Font weight', 'kadence-woocommerce-email-designer' ),
1459
+ 'control_type' => 'rangevalue',
1460
+ 'section' => 'heading',
1461
+ 'default' => self::get_default_value( 'subtitle_font_weight' ),
1462
+ 'live_method' => 'css',
1463
+ 'selectors' => array(
1464
+ '#template_header .subtitle' => array( 'font-weight' ),
1465
+ ),
1466
+ 'input_attrs' => array(
1467
+ 'step' => 100,
1468
+ 'min' => 100,
1469
+ 'max' => 900,
1470
+ ),
 
 
 
 
 
 
 
 
 
 
1471
  ),
1472
+
1473
+ // Subtitle Color
1474
+ 'subtitle_color' => array(
1475
+ 'title' => __( 'Subtitle Text color', 'kadence-woocommerce-email-designer' ),
1476
+ 'section' => 'heading',
1477
+ 'control_type' => 'color',
1478
+ 'default' => self::get_default_value( 'subtitle_color' ),
1479
+ 'live_method' => 'css',
1480
+ 'selectors' => array(
1481
+ '#template_header .subtitle' => array( 'color' ),
1482
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1483
  ),
1484
+
1485
+ // Content padding top
1486
+ 'content_padding_top' => array(
1487
+ 'title' => __( 'Padding Top', 'kadence-woocommerce-email-designer' ),
1488
+ 'control_type' => 'rangevalue',
1489
+ 'section' => 'content_container',
1490
+ 'default' => self::get_default_value( 'content_padding' ),
1491
+ 'live_method' => 'css',
1492
+ 'selectors' => array(
1493
+ '#body_content' => array( 'padding-top' ),
1494
+ ),
1495
+ 'input_attrs' => array(
1496
+ 'step' => 1,
1497
+ 'min' => 0,
1498
+ 'max' => 150,
1499
+ ),
1500
  ),
1501
+ // Content padding
1502
+ 'content_padding_bottom' => array(
1503
+ 'title' => __( 'Padding Bottom', 'kadence-woocommerce-email-designer' ),
1504
+ 'control_type' => 'rangevalue',
1505
+ 'section' => 'content_container',
1506
+ 'default' => self::get_default_value( 'content_padding_bottom' ),
1507
+ 'live_method' => 'css',
1508
+ 'selectors' => array(
1509
+ '#body_content' => array( 'padding-bottom' ),
1510
+ ),
1511
+ 'input_attrs' => array(
1512
+ 'step' => 1,
1513
+ 'min' => 0,
1514
+ 'max' => 150,
1515
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1516
  ),
1517
+ // Content padding
1518
+ 'content_padding' => array(
1519
+ 'title' => __( 'Padding Left/Right', 'kadence-woocommerce-email-designer' ),
1520
+ 'control_type' => 'rangevalue',
1521
+ 'section' => 'content_container',
1522
+ 'default' => self::get_default_value( 'content_padding' ),
1523
+ 'live_method' => 'css',
1524
+ 'selectors' => array(
1525
+ '#body_content > table > tbody > tr > td' => array( 'padding-left', 'padding-right' ),
1526
+ '#body_content > table > tr > td' => array( 'padding-left', 'padding-right' ),
1527
+ ),
1528
+ 'input_attrs' => array(
1529
+ 'step' => 1,
1530
+ 'min' => 0,
1531
+ 'max' => 150,
1532
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1533
  ),
1534
+ // TEXT STYLE
1535
+ // Font size
1536
+ 'font_size' => array(
1537
+ 'title' => __( 'Font Size', 'kadence-woocommerce-email-designer' ),
1538
+ 'control_type' => 'rangevalue',
1539
+ 'section' => 'text_style',
1540
+ 'default' => self::get_default_value( 'font_size' ),
1541
+ 'live_method' => 'css',
1542
+ 'selectors' => array(
1543
+ '#body_content_inner' => array( 'font-size' ),
1544
+ 'img' => array( 'font-size' ),
1545
+ ),
1546
+ 'input_attrs' => array(
1547
+ 'step' => 1,
1548
+ 'min' => 8,
1549
+ 'max' => 30,
1550
+ ),
1551
+ ),
1552
+ // Line Height
1553
+ 'line_height' => array(
1554
+ 'title' => __( 'Line Height', 'kadence-woocommerce-email-designer' ),
1555
+ 'control_type' => 'rangevalue',
1556
+ 'section' => 'text_style',
1557
+ 'default' => self::get_default_value( 'line_height' ),
1558
+ 'live_method' => 'css',
1559
+ 'selectors' => array(
1560
+ '#body_content_inner' => array( 'line-height' ),
1561
+ 'img' => array( 'line-height' ),
1562
+ ),
1563
+ 'input_attrs' => array(
1564
+ 'step' => 1,
1565
+ 'min' => 10,
1566
+ 'max' => 90,
1567
+ ),
1568
+ ),
1569
+ // Font family
1570
+ 'font_family' => array(
1571
+ 'title' => __( 'Font Family', 'kadence-woocommerce-email-designer' ),
1572
+ 'section' => 'text_style',
1573
+ 'default' => self::get_default_value( 'font_family' ),
1574
+ 'live_method' => 'css',
1575
+ 'type' => 'select',
1576
+ 'choices' => self::get_font_families(),
1577
+ 'selectors' => array(
1578
+ '#body_content_inner' => array( 'font-family' ),
1579
+ '#body_content_inner .td' => array( 'font-family' ),
1580
+ '.text' => array( 'font-family' ),
1581
+ ),
1582
+ ),
1583
+ // Font weight.
1584
+ 'font_weight' => array(
1585
+ 'title' => __( 'Font weight', 'kadence-woocommerce-email-designer' ),
1586
+ 'control_type' => 'rangevalue',
1587
+ 'section' => 'text_style',
1588
+ 'default' => self::get_default_value( 'font_weight' ),
1589
+ 'live_method' => 'css',
1590
+ 'selectors' => array(
1591
+ '#body_content_inner' => array( 'font-weight' ),
1592
+ ),
1593
+ 'input_attrs' => array(
1594
+ 'step' => 100,
1595
+ 'min' => 100,
1596
+ 'max' => 900,
1597
+ ),
1598
+ ),
1599
+ // Link color.
1600
+ 'link_color' => array(
1601
+ 'title' => __( 'Link Color', 'kadence-woocommerce-email-designer' ),
1602
+ 'section' => 'text_style',
1603
+ 'control_type' => 'color',
1604
+ 'default' => self::get_default_value( 'link_color' ),
1605
+ 'live_method' => 'css',
1606
+ 'selectors' => array(
1607
+ 'a' => array( 'color' ),
1608
+ '.link' => array( 'color' ),
1609
+ '.btn' => array( 'background-color' ),
1610
+ ),
1611
+ ),
1612
+ // H2 TEXT STYLE.
1613
+ // Font size.
1614
+ 'h2_font_size' => array(
1615
+ 'title' => __( 'H2 Font Size', 'kadence-woocommerce-email-designer' ),
1616
+ 'control_type' => 'rangevalue',
1617
+ 'section' => 'headings_style',
1618
+ 'default' => self::get_default_value( 'h2_font_size' ),
1619
+ 'live_method' => 'css',
1620
+ 'selectors' => array(
1621
+ '#template_body h2' => array( 'font-size' ),
1622
+ ),
1623
+ 'input_attrs' => array(
1624
+ 'step' => 1,
1625
+ 'min' => 8,
1626
+ 'max' => 50,
1627
+ ),
1628
+ ),
1629
+ // h2 Line Height.
1630
+ 'h2_line_height' => array(
1631
+ 'title' => __( 'H2 Line Height', 'kadence-woocommerce-email-designer' ),
1632
+ 'control_type' => 'rangevalue',
1633
+ 'section' => 'headings_style',
1634
+ 'default' => self::get_default_value( 'h2_line_height' ),
1635
+ 'live_method' => 'css',
1636
+ 'selectors' => array(
1637
+ '#template_body h2' => array( 'line-height' ),
1638
+ ),
1639
+ 'input_attrs' => array(
1640
+ 'step' => 1,
1641
+ 'min' => 10,
1642
+ 'max' => 90,
1643
+ ),
1644
+ ),
1645
+ // h2 padding top.
1646
+ 'h2_padding_top' => array(
1647
+ 'title' => __( 'H2 Padding Top', 'kadence-woocommerce-email-designer' ),
1648
+ 'control_type' => 'rangevalue',
1649
+ 'section' => 'headings_style',
1650
+ 'default' => self::get_default_value( 'h2_padding_top' ),
1651
+ 'live_method' => 'css',
1652
+ 'selectors' => array(
1653
+ '#template_body h2' => array( 'padding-top' ),
1654
+ ),
1655
+ 'input_attrs' => array(
1656
+ 'step' => 1,
1657
+ 'min' => 0,
1658
+ 'max' => 60,
1659
+ ),
1660
+ ),
1661
+ // h2 padding bottom.
1662
+ 'h2_padding_bottom' => array(
1663
+ 'title' => __( 'H2 Padding Bottom', 'kadence-woocommerce-email-designer' ),
1664
+ 'control_type' => 'rangevalue',
1665
+ 'section' => 'headings_style',
1666
+ 'default' => self::get_default_value( 'h2_padding_bottom' ),
1667
+ 'live_method' => 'css',
1668
+ 'selectors' => array(
1669
+ '#template_body h2' => array( 'padding-bottom' ),
1670
+ ),
1671
+ 'input_attrs' => array(
1672
+ 'step' => 1,
1673
+ 'min' => 0,
1674
+ 'max' => 60,
1675
+ ),
1676
+ ),
1677
+ // h2 margin top.
1678
+ 'h2_margin_top' => array(
1679
+ 'title' => __( 'H2 Margin Top', 'kadence-woocommerce-email-designer' ),
1680
+ 'control_type' => 'rangevalue',
1681
+ 'section' => 'headings_style',
1682
+ 'default' => self::get_default_value( 'h2_margin_top' ),
1683
+ 'live_method' => 'css',
1684
+ 'selectors' => array(
1685
+ '#template_body h2' => array( 'margin-top' ),
1686
+ ),
1687
+ 'input_attrs' => array(
1688
+ 'step' => 1,
1689
+ 'min' => 0,
1690
+ 'max' => 60,
1691
+ ),
1692
+ ),
1693
+ // h2 margin bottom.
1694
+ 'h2_margin_bottom' => array(
1695
+ 'title' => __( 'H2 Margin Bottom', 'kadence-woocommerce-email-designer' ),
1696
+ 'control_type' => 'rangevalue',
1697
+ 'section' => 'headings_style',
1698
+ 'default' => self::get_default_value( 'h2_margin_bottom' ),
1699
+ 'live_method' => 'css',
1700
+ 'selectors' => array(
1701
+ '#template_body h2' => array( 'margin-bottom' ),
1702
+ ),
1703
+ 'input_attrs' => array(
1704
+ 'step' => 1,
1705
+ 'min' => 0,
1706
+ 'max' => 60,
1707
+ ),
1708
+ ),
1709
+ // h2 Font family.
1710
+ 'h2_font_family' => array(
1711
+ 'title' => __( 'H2 Font Family', 'kadence-woocommerce-email-designer' ),
1712
+ 'section' => 'headings_style',
1713
+ 'default' => self::get_default_value( 'h2_font_family' ),
1714
+ 'live_method' => 'css',
1715
+ 'type' => 'select',
1716
+ 'choices' => self::get_font_families(),
1717
+ 'selectors' => array(
1718
+ '#template_body h2' => array( 'font-family' ),
1719
+ '#template_body h2 a' => array( 'font-family' ),
1720
+ ),
1721
+ ),
1722
+ // h2 Font style.
1723
+ 'h2_font_style' => array(
1724
+ 'title' => __( 'H2 Font Style', 'kadence-woocommerce-email-designer' ),
1725
+ 'section' => 'headings_style',
1726
+ 'default' => self::get_default_value( 'h2_font_style' ),
1727
+ 'live_method' => 'css',
1728
+ 'type' => 'select',
1729
+ 'choices' => array(
1730
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1731
+ 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1732
+ ),
1733
+ 'selectors' => array(
1734
+ '#template_body h2' => array( 'font-style' ),
1735
+ '#template_body h2 a' => array( 'font-style' ),
1736
+ ),
1737
+ ),
1738
+ // h2 Font weight.
1739
+ 'h2_font_weight' => array(
1740
+ 'title' => __( 'H2 Font weight', 'kadence-woocommerce-email-designer' ),
1741
+ 'control_type' => 'rangevalue',
1742
+ 'section' => 'headings_style',
1743
+ 'default' => self::get_default_value( 'h2_font_weight' ),
1744
+ 'live_method' => 'css',
1745
+ 'selectors' => array(
1746
+ '#template_body h2' => array( 'font-weight' ),
1747
+ '#template_body h2 a' => array( 'font-weight' ),
1748
+ ),
1749
+ 'input_attrs' => array(
1750
+ 'step' => 100,
1751
+ 'min' => 100,
1752
+ 'max' => 900,
1753
+ ),
1754
+ ),
1755
+ // h2 text transform.
1756
+ 'h2_text_transform' => array(
1757
+ 'title' => __( 'H2 Text Transform', 'kadence-woocommerce-email-designer' ),
1758
+ 'section' => 'headings_style',
1759
+ 'default' => self::get_default_value( 'h2_text_transform' ),
1760
+ 'live_method' => 'css',
1761
+ 'type' => 'select',
1762
+ 'choices' => array(
1763
+ 'none' => __( 'None', 'kadence-woocommerce-email-designer' ),
1764
+ 'uppercase' => __( 'Uppercase', 'kadence-woocommerce-email-designer' ),
1765
+ 'lowercase' => __( 'Lowercase', 'kadence-woocommerce-email-designer' ),
1766
+ 'capitalize' => __( 'Capitalize', 'kadence-woocommerce-email-designer' ),
1767
+ ),
1768
+ 'selectors' => array(
1769
+ '#template_body h2' => array( 'text-transform' ),
1770
+ ),
1771
+ ),
1772
+ // H2 color.
1773
+ 'h2_color' => array(
1774
+ 'title' => __( 'H2 Color', 'kadence-woocommerce-email-designer' ),
1775
+ 'section' => 'headings_style',
1776
+ 'control_type' => 'color',
1777
+ 'default' => self::get_default_value( 'h2_color' ),
1778
+ 'live_method' => 'css',
1779
+ 'selectors' => array(
1780
+ '#template_body h2' => array( 'color' ),
1781
+ '#template_body h2 a' => array( 'color' ),
1782
+ ),
1783
+ ),
1784
+ // h2 text align.
1785
+ 'h2_text_align' => array(
1786
+ 'title' => __( 'H2 Text Align', 'kadence-woocommerce-email-designer' ),
1787
+ 'section' => 'headings_style',
1788
+ 'default' => self::get_default_value( 'h2_text_align' ),
1789
+ 'live_method' => 'css',
1790
+ 'type' => 'select',
1791
+ 'choices' => self::get_text_aligns(),
1792
+ 'selectors' => array(
1793
+ '#template_body h2' => array( 'text-align' ),
1794
+ ),
1795
+ ),
1796
+ // h2 style.
1797
+ 'h2_style' => array(
1798
+ 'title' => __( 'H2 Separator', 'kadence-woocommerce-email-designer' ),
1799
+ 'section' => 'headings_style',
1800
+ 'default' => self::get_default_value( 'h2_style' ),
1801
+ 'transport' => 'refresh',
1802
+ 'type' => 'select',
1803
+ 'choices' => array(
1804
+ 'none' => __( 'None', 'kadence-woocommerce-email-designer' ),
1805
+ 'below' => __( 'Separator below', 'kadence-woocommerce-email-designer' ),
1806
+ 'above' => __( 'Separator above', 'kadence-woocommerce-email-designer' ),
1807
+ ),
1808
+ ),
1809
+ // separator height.
1810
+ 'h2_separator_height' => array(
1811
+ 'title' => __( 'H2 Separator height', 'kadence-woocommerce-email-designer' ),
1812
+ 'section' => 'headings_style',
1813
+ 'control_type' => 'rangevalue',
1814
+ 'default' => self::get_default_value( 'h2_style' ),
1815
+ 'live_method' => 'css',
1816
+ 'type' => 'select',
1817
+ 'input_attrs' => array(
1818
+ 'step' => 1,
1819
+ 'min' => 0,
1820
+ 'max' => 30,
1821
+ ),
1822
+ 'selectors' => array(
1823
+ '.title-style-below #template_body h2' => array( 'border-bottom-width' ),
1824
+ '.title-style-above #template_body h2' => array( 'border-top-width' ),
1825
+ ),
1826
+ ),
1827
+ // h2 style
1828
+ 'h2_separator_style' => array(
1829
+ 'title' => __( 'H2 Separator Style', 'kadence-woocommerce-email-designer' ),
1830
+ 'section' => 'headings_style',
1831
+ 'default' => self::get_default_value( 'h2_style' ),
1832
+ 'live_method' => 'css',
1833
+ 'type' => 'select',
1834
+ 'choices' => array(
1835
+ 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
1836
+ 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
1837
+ 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
1838
+ 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
1839
+ 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
1840
+ 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
1841
+ ),
1842
+ 'selectors' => array(
1843
+ '.title-style-below #template_body h2' => array( 'border-bottom-style' ),
1844
+ '.title-style-above #template_body h2' => array( 'border-top-style' ),
1845
+ ),
1846
+ ),
1847
+ // separator color
1848
+ 'h2_separator_color' => array(
1849
+ 'title' => __( 'H2 Separator Color', 'kadence-woocommerce-email-designer' ),
1850
+ 'section' => 'headings_style',
1851
+ 'control_type' => 'color',
1852
+ 'default' => self::get_default_value( 'h2_separator_color' ),
1853
+ 'live_method' => 'css',
1854
+ 'selectors' => array(
1855
+ '.title-style-below #template_body h2' => array( 'border-bottom-color' ),
1856
+ '.title-style-above #template_body h2' => array( 'border-top-color' ),
1857
+ ),
1858
+ ),
1859
+ // H3 TEXT STYLE
1860
+ // h3 Info
1861
+ 'h3_font_info' => array(
1862
+ 'title' => __( 'H3 Settings', 'kadence-woocommerce-email-designer' ),
1863
+ 'section' => 'headings_style',
1864
+ 'control_type' => 'kwdinfoblock',
1865
+ 'description' => '',
1866
+ ),
1867
+ // Font size
1868
+ 'h3_font_size' => array(
1869
+ 'title' => __( 'H3 Font Size', 'kadence-woocommerce-email-designer' ),
1870
+ 'control_type' => 'rangevalue',
1871
+ 'section' => 'headings_style',
1872
+ 'default' => self::get_default_value( 'h3_font_size' ),
1873
+ 'live_method' => 'css',
1874
+ 'selectors' => array(
1875
+ '#template_body h3' => array( 'font-size' ),
1876
+ ),
1877
+ 'input_attrs' => array(
1878
+ 'step' => 1,
1879
+ 'min' => 8,
1880
+ 'max' => 30,
1881
+ ),
1882
+ ),
1883
+ // h3 Line Height.
1884
+ 'h3_line_height' => array(
1885
+ 'title' => __( 'H3 Line Height', 'kadence-woocommerce-email-designer' ),
1886
+ 'control_type' => 'rangevalue',
1887
+ 'section' => 'headings_style',
1888
+ 'default' => self::get_default_value( 'h2_line_height' ),
1889
+ 'live_method' => 'css',
1890
+ 'selectors' => array(
1891
+ '#template_body h3' => array( 'line-height' ),
1892
+ ),
1893
+ 'input_attrs' => array(
1894
+ 'step' => 1,
1895
+ 'min' => 10,
1896
+ 'max' => 90,
1897
+ ),
1898
+ ),
1899
+ // h3 Font family.
1900
+ 'h3_font_family' => array(
1901
+ 'title' => __( 'H3 Font Family', 'kadence-woocommerce-email-designer' ),
1902
+ 'section' => 'headings_style',
1903
+ 'default' => self::get_default_value( 'h2_font_family' ),
1904
+ 'live_method' => 'css',
1905
+ 'type' => 'select',
1906
+ 'choices' => self::get_font_families(),
1907
+ 'selectors' => array(
1908
+ '#template_body h3' => array( 'font-family' ),
1909
+ ),
1910
+ ),
1911
+ // h3 Font style.
1912
+ 'h3_font_style' => array(
1913
+ 'title' => __( 'H3 Font Style', 'kadence-woocommerce-email-designer' ),
1914
+ 'section' => 'headings_style',
1915
+ 'default' => self::get_default_value( 'h3_font_style' ),
1916
+ 'live_method' => 'css',
1917
+ 'type' => 'select',
1918
+ 'choices' => array(
1919
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1920
+ 'italic' => __( 'Italic', 'kadence-woocommerce-email-designer' ),
1921
+ ),
1922
+ 'selectors' => array(
1923
+ '#template_body h3' => array( 'font-style' ),
1924
+ ),
1925
+ ),
1926
+ // h3 Font weight.
1927
+ 'h3_font_weight' => array(
1928
+ 'title' => __( 'H3 Font weight', 'kadence-woocommerce-email-designer' ),
1929
+ 'control_type' => 'rangevalue',
1930
+ 'section' => 'headings_style',
1931
+ 'default' => self::get_default_value( 'h3_font_weight' ),
1932
+ 'live_method' => 'css',
1933
+ 'selectors' => array(
1934
+ '#template_body h3' => array( 'font-weight' ),
1935
+ ),
1936
+ 'input_attrs' => array(
1937
+ 'step' => 100,
1938
+ 'min' => 100,
1939
+ 'max' => 900,
1940
+ ),
1941
+ ),
1942
+ // H3 color.
1943
+ 'h3_color' => array(
1944
+ 'title' => __( 'H3 Color', 'kadence-woocommerce-email-designer' ),
1945
+ 'section' => 'headings_style',
1946
+ 'control_type' => 'color',
1947
+ 'default' => self::get_default_value( 'h3_color' ),
1948
+ 'live_method' => 'css',
1949
+ 'selectors' => array(
1950
+ '#template_body h3' => array( 'color' ),
1951
+ ),
1952
+ ),
1953
+ // Order ITEMS.
1954
+ 'order_items_style' => array(
1955
+ 'title' => __( 'Order Table Style', 'kadence-woocommerce-email-designer' ),
1956
+ 'section' => 'items_table',
1957
+ 'default' => self::get_default_value( 'order_items_style' ),
1958
+ 'transport' => 'refresh',
1959
+ 'type' => 'select',
1960
+ 'choices' => array(
1961
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
1962
+ 'light' => __( 'Light', 'kadence-woocommerce-email-designer' ),
1963
+ ),
1964
+ ),
1965
+ // Order ITEMS Image.
1966
+ 'order_items_image' => array(
1967
+ 'title' => __( 'Product Image Option', 'kadence-woocommerce-email-designer' ),
1968
+ 'section' => 'items_table',
1969
+ 'default' => self::get_default_value( 'order_items_image' ),
1970
+ 'transport' => 'refresh',
1971
+ 'type' => 'select',
1972
+ 'choices' => array(
1973
+ 'normal' => __( 'Do not show', 'kadence-woocommerce-email-designer' ),
1974
+ 'show' => __( 'Show', 'kadence-woocommerce-email-designer' ),
1975
+ ),
1976
+ ),
1977
+ // Items table Background color.
1978
+ 'items_table_background_color' => array(
1979
+ 'title' => __( 'Order Table Background color', 'kadence-woocommerce-email-designer' ),
1980
+ 'section' => 'items_table',
1981
+ 'control_type' => 'color',
1982
+ 'default' => self::get_default_value( 'items_table_background_color' ),
1983
+ 'live_method' => 'css',
1984
+ 'selectors' => array(
1985
+ '#body_content_inner table.td' => array( 'background-color' ),
1986
+ ),
1987
+ ),
1988
+ // Items table Background color.
1989
+ 'items_table_background_odd_color' => array(
1990
+ 'title' => __( 'Order Table Background Odd Row Color', 'kadence-woocommerce-email-designer' ),
1991
+ 'section' => 'items_table',
1992
+ 'control_type' => 'color',
1993
+ 'default' => self::get_default_value( 'items_table_background_odd_color' ),
1994
+ 'live_method' => 'css',
1995
+ 'selectors' => array(
1996
+ '#body_content_inner table.td tbody tr:nth-child(even)' => array( 'background-color' ),
1997
+ '#body_content_inner table.td thead tr' => array( 'background-color' ),
1998
+ '#body_content_inner table.td tfoot tr:nth-child(odd)' => array( 'background-color' ),
1999
+ ),
2000
  ),
 
2001
 
2002
+ // Items table Padding.
2003
+ 'items_table_padding' => array(
2004
+ 'title' => __( 'Padding Top and Bottom', 'kadence-woocommerce-email-designer' ),
2005
+ 'control_type' => 'rangevalue',
2006
+ 'section' => 'items_table',
2007
+ 'default' => self::get_default_value( 'items_table_padding' ),
2008
+ 'live_method' => 'css',
2009
+ 'selectors' => array(
2010
+ '.order-items-normal #body_content_inner table.td th' => array( 'padding-top', 'padding-bottom' ),
2011
+ '.order-items-normal #body_content_inner table.td td' => array( 'padding-top', 'padding-bottom' ),
2012
+ '.order-items-light #body_content_inner table.td th' => array( 'padding-top', 'padding-bottom' ),
2013
+ '.order-items-light #body_content_inner table.td td' => array( 'padding-top', 'padding-bottom' ),
2014
+ ),
2015
+ 'input_attrs' => array(
2016
+ 'step' => 1,
2017
+ 'min' => 0,
2018
+ 'max' => 50,
2019
+ ),
2020
+ ),
2021
+ // Items table Padding Left and Right.
2022
+ 'items_table_padding_left_right' => array(
2023
+ 'title' => __( 'Padding Left and Right', 'kadence-woocommerce-email-designer' ),
2024
+ 'control_type' => 'rangevalue',
2025
+ 'section' => 'items_table',
2026
+ 'default' => str_replace( 'px', '', Kadence_Woomail_Customizer::opt( 'items_table_padding' ) ),
2027
+ 'live_method' => 'css',
2028
+ 'selectors' => array(
2029
+ '.order-items-normal #body_content_inner table.td th' => array( 'padding-left', 'padding-right' ),
2030
+ '.order-items-normal #body_content_inner table.td td' => array( 'padding-left', 'padding-right' ),
2031
+ ),
2032
+ 'input_attrs' => array(
2033
+ 'step' => 1,
2034
+ 'min' => 0,
2035
+ 'max' => 50,
2036
+ ),
2037
  ),
 
2038
 
2039
+ // Items table Border width
2040
+ 'items_table_border_width' => array(
2041
+ 'title' => __( 'Border Width', 'kadence-woocommerce-email-designer' ),
2042
+ 'control_type' => 'rangevalue',
2043
+ 'section' => 'items_table',
2044
+ 'default' => self::get_default_value( 'items_table_border_width' ),
2045
+ 'live_method' => 'css',
2046
+ 'selectors' => array(
2047
+ '.order-items-normal #body_content_inner .td' => array( 'border-width' ),
2048
+ '.order-items-light #body_content_inner table.td .td' => array( 'border-bottom-width' ),
2049
+ '.order-items-light #body_content_inner table.td' => array( 'border-top-width' ),
2050
+ ),
2051
+ 'input_attrs' => array(
2052
+ 'step' => 1,
2053
+ 'min' => 0,
2054
+ 'max' => 10,
2055
+ ),
2056
+ ),
2057
+
2058
+ // Items table Border color
2059
+ 'items_table_border_color' => array(
2060
+ 'title' => __( 'Border Color', 'kadence-woocommerce-email-designer' ),
2061
+ 'section' => 'items_table',
2062
+ 'control_type' => 'color',
2063
+ 'default' => self::get_default_value( 'items_table_border_color' ),
2064
+ 'live_method' => 'css',
2065
+ 'selectors' => array(
2066
+ '#body_content_inner .td' => array( 'border-color' ),
2067
+ ),
2068
+ ),
2069
+ // tems table border style
2070
+ 'items_table_border_style' => array(
2071
+ 'title' => __( 'Border Style', 'kadence-woocommerce-email-designer' ),
2072
+ 'section' => 'items_table',
2073
+ 'default' => self::get_default_value( 'items_table_border_style' ),
2074
+ 'live_method' => 'css',
2075
+ 'type' => 'select',
2076
+ 'choices' => array(
2077
+ 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2078
+ 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2079
+ 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2080
+ 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2081
+ 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2082
+ 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2083
+ ),
2084
+ 'selectors' => array(
2085
+ '.order-items-normal #body_content_inner .td' => array( 'border-style' ),
2086
+ '.order-items-light #body_content_inner table.td .td' => array( 'border-bottom-style' ),
2087
+ '.order-items-light #body_content_inner table.td' => array( 'border-top-style' ),
2088
+ ),
2089
+ ),
2090
+ // Order ITEMS
2091
+ 'order_heading_style' => array(
2092
+ 'title' => __( 'Order Table Heading Style', 'kadence-woocommerce-email-designer' ),
2093
+ 'section' => 'items_table',
2094
+ 'default' => self::get_default_value( 'order_heading_style' ),
2095
+ 'transport' => 'refresh',
2096
+ 'type' => 'select',
2097
+ 'choices' => array(
2098
+ 'normal' => __( 'Normal', 'kadence-woocommerce-email-designer' ),
2099
+ 'split' => __( 'Split', 'kadence-woocommerce-email-designer' ),
2100
+ ),
2101
+ ),
2102
+ 'notes_outside_table' => array(
2103
+ 'title' => __( 'Enable Order Notes to be moved below table.', 'kadence-woocommerce-email-designer' ),
2104
+ 'control_type' => 'toggleswitch',
2105
+ 'section' => 'items_table',
2106
+ 'transport' => 'refresh',
2107
+ 'default' => self::get_default_value( 'notes_outside_table' ),
2108
+ 'active_callback' => array(
2109
+ 'id' => 'responsive_mode',
2110
+ 'compare' => '==',
2111
+ 'value' => false,
2112
+ ),
2113
+ ),
2114
+ // addresses Background color
2115
+ 'addresses_background_color' => array(
2116
+ 'title' => __( 'Address Box Background color', 'kadence-woocommerce-email-designer' ),
2117
+ 'section' => 'addresses',
2118
+ 'control_type' => 'color',
2119
+ 'default' => self::get_default_value( 'addresses_background_color' ),
2120
+ 'live_method' => 'css',
2121
+ 'selectors' => array(
2122
+ '#body_content_inner .address-td' => array( 'background-color' ),
2123
+ ),
2124
+ ),
2125
+ // addresses Padding
2126
+ 'addresses_padding' => array(
2127
+ 'title' => __( 'Address Box Padding', 'kadence-woocommerce-email-designer' ),
2128
+ 'control_type' => 'rangevalue',
2129
+ 'section' => 'addresses',
2130
+ 'default' => self::get_default_value( 'addresses_padding' ),
2131
+ 'live_method' => 'css',
2132
+ 'selectors' => array(
2133
+ '#body_content_inner .address-td' => array( 'padding' ),
2134
+ ),
2135
+ 'input_attrs' => array(
2136
+ 'step' => 1,
2137
+ 'min' => 0,
2138
+ 'max' => 100,
2139
+ ),
2140
+ ),
2141
+ // addresses Border width
2142
+ 'addresses_border_width' => array(
2143
+ 'title' => __( 'Address Box Border Width', 'kadence-woocommerce-email-designer' ),
2144
+ 'control_type' => 'rangevalue',
2145
+ 'section' => 'addresses',
2146
+ 'default' => self::get_default_value( 'addresses_border_width' ),
2147
+ 'live_method' => 'css',
2148
+ 'selectors' => array(
2149
+ '#body_content_inner .address-td' => array( 'border-width' ),
2150
+ ),
2151
+ 'input_attrs' => array(
2152
+ 'step' => 1,
2153
+ 'min' => 0,
2154
+ 'max' => 10,
2155
+ ),
2156
+ ),
2157
+ // addresses Border color
2158
+ 'addresses_border_color' => array(
2159
+ 'title' => __( 'Address Box Border Color', 'kadence-woocommerce-email-designer' ),
2160
+ 'section' => 'addresses',
2161
+ 'control_type' => 'color',
2162
+ 'default' => self::get_default_value( 'addresses_border_color' ),
2163
+ 'live_method' => 'css',
2164
+ 'selectors' => array(
2165
+ '#body_content_inner .address-td' => array( 'border-color' ),
2166
+ ),
2167
+ ),
2168
+ // h2 style
2169
+ 'addresses_border_style' => array(
2170
+ 'title' => __( 'Address Box Border Style', 'kadence-woocommerce-email-designer' ),
2171
+ 'section' => 'addresses',
2172
+ 'default' => self::get_default_value( 'addresses_border_style' ),
2173
+ 'live_method' => 'css',
2174
+ 'type' => 'select',
2175
+ 'choices' => array(
2176
+ 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2177
+ 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2178
+ 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2179
+ 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2180
+ 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2181
+ 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2182
+ ),
2183
+ 'selectors' => array(
2184
+ '#body_content_inner .address-td' => array( 'border-style' ),
2185
+ ),
2186
  ),
2187
+ // addresses color
2188
+ 'addresses_text_color' => array(
2189
+ 'title' => __( 'Address Box Text Color', 'kadence-woocommerce-email-designer' ),
2190
+ 'section' => 'addresses',
2191
+ 'control_type' => 'color',
2192
+ 'default' => self::get_default_value( 'addresses_text_color' ),
2193
+ 'live_method' => 'css',
2194
+ 'selectors' => array(
2195
+ '#body_content_inner .address-td' => array( 'color' ),
2196
+ ),
2197
+ ),
2198
+ // addresses text align
2199
+ 'addresses_text_align' => array(
2200
+ 'title' => __( 'Address Box Text Align', 'kadence-woocommerce-email-designer' ),
2201
+ 'section' => 'addresses',
2202
+ 'default' => self::get_default_value( 'addresses_text_align' ),
2203
+ 'live_method' => 'css',
2204
+ 'type' => 'select',
2205
+ 'choices' => self::get_text_aligns(),
2206
+ 'selectors' => array(
2207
+ '#body_content_inner .address-td' => array( 'text-align' ),
2208
+ ),
2209
+ ),
2210
+ // Footer Background Width
2211
+ 'footer_background_placement' => array(
2212
+ 'title' => __( 'Footer Background Placement', 'kadence-woocommerce-email-designer' ),
2213
+ 'section' => 'footer_style',
2214
+ 'default' => self::get_default_value( 'footer_background_placement' ),
2215
+ 'transport' => 'refresh',
2216
+ 'type' => 'select',
2217
+ 'choices' => array(
2218
+ 'inside' => __( 'Inside Body Container', 'kadence-woocommerce-email-designer' ),
2219
+ 'outside' => __( 'Outside Body Container', 'kadence-woocommerce-email-designer' ),
2220
+ ),
2221
+ ),
2222
+ // Footer Background Color
2223
+ 'footer_background_color' => array(
2224
+ 'title' => __( 'Footer Background Color', 'kadence-woocommerce-email-designer' ),
2225
+ 'section' => 'footer_style',
2226
+ 'control_type' => 'color',
2227
+ 'default' => self::get_default_value( 'footer_background_color' ),
2228
+ 'live_method' => 'css',
2229
+ 'selectors' => array(
2230
+ '#template_footer_container' => array( 'background-color' ),
2231
+ ),
2232
+ ),
2233
+ // Footer Top Padding
2234
+ 'footer_top_padding' => array(
2235
+ 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2236
+ 'control_type' => 'rangevalue',
2237
+ 'section' => 'footer_style',
2238
+ 'default' => self::get_default_value( 'footer_top_padding' ),
2239
+ 'live_method' => 'css',
2240
+ 'selectors' => array(
2241
+ '#template_footer #template_footer_inside' => array( 'padding-top' ),
2242
+ ),
2243
+ 'input_attrs' => array(
2244
+ 'step' => 1,
2245
+ 'min' => 0,
2246
+ 'max' => 150,
2247
+ ),
2248
+ ),
2249
+ // Footer Bottom Padding
2250
+ 'footer_bottom_padding' => array(
2251
+ 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2252
+ 'control_type' => 'rangevalue',
2253
+ 'section' => 'footer_style',
2254
+ 'default' => self::get_default_value( 'footer_bottom_padding' ),
2255
+ 'live_method' => 'css',
2256
+ 'selectors' => array(
2257
+ '#template_footer #template_footer_inside' => array( 'padding-bottom' ),
2258
+ ),
2259
+ 'input_attrs' => array(
2260
+ 'step' => 1,
2261
+ 'min' => 0,
2262
+ 'max' => 150,
2263
+ ),
2264
+ ),
2265
+ // Footer left and right Padding
2266
+ 'footer_left_right_padding' => array(
2267
+ 'title' => __( 'Left/Right Padding', 'kadence-woocommerce-email-designer' ),
2268
+ 'control_type' => 'rangevalue',
2269
+ 'section' => 'footer_style',
2270
+ 'default' => self::get_default_value( 'footer_left_right_padding' ),
2271
+ 'live_method' => 'css',
2272
+ 'selectors' => array(
2273
+ '#template_footer #template_footer_inside' => array( 'padding-left', 'padding-right' ),
2274
+ ),
2275
+ 'input_attrs' => array(
2276
+ 'step' => 1,
2277
+ 'min' => 0,
2278
+ 'max' => 150,
2279
+ ),
2280
+ ),
2281
+ 'footer_social_enable' => array(
2282
+ 'title' => __( 'Enable Social Section', 'kadence-woocommerce-email-designer' ),
2283
+ 'control_type' => 'toggleswitch',
2284
+ 'section' => 'footer_social',
2285
+ 'transport' => 'refresh',
2286
+ 'default' => self::get_default_value( 'footer_social_enable' ),
2287
+ ),
2288
+ // Footer social repeater
2289
+ 'footer_social_repeater' => array(
2290
+ 'title' => __( 'Footer Social Options', 'kadence-woocommerce-email-designer' ),
2291
+ 'control_type' => 'repeater',
2292
+ 'transport' => 'refresh',
2293
+ 'section' => 'footer_social',
2294
+ 'default' => self::get_default_value( 'social_options' ),
2295
+ 'customizer_repeater_image_control' => true,
2296
+ 'customizer_repeater_icon_control' => true,
2297
+ 'customizer_repeater_icon_color' => true,
2298
+ 'customizer_repeater_title_control' => true,
2299
+ 'customizer_repeater_link_control' => true,
2300
+ 'santitize_callback' => 'customizer_repeater_sanitize',
2301
+ ),
2302
+ // Footer Social Title Color
2303
+ 'footer_social_title_color' => array(
2304
+ 'title' => __( 'Footer Social Title Color', 'kadence-woocommerce-email-designer' ),
2305
+ 'section' => 'footer_social',
2306
+ 'default' => self::get_default_value( 'footer_social_title_color' ),
2307
+ 'live_method' => 'css',
2308
+ 'selectors' => array(
2309
+ '#template_footer a.ft-social-link' => array( 'color' ),
2310
+ ),
2311
+ 'control_type' => 'color',
2312
+ ),
2313
+ // Footer Social Title Font size
2314
+ 'footer_social_title_size' => array(
2315
+ 'title' => __( 'Footer Social Title Font Size', 'kadence-woocommerce-email-designer' ),
2316
+ 'control_type' => 'rangevalue',
2317
+ 'section' => 'footer_social',
2318
+ 'default' => self::get_default_value( 'footer_social_title_font_size' ),
2319
+ 'live_method' => 'css',
2320
+ 'selectors' => array(
2321
+ '#template_footer .ft-social-title' => array( 'font-size' ),
2322
+ ),
2323
+ 'input_attrs' => array(
2324
+ 'step' => 1,
2325
+ 'min' => 8,
2326
+ 'max' => 30,
2327
+ ),
2328
+ ),
2329
+ // Footer Social Title Font family
2330
+ 'footer_social_title_font_family' => array(
2331
+ 'title' => __( 'Footer Social Title Font Family', 'kadence-woocommerce-email-designer' ),
2332
+ 'section' => 'footer_social',
2333
+ 'default' => self::get_default_value( 'footer_social_title_font_family' ),
2334
+ 'live_method' => 'css',
2335
+ 'type' => 'select',
2336
+ 'choices' => self::get_font_families(),
2337
+ 'selectors' => array(
2338
+ '#template_footer a.ft-social-link' => array( 'font-family' ),
2339
+ ),
2340
+ ),
2341
+ // Footer Social Title Font weight
2342
+ 'footer_social_title_font_weight' => array(
2343
+ 'title' => __( 'Footer Social Title Font Weight', 'kadence-woocommerce-email-designer' ),
2344
+ 'control_type' => 'rangevalue',
2345
+ 'section' => 'footer_social',
2346
+ 'default' => self::get_default_value( 'footer_social_title_font_weight' ),
2347
+ 'live_method' => 'css',
2348
+ 'selectors' => array(
2349
+ '#template_footer .ft-social-title' => array( 'font-weight' ),
2350
+ ),
2351
+ 'input_attrs' => array(
2352
+ 'step' => 100,
2353
+ 'min' => 100,
2354
+ 'max' => 900,
2355
+ ),
2356
+ ),
2357
+ // Footer Social Top Padding
2358
+ 'footer_social_top_padding' => array(
2359
+ 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2360
+ 'control_type' => 'rangevalue',
2361
+ 'section' => 'footer_social',
2362
+ 'default' => self::get_default_value( 'footer_social_top_padding' ),
2363
+ 'live_method' => 'css',
2364
+ 'selectors' => array(
2365
+ '#template_footer #footersocial td' => array( 'padding-top' ),
2366
+ ),
2367
+ 'input_attrs' => array(
2368
+ 'step' => 1,
2369
+ 'min' => 0,
2370
+ 'max' => 150,
2371
+ ),
2372
+ ),
2373
+ // Footer Social Bottom Padding
2374
+ 'footer_social_bottom_padding' => array(
2375
+ 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2376
+ 'control_type' => 'rangevalue',
2377
+ 'section' => 'footer_social',
2378
+ 'default' => self::get_default_value( 'footer_social_bottom_padding' ),
2379
+ 'live_method' => 'css',
2380
+ 'selectors' => array(
2381
+ '#template_footer #footersocial td' => array( 'padding-bottom' ),
2382
+ ),
2383
+ 'input_attrs' => array(
2384
+ 'step' => 1,
2385
+ 'min' => 0,
2386
+ 'max' => 150,
2387
+ ),
2388
+ ),
2389
+ // Footer Social Bottom Border width
2390
+ 'footer_social_border_width' => array(
2391
+ 'title' => __( 'Footer Social Bottom Border Width', 'kadence-woocommerce-email-designer' ),
2392
+ 'control_type' => 'rangevalue',
2393
+ 'section' => 'footer_social',
2394
+ 'default' => self::get_default_value( 'footer_social_border_width' ),
2395
+ 'live_method' => 'css',
2396
+ 'selectors' => array(
2397
+ '#footersocial' => array( 'border-bottom-width' ),
2398
+ ),
2399
+ 'input_attrs' => array(
2400
+ 'step' => 1,
2401
+ 'min' => 0,
2402
+ 'max' => 10,
2403
+ ),
2404
+ ),
2405
+ // Footer Social Bottom Bordercolor
2406
+ 'footer_social_border_color' => array(
2407
+ 'title' => __( 'Footer Social Bottom Border Color', 'kadence-woocommerce-email-designer' ),
2408
+ 'section' => 'footer_social',
2409
+ 'control_type' => 'color',
2410
+ 'default' => self::get_default_value( 'footer_social_border_color' ),
2411
+ 'live_method' => 'css',
2412
+ 'selectors' => array(
2413
+ '#footersocial' => array( 'border-bottom-color' ),
2414
+ ),
2415
+ ),
2416
+ // Footer Social Bottom Border style
2417
+ 'footer_social_border_style' => array(
2418
+ 'title' => __( 'Footer Social Bottom Border Style', 'kadence-woocommerce-email-designer' ),
2419
+ 'section' => 'footer_social',
2420
+ 'default' => self::get_default_value( 'footer_social_border_style' ),
2421
+ 'live_method' => 'css',
2422
+ 'type' => 'select',
2423
+ 'choices' => array(
2424
+ 'solid' => __( 'Solid', 'kadence-woocommerce-email-designer' ),
2425
+ 'double' => __( 'Double', 'kadence-woocommerce-email-designer' ),
2426
+ 'groove' => __( 'Groove', 'kadence-woocommerce-email-designer' ),
2427
+ 'dotted' => __( 'Dotted', 'kadence-woocommerce-email-designer' ),
2428
+ 'dashed' => __( 'Dashed', 'kadence-woocommerce-email-designer' ),
2429
+ 'ridge' => __( 'Ridge', 'kadence-woocommerce-email-designer' ),
2430
+ ),
2431
+ 'selectors' => array(
2432
+ '#footersocial' => array( 'border-bottom-style' ),
2433
+ ),
2434
+ ),
2435
+ // Footer Text align
2436
+ 'footer_text_align' => array(
2437
+ 'title' => __( 'Text Align', 'kadence-woocommerce-email-designer' ),
2438
+ 'section' => 'footer_content',
2439
+ 'default' => self::get_default_value( 'footer_text_align' ),
2440
+ 'live_method' => 'css',
2441
+ 'type' => 'select',
2442
+ 'choices' => self::get_text_aligns(),
2443
+ 'selectors' => array(
2444
+ '#template_footer #credit' => array( 'text-align' ),
2445
+ ),
2446
  ),
 
2447
 
2448
+ // Footer Font size
2449
+ 'footer_font_size' => array(
2450
+ 'title' => __( 'Font Size', 'kadence-woocommerce-email-designer' ),
2451
+ 'control_type' => 'rangevalue',
2452
+ 'section' => 'footer_content',
2453
+ 'default' => self::get_default_value( 'footer_font_size' ),
2454
+ 'live_method' => 'css',
2455
+ 'selectors' => array(
2456
+ '#template_footer #credit' => array( 'font-size' ),
2457
+ ),
2458
+ 'input_attrs' => array(
2459
+ 'step' => 1,
2460
+ 'min' => 8,
2461
+ 'max' => 30,
2462
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2463
  ),
2464
+ // Footer Font family
2465
+ 'footer_font_family' => array(
2466
+ 'title' => __( 'Font Family', 'kadence-woocommerce-email-designer' ),
2467
+ 'section' => 'footer_content',
2468
+ 'default' => self::get_default_value( 'footer_font_family' ),
2469
+ 'live_method' => 'css',
2470
+ 'type' => 'select',
2471
+ 'choices' => self::get_font_families(),
2472
+ 'selectors' => array(
2473
+ '#template_footer #credit' => array( 'font-family' ),
2474
+ ),
2475
+ ),
2476
+
2477
+ // Footer Font weight
2478
+ 'footer_font_weight' => array(
2479
+ 'title' => __( 'Font weight', 'kadence-woocommerce-email-designer' ),
2480
+ 'control_type' => 'rangevalue',
2481
+ 'section' => 'footer_content',
2482
+ 'default' => self::get_default_value( 'footer_font_weight' ),
2483
+ 'live_method' => 'css',
2484
+ 'selectors' => array(
2485
+ '#template_footer #credit' => array( 'font-weight' ),
2486
+ ),
2487
+ 'input_attrs' => array(
2488
+ 'step' => 100,
2489
+ 'min' => 100,
2490
+ 'max' => 900,
2491
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2492
  ),
2493
+
2494
+ // Footer Color
2495
+ 'footer_color' => array(
2496
+ 'title' => __( 'Text Color', 'kadence-woocommerce-email-designer' ),
2497
+ 'section' => 'footer_content',
2498
+ 'control_type' => 'color',
2499
+ 'default' => self::get_default_value( 'footer_color' ),
2500
+ 'live_method' => 'css',
2501
+ 'selectors' => array(
2502
+ '#template_footer #credit' => array( 'color' ),
2503
+ ),
2504
+ ),
2505
+ // Footer credit Top Padding
2506
+ 'footer_credit_top_padding' => array(
2507
+ 'title' => __( 'Top Padding', 'kadence-woocommerce-email-designer' ),
2508
+ 'control_type' => 'rangevalue',
2509
+ 'section' => 'footer_content',
2510
+ 'default' => self::get_default_value( 'footer_credit_top_padding' ),
2511
+ 'live_method' => 'css',
2512
+ 'selectors' => array(
2513
+ '#template_footer #credit' => array( 'padding-top' ),
2514
+ ),
2515
+ 'input_attrs' => array(
2516
+ 'step' => 1,
2517
+ 'min' => 0,
2518
+ 'max' => 150,
2519
+ ),
2520
+ ),
2521
+ // Footer credit Bottom Padding
2522
+ 'footer_credit_bottom_padding' => array(
2523
+ 'title' => __( 'Bottom Padding', 'kadence-woocommerce-email-designer' ),
2524
+ 'control_type' => 'rangevalue',
2525
+ 'section' => 'footer_content',
2526
+ 'default' => self::get_default_value( 'footer_credit_bottom_padding' ),
2527
+ 'live_method' => 'css',
2528
+ 'selectors' => array(
2529
+ '#template_footer #credit' => array( 'padding-bottom' ),
2530
+ ),
2531
+ 'input_attrs' => array(
2532
+ 'step' => 1,
2533
+ 'min' => 0,
2534
+ 'max' => 150,
2535
+ ),
2536
+ ),
2537
+ // Button Color.
2538
+ 'btn_color' => array(
2539
+ 'title' => __( 'Button Text Color', 'kadence-woocommerce-email-designer' ),
2540
+ 'section' => 'btn_styles',
2541
+ 'default' => self::get_default_value( 'btn_color' ),
2542
+ 'live_method' => 'css',
2543
+ 'selectors' => array(
2544
+ 'a.btn' => array( 'color' ),
2545
+ ),
2546
+ 'control_type' => 'color',
2547
+ ),
2548
+ // Button Text Size.
2549
+ 'btn_size' => array(
2550
+ 'title' => __( 'Button Font Size', 'kadence-woocommerce-email-designer' ),
2551
+ 'control_type' => 'rangevalue',
2552
+ 'section' => 'btn_styles',
2553
+ 'default' => self::get_default_value( 'btn_size' ),
2554
+ 'live_method' => 'css',
2555
+ 'selectors' => array(
2556
+ 'a.btn' => array( 'font-size' ),
2557
+ ),
2558
+ 'input_attrs' => array(
2559
+ 'step' => 1,
2560
+ 'min' => 8,
2561
+ 'max' => 30,
2562
+ ),
2563
+ ),
2564
+ // Button Font Family
2565
+ 'btn_font_family' => array(
2566
+ 'title' => __( 'Button Font Family', 'kadence-woocommerce-email-designer' ),
2567
+ 'section' => 'btn_styles',
2568
+ 'default' => self::get_default_value( 'btn_font_family' ),
2569
+ 'live_method' => 'css',
2570
+ 'type' => 'select',
2571
+ 'choices' => self::get_font_families(),
2572
+ 'selectors' => array(
2573
+ 'a.btn' => array( 'font-family' ),
2574
+ ),
2575
+ ),
2576
+ // Button Font weight.
2577
+ 'btn_font_weight' => array(
2578
+ 'title' => __( 'Button Font Weight', 'kadence-woocommerce-email-designer' ),
2579
+ 'control_type' => 'rangevalue',
2580
+ 'section' => 'btn_styles',
2581
+ 'default' => self::get_default_value( 'btn_font_weight' ),
2582
+ 'live_method' => 'css',
2583
+ 'selectors' => array(
2584
+ 'a.btn' => array( 'font-weight' ),
2585
+ ),
2586
+ 'input_attrs' => array(
2587
+ 'step' => 100,
2588
+ 'min' => 100,
2589
+ 'max' => 900,
2590
+ ),
2591
+ ),
2592
+ // Button Background Color.
2593
+ 'btn_bg_color' => array(
2594
+ 'title' => __( 'Button Background Color', 'kadence-woocommerce-email-designer' ),
2595
+ 'section' => 'btn_styles',
2596
+ 'default' => self::get_default_value( 'btn_bg_color' ),
2597
+ 'live_method' => 'css',
2598
+ 'selectors' => array(
2599
+ 'a.btn' => array( 'background' ),
2600
+ ),
2601
+ 'control_type' => 'color',
2602
+ ),
2603
+ // Button Top and bottom Padding.
2604
+ 'btn_top_bottom_padding' => array(
2605
+ 'title' => __( 'Top and Bottom Padding', 'kadence-woocommerce-email-designer' ),
2606
+ 'control_type' => 'rangevalue',
2607
+ 'section' => 'btn_styles',
2608
+ 'default' => self::get_default_value( 'btn_top_bottom_padding' ),
2609
+ 'live_method' => 'css',
2610
+ 'selectors' => array(
2611
+ 'a.btn' => array( 'padding-top', 'padding-bottom' ),
2612
+ ),
2613
+ 'input_attrs' => array(
2614
+ 'step' => 1,
2615
+ 'min' => 0,
2616
+ 'max' => 150,
2617
+ ),
2618
+ ),
2619
+ // Button Left and Right Padding.
2620
+ 'btn_left_right_padding' => array(
2621
+ 'title' => __( 'Left and Right Padding', 'kadence-woocommerce-email-designer' ),
2622
+ 'control_type' => 'rangevalue',
2623
+ 'section' => 'btn_styles',
2624
+ 'default' => self::get_default_value( 'btn_left_right_padding' ),
2625
+ 'live_method' => 'css',
2626
+ 'selectors' => array(
2627
+ 'a.btn' => array( 'padding-left', 'padding-right' ),
2628
+ ),
2629
+ 'input_attrs' => array(
2630
+ 'step' => 1,
2631
+ 'min' => 0,
2632
+ 'max' => 150,
2633
+ ),
2634
+ ),
2635
+ // Button Border Width.
2636
+ 'btn_border_width' => array(
2637
+ 'title' => __( 'Button Border Width', 'kadence-woocommerce-email-designer' ),
2638
+ 'control_type' => 'rangevalue',
2639
+ 'section' => 'btn_styles',
2640
+ 'default' => self::get_default_value( 'btn_border_width' ),
2641
+ 'live_method' => 'css',
2642
+ 'selectors' => array(
2643
+ 'a.btn' => array( 'border-width' ),
2644
+ ),
2645
+ 'input_attrs' => array(
2646
+ 'step' => 1,
2647
+ 'min' => 0,
2648
+ 'max' => 10,
2649
+ ),
2650
+ ),
2651
+ // Border radius
2652
+ 'btn_border_radius' => array(
2653
+ 'title' => __( 'Border radius', 'kadence-woocommerce-email-designer' ),
2654
+ 'control_type' => 'rangevalue',
2655
+ 'section' => 'container',
2656
+ 'default' => self::get_default_value( 'btn_border_radius' ),
2657
+ 'live_method' => 'css',
2658
+ 'description' => __( 'Warning: most desktop email clients do not yet support this.', 'kadence-woocommerce-email-designer' ),
2659
+ 'selectors' => array(
2660
+ 'a.btn' => array( 'border-radius' ),
2661
+ ),
2662
+ 'input_attrs' => array(
2663
+ 'step' => 1,
2664
+ 'min' => 0,
2665
+ 'max' => 100,
2666
+ ),
2667
+ ),
2668
+ // Button Bordercolor
2669
+ 'btn_border_color' => array(
2670
+ 'title' => __( 'Button Border Color', 'kadence-woocommerce-email-designer' ),
2671
+ 'section' => 'btn_styles',
2672
+ 'control_type' => 'color',
2673
+ 'default' => self::get_default_value( 'btn_border_color' ),
2674
+ 'live_method' => 'css',
2675
+ 'selectors' => array(
2676
+ 'a.btn' => array( 'border-color' ),
2677
+ ),
2678
+ ),
2679
+ // Button Text align
2680
+ 'btn_text_align' => array(
2681
+ 'title' => __( 'Button Align', 'kadence-woocommerce-email-designer' ),
2682
+ 'section' => 'btn_styles',
2683
+ 'default' => self::get_default_value( 'btn_text_align' ),
2684
+ 'live_method' => 'css',
2685
+ 'type' => 'select',
2686
+ 'choices' => self::get_text_aligns(),
2687
+ 'selectors' => array(
2688
+ '#body_content_inner .btn-container' => array( 'text-align' ),
2689
+ ),
2690
+ ),
2691
+ 'custom_css' => array(
2692
+ 'title' => __( 'Custom CSS', 'kadence-woocommerce-email-designer' ),
2693
+ 'section' => 'custom_styles',
2694
+ 'default' => '',
2695
+ 'type' => 'textarea',
2696
+ 'live_method' => 'replace',
2697
+ 'original' => '',
2698
+ 'selectors' => array(
2699
+ 'style#kadence_woomail_designer_custom_css',
2700
+ ),
2701
+ ),
2702
+ 'import_export' => array(
2703
+ 'title' => __( 'Import Export', 'kadence-woocommerce-email-designer' ),
2704
+ 'section' => 'import_export',
2705
+ 'default' => '',
2706
+ 'control_type' => 'kwdimportexport',
2707
+ ),
2708
+ 'email_recipient' => array(
2709
+ 'title' => __( 'Preview Email Recipient', 'kadence-woocommerce-email-designer' ),
2710
+ 'description' => __( 'Enter recipients (comma separated) for preview emails', 'kadence-woocommerce-email-designer' ),
2711
+ 'section' => 'send_email',
2712
+ 'default' => self::get_default_value( 'email_recipient' ),
2713
+ 'control_type' => 'kwdsendemail',
2714
+ ),
2715
+ );
2716
+ $mainoptions = array_merge( $mainoptions, $main );
2717
+ self::$settings = array_merge( $extra_email_text, $mainoptions );
2718
 
2719
  }
2720
 
2731
  // Define default values
2732
  if ( is_null( self::$default_values ) ) {
2733
  $default_values = array(
2734
+ 'preview_order_id' => 'mockup',
2735
+ 'email_type' => 'new_order',
2736
+ 'email_templates' => 'default',
2737
+ 'body_background_color' => '#fdfdfd',
2738
+ 'border_radius' => '3',
2739
+ 'border_width' => '1',
2740
+ 'border_color' => '#dedede',
2741
+ 'responsive_mode' => false,
2742
+ 'shadow' => '1',
2743
+ 'content_width' => '600',
2744
+ 'email_padding' => '70',
2745
+ 'background_color' => '#ffffff',
2746
+ 'header_image_maxwidth' => '300',
2747
+ 'header_image_align' => 'center',
2748
+ 'header_image_background_color' => 'transparent',
2749
+ 'header_image_padding_top_bottom' => '0',
2750
+ 'header_image_placement' => 'outside',
2751
+ 'woocommerce_waitlist_mailout_body' => __( 'Hi There,', 'kadence-woocommerce-email-designer' ),
2752
+ 'woocommerce_waitlist_mailout_heading' => __( '{product_title} is now back in stock at {site_title}', 'kadence-woocommerce-email-designer' ),
2753
+ 'woocommerce_waitlist_mailout_subject' => __( 'A product you are waiting for is back in stock', 'kadence-woocommerce-email-designer' ),
2754
+ 'new_renewal_order_heading' => __( 'New customer order', 'kadence-woocommerce-email-designer' ),
2755
+ 'new_renewal_order_subject' => __( '[{site_title}] New customer order ({order_number}) - {order_date}', 'kadence-woocommerce-email-designer' ),
2756
+ 'new_renewal_order_body' => __( 'You have received a subscription renewal order from {customer_full_name}. Their order is as follows:', 'kadence-woocommerce-email-designer' ),
2757
+ 'customer_processing_renewal_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2758
+ 'customer_processing_renewal_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2759
+ 'customer_processing_renewal_order_body' => __( 'Your subscription renewal order has been received and is now being processed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2760
+ 'customer_completed_renewal_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2761
+ 'customer_completed_renewal_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2762
+ 'customer_completed_renewal_order_body' => __( 'Hi there. Your subscription renewal order with {site_title} has been completed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2763
+ 'customer_completed_switch_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2764
+ 'customer_completed_switch_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2765
+ 'customer_completed_switch_order_body' => __( 'Hi there. You have successfully changed your subscription items on {site_title}. Your new order and subscription details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2766
+ 'customer_renewal_invoice_heading' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2767
+ 'customer_renewal_invoice_subject' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2768
+ 'customer_renewal_invoice_body' => __( 'An invoice has been created for you to renew your subscription with {site_title}. To pay for this invoice please use the following link: {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2769
+ 'customer_renewal_invoice_btn_switch' => false,
2770
+ 'customer_renewal_invoice_body_failed' => __( 'The automatic payment to renew your subscription with {site_title} has failed. To reactivate the subscription, please login and pay for the renewal from your account page: {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2771
+ 'cancelled_subscription_heading' => __( 'Subscription Cancelled', 'kadence-woocommerce-email-designer' ),
2772
+ 'cancelled_subscription_subject' => __( '[{site_title}] Subscription Cancelled', 'kadence-woocommerce-email-designer' ),
2773
+ 'cancelled_subscription_body' => __( 'A subscription belonging to {customer_full_name} has been cancelled. Their subscription\'s details are as follows:', 'kadence-woocommerce-email-designer' ),
2774
+ 'customer_payment_retry_heading' => __( 'Automatic payment failed for order {order_number}', 'kadence-woocommerce-email-designer' ),
2775
+ 'customer_payment_retry_subject' => __( 'Automatic payment failed for {order_number}, we will retry {retry_time}', 'kadence-woocommerce-email-designer' ),
2776
+ 'customer_payment_retry_body' => '',
2777
+ 'customer_payment_retry_override' => false,
2778
+ 'new_order_heading' => __( 'New customer order', 'kadence-woocommerce-email-designer' ),
2779
+ 'cancelled_order_heading' => __( 'Cancelled order', 'kadence-woocommerce-email-designer' ),
2780
+ 'customer_processing_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2781
+ 'new_order_additional_content' => __( 'Congratulations on the sale!', 'kadence-woocommerce-email-designer' ),
2782
+ 'customer_processing_order_additional_content' => __( 'Thanks for using {site_address}!', 'kadence-woocommerce-email-designer' ),
2783
+ 'customer_completed_order_additional_content' => __( 'Thanks for shopping with us.', 'kadence-woocommerce-email-designer' ),
2784
+ 'customer_refunded_order_additional_content' => __( 'We hope to see you again soon.', 'kadence-woocommerce-email-designer' ),
2785
+ 'customer_on_hold_order_additional_content' => __( 'We look forward to fulfilling your order soon.', 'kadence-woocommerce-email-designer' ),
2786
+ 'customer_new_account_additional_content' => __( 'We look forward to seeing you soon.', 'kadence-woocommerce-email-designer' ),
2787
+ 'customer_reset_password_additional_content' => __( 'Thanks for reading.', 'kadence-woocommerce-email-designer' ),
2788
+ 'customer_completed_order_heading' => __( 'Your order is complete', 'kadence-woocommerce-email-designer' ),
2789
+ 'customer_refunded_order_heading_full' => __( 'Order {order_number} details', 'kadence-woocommerce-email-designer' ),
2790
+ 'customer_refunded_order_heading_partial' => __( 'Your order has been partially refunded', 'kadence-woocommerce-email-designer' ),
2791
+ 'customer_on_hold_order_heading' => __( 'Thank you for your order', 'kadence-woocommerce-email-designer' ),
2792
+ 'customer_invoice_heading' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2793
+ 'customer_invoice_heading_paid' => __( 'Your order details', 'kadence-woocommerce-email-designer' ),
2794
+ 'failed_order_heading' => __( 'Failed order', 'kadence-woocommerce-email-designer' ),
2795
+ 'customer_new_account_heading' => __( 'Welcome to {site_title}', 'kadence-woocommerce-email-designer' ),
2796
+ 'customer_note_heading' => __( 'A note has been added to your order', 'kadence-woocommerce-email-designer' ),
2797
+ 'customer_reset_password_heading' => __( 'Password reset instructions', 'kadence-woocommerce-email-designer' ),
2798
+ 'customer_reset_password_btn_switch' => false,
2799
+ 'new_order_subject' => __( '[{site_title}] New customer order ({order_number}) - {order_date}', 'kadence-woocommerce-email-designer' ),
2800
+ 'cancelled_order_subject' => __( '[{site_title}] Cancelled order ({order_number})', 'kadence-woocommerce-email-designer' ),
2801
+ 'customer_processing_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2802
+ 'customer_completed_order_subject' => __( 'Your {site_title} order from {order_date} is complete', 'kadence-woocommerce-email-designer' ),
2803
+ 'customer_refunded_order_subject_full' => __( 'Your {site_title} order from {order_date} has been refunded', 'kadence-woocommerce-email-designer' ),
2804
+ 'customer_refunded_order_subject_partial' => __( 'Your {site_title} order from {order_date} has been partially refunded', 'kadence-woocommerce-email-designer' ),
2805
+ 'customer_on_hold_order_subject' => __( 'Your {site_title} order receipt from {order_date}', 'kadence-woocommerce-email-designer' ),
2806
+ 'customer_invoice_subject' => __( 'Invoice for order {order_number}', 'kadence-woocommerce-email-designer' ),
2807
+ 'customer_invoice_subject_paid' => __( 'Your {site_title} order from {order_date}', 'kadence-woocommerce-email-designer' ),
2808
+ 'failed_order_subject' => __( '[{site_title}] Failed order ({order_number})', 'kadence-woocommerce-email-designer' ),
2809
+ 'customer_new_account_subject' => __( 'Your account on {site_title}', 'kadence-woocommerce-email-designer' ),
2810
+ 'customer_note_subject' => __( 'Note added to your {site_title} order from {order_date}', 'kadence-woocommerce-email-designer' ),
2811
+ 'customer_reset_password_subject' => __( 'Password reset for {site_title}', 'kadence-woocommerce-email-designer' ),
2812
+ 'new_order_body' => __( 'You have received an order from {customer_full_name}. The order is as follows:', 'kadence-woocommerce-email-designer' ),
2813
+ 'cancelled_order_body' => __( 'The order {order_number} from {customer_full_name} has been cancelled. The order was as follows:', 'kadence-woocommerce-email-designer' ),
2814
+ 'customer_processing_order_body' => __( 'Your order has been received and is now being processed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2815
+ 'customer_completed_order_body' => __( 'Hi there. Your recent order on {site_title} has been completed. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2816
+ 'customer_refunded_order_switch' => true,
2817
+ 'customer_refunded_order_body_full' => __( 'Hi there. Your order on {site_title} has been refunded.', 'kadence-woocommerce-email-designer' ),
2818
+ 'customer_refunded_order_body_partial' => __( 'Hi there. Your order on {site_title} has been partially refunded.', 'kadence-woocommerce-email-designer' ),
2819
+ 'customer_on_hold_order_body' => __( 'Your order is on-hold until we confirm payment has been received. Your order details are shown below for your reference:', 'kadence-woocommerce-email-designer' ),
2820
+ 'customer_invoice_switch' => true,
2821
+ 'customer_invoice_btn_switch' => false,
2822
+ 'customer_invoice_body' => __( 'An order has been created for you on {site_title}. {invoice_pay_link}', 'kadence-woocommerce-email-designer' ),
2823
+ 'customer_invoice_body_paid' => '',
2824
+ 'failed_order_body' => __( 'Payment for order {order_number} from {customer_full_name} has failed. The order was as follows:', 'kadence-woocommerce-email-designer' ),
2825
+ 'customer_new_account_btn_switch' => false,
2826
+ 'customer_new_account_account_section' => true,
2827
+ 'customer_new_account_body' => __( 'Thanks for creating an account on {site_title}. Your username is {customer_username}', 'kadence-woocommerce-email-designer' ),
2828
+ 'customer_note_body' => __( 'Hello, a note has just been added to your order:', 'kadence-woocommerce-email-designer' ),
2829
+ 'customer_reset_password_body' => __(
2830
+ 'Someone requested that the password be reset for the following account:
 
 
 
 
 
 
 
 
2831
 
2832
  Username: {customer_username}
2833
 
2834
  If this was a mistake, just ignore this email and nothing will happen.
2835
 
2836
+ To reset your password, visit the following address:',
2837
+ 'kadence-woocommerce-email-designer'
2838
+ ),
2839
  'WC_Memberships_User_Membership_Ended_Email_heading' => __( 'Renew your {membership_plan}', 'kadence-woocommerce-email-designer' ),
2840
  'WC_Memberships_User_Membership_Ended_Email_subject' => __( 'Your {site_title} membership has expired', 'kadence-woocommerce-email-designer' ),
2841
  'WC_Memberships_User_Membership_Activated_Email_heading' => __( 'You can now access {membership_plan}', 'kadence-woocommerce-email-designer' ),
2846
  'WC_Memberships_User_Membership_Note_Email_subject' => __( 'Note added to your {site_title} membership', 'kadence-woocommerce-email-designer' ),
2847
  'WC_Memberships_User_Membership_Renewal_Reminder_Email_heading' => __( 'You can renew your {membership_plan}', 'kadence-woocommerce-email-designer' ),
2848
  'WC_Memberships_User_Membership_Renewal_Reminder_Email_subject' => __( 'Renew your {site_title} membership!', 'kadence-woocommerce-email-designer' ),
2849
+ 'customer_delivered_order_heading' => __( 'Thanks for shopping with us', 'kadence-woocommerce-email-designer' ),
2850
+ 'customer_delivered_order_subject' => __( 'Your {site_title} order is now delivered', 'kadence-woocommerce-email-designer' ),
2851
+ 'customer_delivered_order_body' => __(
2852
+ 'Hi {customer_full_name}
2853
+ Your {site_title} order has been marked delivered on our side.',
2854
+ 'kadence-woocommerce-email-designer'
2855
+ ),
2856
+ 'header_background_color' => get_option( 'woocommerce_email_base_color' ),
2857
+ 'header_text_align' => 'left',
2858
+ 'header_padding_top_bottom' => '36',
2859
+ 'header_padding_left_right' => '48',
2860
+ 'heading_font_size' => '30',
2861
+ 'heading_line_height' => '40',
2862
+ 'heading_font_family' => 'helvetica',
2863
+ 'heading_font_style' => 'normal',
2864
+ 'heading_color' => '#ffffff',
2865
+ 'heading_font_weight' => '300',
2866
+ 'subtitle_placement' => 'below',
2867
+ 'subtitle_font_size' => '18',
2868
+ 'subtitle_line_height' => '24',
2869
+ 'subtitle_font_family' => 'helvetica',
2870
+ 'subtitle_font_style' => 'normal',
2871
+ 'subtitle_color' => '#ffffff',
2872
+ 'subtitle_font_weight' => '300',
2873
+ 'content_padding' => '48',
2874
+ 'content_padding_bottom' => '0',
2875
+ 'text_color' => '#737373',
2876
+ 'font_family' => 'helvetica',
2877
+ 'font_size' => '14',
2878
+ 'line_height' => '24',
2879
+ 'font_weight' => '400',
2880
+ 'link_color' => get_option( 'woocommerce_email_base_color' ),
2881
+ 'h2_font_size' => '18',
2882
+ 'h2_line_height' => '26',
2883
+ 'h2_font_family' => 'helvetica',
2884
+ 'h3_font_style' => 'normal',
2885
+ 'h2_color' => get_option( 'woocommerce_email_base_color' ),
2886
+ 'h2_font_weight' => '700',
2887
+ 'h2_margin_bottom' => '18',
2888
+ 'h2_padding_top' => '0',
2889
+ 'h2_margin_top' => '0',
2890
+ 'h2_padding_bottom' => '0',
2891
+ 'h2_text_transform' => 'none',
2892
+ 'h2_separator_color' => get_option( 'woocommerce_email_base_color' ),
2893
+ 'h2_separator_height' => '1',
2894
+ 'h2_separator_style' => 'solid',
2895
+ 'h3_font_size' => '16',
2896
+ 'h3_line_height' => '20',
2897
+ 'h3_font_family' => 'helvetica',
2898
+ 'h3_font_style' => 'normal',
2899
+ 'h3_color' => '#787878',
2900
+ 'h3_font_weight' => '500',
2901
+ 'btn_border_width' => '0',
2902
+ 'btn_border_radius' => '4',
2903
+ 'btn_border_color' => '#dedede',
2904
+ 'btn_font_family' => 'helvetica',
2905
+ 'btn_color' => '#ffffff',
2906
+ 'btn_font_weight' => '600',
2907
+ 'btn_left_right_padding' => '8',
2908
+ 'btn_top_bottom_padding' => '10',
2909
+ 'btn_size' => '16',
2910
+ 'order_items_style' => 'normal',
2911
+ 'order_items_image' => 'normal',
2912
+ 'items_table_border_width' => '1',
2913
+ 'items_table_border_color' => '#e4e4e4',
2914
+ 'items_table_border_style' => 'solid',
2915
+ 'items_table_background_color' => '',
2916
+ 'items_table_background_odd_color' => '',
2917
+ 'items_table_padding' => '12',
2918
+ 'order_heading_style' => 'normal',
2919
+ 'notes_outside_table' => false,
2920
+ 'addresses_padding' => '12',
2921
+ 'addresses_border_width' => '1',
2922
+ 'addresses_border_color' => '#e5e5e5',
2923
+ 'addresses_border_style' => 'solid',
2924
+ 'addresses_background_color' => '',
2925
+ 'addresses_text_color' => '#8f8f8f',
2926
+ 'addresses_text_align' => 'left',
2927
+ 'footer_background_placement' => 'inside',
2928
+ 'footer_background_color' => '',
2929
+ 'footer_top_padding' => '0',
2930
+ 'footer_bottom_padding' => '48',
2931
+ 'footer_left_right_padding' => '48',
2932
+ 'footer_social_enable' => true,
2933
+ 'footer_social_title_color' => '#000000',
2934
+ 'footer_social_title_font_family' => 'helvetica',
2935
+ 'footer_social_title_font_size' => '18',
2936
+ 'footer_social_title_font_weight' => '400',
2937
+ 'footer_social_top_padding' => '0',
2938
+ 'footer_social_bottom_padding' => '0',
2939
+ 'footer_social_border_width' => '0',
2940
+ 'footer_social_border_color' => '#dddddd',
2941
+ 'footer_social_border_style' => 'solid',
2942
+ 'footer_text_align' => 'center',
2943
+ 'footer_font_size' => '12',
2944
+ 'footer_font_family' => 'helvetica',
2945
+ 'footer_color' => '#555555',
2946
+ 'footer_font_weight' => '400',
2947
+ 'footer_credit_bottom_padding' => '0',
2948
+ 'footer_credit_top_padding' => '0',
2949
+ 'items_table_border_width' => '1',
2950
+ 'items_table_border_color' => '#e4e4e4',
2951
+ 'footer_content_text' => get_option( 'woocommerce_email_footer_text', '' ),
2952
+ 'email_recipient' => get_option( 'admin_email' ),
2953
+ 'customer_ekomi_heading' => _x( 'Please rate your Order', 'ekomi', 'kadence-woocommerce-email-designer' ),
2954
+ 'customer_new_account_activation_heading' => __( 'Account activation {site_title}', 'kadence-woocommerce-email-designer' ),
2955
+ 'customer_paid_for_order_heading' => __( 'Payment received', 'kadence-woocommerce-email-designer' ),
2956
+ 'customer_revocation_heading' => __( 'Your revocation', 'kadence-woocommerce-email-designer' ),
2957
+ 'customer_sepa_direct_debit_mandate' => __( 'SEPA Direct Debit Mandate', 'kadence-woocommerce-email-designer' ),
2958
+ 'customer_trusted_shops' => _x( 'Please rate your Order', 'trusted-shops', 'kadence-woocommerce-email-designer' ),
 
 
 
 
 
 
2959
  );
2960
  self::$default_values = apply_filters( 'kadence_woomail_email_settings_default_values', $default_values );
2961
  }
2962
 
2963
+ // Return default values.
2964
  return self::$default_values;
2965
  }
2966
 
2968
  * Get default values
2969
  *
2970
  * @access public
2971
+ * @param string $key the setting key.
2972
  * @return string
2973
  */
2974
  public static function get_default_value( $key ) {
3083
  if ( class_exists( 'WCMp' ) ) {
3084
  $types = array_merge( $types, self::$marketplace_email_types_mapping );
3085
  }
3086
+ if ( class_exists( 'WooCommerce_Germanized' ) ) {
3087
+ $types = array_merge( $types, self::$german_email_types_mapping );
3088
+ }
3089
  if ( class_exists( 'WooCommerce_Waitlist_Plugin' ) ) {
3090
  $types = array_merge( $types, self::$waitlist_email_types_mapping );
3091
  }
kadence-woocommerce-email-designer.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Kadence WooCommerce Email Designer
4
  * Plugin URI: http://kadencethemes.com/products/woocommerce-email-designer/
5
  * Description: Customize the default woocommerce email templates design and text through the native WordPress customizer. Preview emails and send test emails.
6
- * Version: 1.3.1
7
  * Author: Kadence Themes
8
  * Author URI: http://kadencethemes.com/
9
  * License: GPLv2 or later
@@ -59,7 +59,7 @@ class Kadence_Woomail_Designer {
59
 
60
  define( 'KT_WOOMAIL_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
61
  define( 'KT_WOOMAIL_URL', plugin_dir_url( __FILE__ ) );
62
- define( 'KT_WOOMAIL_VERSION', '1.3.0' );
63
 
64
  if ( ! kadence_woomail_is_woo_active() ) {
65
  add_action( 'admin_notices', array( $this, 'admin_notice_need_woocommerce' ) );
3
  * Plugin Name: Kadence WooCommerce Email Designer
4
  * Plugin URI: http://kadencethemes.com/products/woocommerce-email-designer/
5
  * Description: Customize the default woocommerce email templates design and text through the native WordPress customizer. Preview emails and send test emails.
6
+ * Version: 1.3.2
7
  * Author: Kadence Themes
8
  * Author URI: http://kadencethemes.com/
9
  * License: GPLv2 or later
59
 
60
  define( 'KT_WOOMAIL_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
61
  define( 'KT_WOOMAIL_URL', plugin_dir_url( __FILE__ ) );
62
+ define( 'KT_WOOMAIL_VERSION', '1.3.2' );
63
 
64
  if ( ! kadence_woomail_is_woo_active() ) {
65
  add_action( 'admin_notices', array( $this, 'admin_notice_need_woocommerce' ) );
languages/kadence-woocommerce-email-designer.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Kadence Woocommerce Email Designer\n"
5
- "POT-Creation-Date: 2019-08-12 17:02-0600\n"
6
  "PO-Revision-Date: 2015-05-08 13:15-0700\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -108,8 +108,8 @@ msgid "Bundled Icon"
108
  msgstr ""
109
 
110
  #: includes/class-customizer-repeater-control.php:346
111
- #: includes/class-kadence-woomail-settings.php:1707
112
- #: includes/class-kadence-woomail-settings.php:1748
113
  msgid "None"
114
  msgstr ""
115
 
@@ -216,1074 +216,1118 @@ msgstr ""
216
  msgid "Error importing settings! The template you selected is not valid."
217
  msgstr ""
218
 
219
- #: includes/class-kadence-woomail-preview.php:335
220
  msgid "Hello! This is an example note"
221
  msgstr ""
222
 
223
- #: includes/class-kadence-woomail-preview.php:585
224
  msgid ""
225
- "This email type can not be previewed please try a differnet order or email "
226
  "type."
227
  msgstr ""
228
 
229
- #: includes/class-kadence-woomail-preview.php:587
230
  msgid ""
231
  "This email type requires that an order containing a subscription be selected "
232
  "as the preview order."
233
  msgstr ""
234
 
235
- #: includes/class-kadence-woomail-preview.php:589
236
  msgid ""
237
- "This email type requires that an order containing a vender purchase be "
 
 
 
 
 
 
 
238
  "selected as the preview order."
239
  msgstr ""
240
 
241
- #: includes/class-kadence-woomail-preview.php:591
242
  msgid ""
243
  "This email type requires that an order containing a user who has an active "
244
  "membership be selected as the preview order."
245
  msgstr ""
246
 
247
- #: includes/class-kadence-woomail-preview.php:655
248
  msgid ""
249
  "An error occurred trying to load this email type. Make sure this email type "
250
  "is enabled or please try another type."
251
  msgstr ""
252
 
253
- #: includes/class-kadence-woomail-settings.php:215
254
  msgid "Header"
255
  msgstr ""
256
 
257
- #: includes/class-kadence-woomail-settings.php:221
258
  msgid "Content"
259
  msgstr ""
260
 
261
- #: includes/class-kadence-woomail-settings.php:227
262
  msgid "Footer"
263
  msgstr ""
264
 
265
- #: includes/class-kadence-woomail-settings.php:249
266
  msgid "Prebuilt Templates"
267
  msgstr ""
268
 
269
- #: includes/class-kadence-woomail-settings.php:254
270
  msgid "Email Type and Text"
271
  msgstr ""
272
 
273
- #: includes/class-kadence-woomail-settings.php:259
274
  msgid "Container"
275
  msgstr ""
276
 
277
- #: includes/class-kadence-woomail-settings.php:265
278
  msgid "Header Style"
279
  msgstr ""
280
 
281
- #: includes/class-kadence-woomail-settings.php:272
282
- #: includes/class-kadence-woomail-settings.php:378
283
  msgid "Header Image"
284
  msgstr ""
285
 
286
- #: includes/class-kadence-woomail-settings.php:279
287
  msgid "Heading"
288
  msgstr ""
289
 
290
- #: includes/class-kadence-woomail-settings.php:286
291
  msgid "Footer Style"
292
  msgstr ""
293
 
294
- #: includes/class-kadence-woomail-settings.php:292
295
  msgid "Footer Social"
296
  msgstr ""
297
 
298
- #: includes/class-kadence-woomail-settings.php:298
299
  msgid "Footer Credit Content"
300
  msgstr ""
301
 
302
- #: includes/class-kadence-woomail-settings.php:304
303
  msgid "Content Container"
304
  msgstr ""
305
 
306
- #: includes/class-kadence-woomail-settings.php:310
307
  msgid "Content Headings Style"
308
  msgstr ""
309
 
310
- #: includes/class-kadence-woomail-settings.php:316
311
  msgid "Content Text Style"
312
  msgstr ""
313
 
314
- #: includes/class-kadence-woomail-settings.php:322
315
  msgid "Order Items"
316
  msgstr ""
317
 
318
- #: includes/class-kadence-woomail-settings.php:328
319
  msgid "Addresses"
320
  msgstr ""
321
 
322
- #: includes/class-kadence-woomail-settings.php:334
323
  msgid "Text Copy"
324
  msgstr ""
325
 
326
- #: includes/class-kadence-woomail-settings.php:340
327
  msgid "Button Styles"
328
  msgstr ""
329
 
330
- #: includes/class-kadence-woomail-settings.php:346
331
  msgid "Custom Styles"
332
  msgstr ""
333
 
334
- #: includes/class-kadence-woomail-settings.php:351
335
- #: includes/class-kadence-woomail-settings.php:2647
336
  msgid "Import Export"
337
  msgstr ""
338
 
339
- #: includes/class-kadence-woomail-settings.php:356
340
  msgid "Send Preview Email"
341
  msgstr ""
342
 
343
- #: includes/class-kadence-woomail-settings.php:391
344
  msgid "Container Background color"
345
  msgstr ""
346
 
347
- #: includes/class-kadence-woomail-settings.php:404
348
  msgid "Content Text color"
349
  msgstr ""
350
 
351
- #: includes/class-kadence-woomail-settings.php:418
352
  msgid "Content Background color"
353
  msgstr ""
354
 
355
- #: includes/class-kadence-woomail-settings.php:432
356
  msgid "Footer text"
357
  msgstr ""
358
 
359
- #: includes/class-kadence-woomail-settings.php:447
360
  msgid "Recipient(s)"
361
  msgstr ""
362
 
363
- #: includes/class-kadence-woomail-settings.php:452
364
  #, php-format
365
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
366
  msgstr ""
367
 
368
- #: includes/class-kadence-woomail-settings.php:463
369
  msgid "Full refund subject"
370
  msgstr ""
371
 
372
- #: includes/class-kadence-woomail-settings.php:479
373
  msgid "Partial refund subject"
374
  msgstr ""
375
 
376
- #: includes/class-kadence-woomail-settings.php:495
377
  msgid "Full refund Heading Text"
378
  msgstr ""
379
 
380
- #: includes/class-kadence-woomail-settings.php:515
381
  msgid "Partial refund Heading Text"
382
  msgstr ""
383
 
384
- #: includes/class-kadence-woomail-settings.php:532
385
  msgid "Subject Text"
386
  msgstr ""
387
 
388
- #: includes/class-kadence-woomail-settings.php:548
389
  msgid "Subject (paid) Text"
390
  msgstr ""
391
 
392
- #: includes/class-kadence-woomail-settings.php:565
393
  msgid "Heading Text"
394
  msgstr ""
395
 
396
- #: includes/class-kadence-woomail-settings.php:583
397
  msgid "Heading (paid) Text"
398
  msgstr ""
399
 
400
- #: includes/class-kadence-woomail-settings.php:600
401
  msgid "Additional content"
402
  msgstr ""
403
 
404
- #: includes/class-kadence-woomail-settings.php:636
405
  msgid "Template_load"
406
  msgstr ""
407
 
408
- #: includes/class-kadence-woomail-settings.php:645
409
  msgid "Preview Order"
410
  msgstr ""
411
 
412
- #: includes/class-kadence-woomail-settings.php:655
413
  msgid "Email Type"
414
  msgstr ""
415
 
416
- #: includes/class-kadence-woomail-settings.php:665
417
  msgid "Available placeholders"
418
  msgstr ""
419
 
420
- #: includes/class-kadence-woomail-settings.php:678
421
  msgid "Subtitle Text"
422
  msgstr ""
423
 
424
- #: includes/class-kadence-woomail-settings.php:695
 
 
 
 
425
  msgid "Switch account link to button"
426
  msgstr ""
427
 
428
- #: includes/class-kadence-woomail-settings.php:712
429
  msgid "Switch off for Partial Refund Preview"
430
  msgstr ""
431
 
432
- #: includes/class-kadence-woomail-settings.php:727
433
  msgid "Body Full Refund Text"
434
  msgstr ""
435
 
436
- #: includes/class-kadence-woomail-settings.php:741
437
  msgid "Body Partial Refund Text"
438
  msgstr ""
439
 
440
- #: includes/class-kadence-woomail-settings.php:756
441
  msgid "Switch off for unpaid preview"
442
  msgstr ""
443
 
444
- #: includes/class-kadence-woomail-settings.php:771
445
  msgid "Make \"Pay for this Order\" a button"
446
  msgstr ""
447
 
448
- #: includes/class-kadence-woomail-settings.php:785
449
  msgid "Body Invoice Paid Text"
450
  msgstr ""
451
 
452
- #: includes/class-kadence-woomail-settings.php:799
453
- #: includes/class-kadence-woomail-settings.php:841
454
  msgid "Body Invoice Pending Payment Text"
455
  msgstr ""
456
 
457
- #: includes/class-kadence-woomail-settings.php:813
 
 
 
 
 
 
 
 
 
 
458
  msgid "Make \"Pay Now\" a button"
459
  msgstr ""
460
 
461
- #: includes/class-kadence-woomail-settings.php:827
462
  msgid "Body Invoice Failed Text"
463
  msgstr ""
464
 
465
- #: includes/class-kadence-woomail-settings.php:855
466
  msgid "Make \"reset your password\" a button"
467
  msgstr ""
468
 
469
- #: includes/class-kadence-woomail-settings.php:869
470
- #: includes/class-kadence-woomail-settings.php:883
471
- msgid "Body Text"
472
- msgstr ""
473
-
474
- #: includes/class-kadence-woomail-settings.php:901
475
  msgid "Content Width"
476
  msgstr ""
477
 
478
- #: includes/class-kadence-woomail-settings.php:920
479
  msgid "Enable Fluid Width"
480
  msgstr ""
481
 
482
- #: includes/class-kadence-woomail-settings.php:927
483
  msgid "Content Inner Max Width"
484
  msgstr ""
485
 
486
- #: includes/class-kadence-woomail-settings.php:951
487
- #: includes/class-kadence-woomail-settings.php:2597
488
  msgid "Border radius"
489
  msgstr ""
490
 
491
- #: includes/class-kadence-woomail-settings.php:956
492
- #: includes/class-kadence-woomail-settings.php:2602
493
  msgid "Warning: most desktop email clients do not yet support this."
494
  msgstr ""
495
 
496
- #: includes/class-kadence-woomail-settings.php:968
497
  msgid "Border Top Width"
498
  msgstr ""
499
 
500
- #: includes/class-kadence-woomail-settings.php:984
501
  msgid "Border Right Width"
502
  msgstr ""
503
 
504
- #: includes/class-kadence-woomail-settings.php:1000
505
  msgid "Border Bottom Width"
506
  msgstr ""
507
 
508
- #: includes/class-kadence-woomail-settings.php:1016
509
  msgid "Border Left Width"
510
  msgstr ""
511
 
512
- #: includes/class-kadence-woomail-settings.php:1032
513
  msgid "Border color"
514
  msgstr ""
515
 
516
- #: includes/class-kadence-woomail-settings.php:1043
517
  msgid "Shadow"
518
  msgstr ""
519
 
520
- #: includes/class-kadence-woomail-settings.php:1046
521
  msgid "Warning: most email clients do not yet support this."
522
  msgstr ""
523
 
524
- #: includes/class-kadence-woomail-settings.php:1060
525
  msgid "Container Top Padding"
526
  msgstr ""
527
 
528
- #: includes/class-kadence-woomail-settings.php:1076
529
  msgid "Container Botom Padding"
530
  msgstr ""
531
 
532
- #: includes/class-kadence-woomail-settings.php:1095
533
  msgid "Header Image Placement"
534
  msgstr ""
535
 
536
- #: includes/class-kadence-woomail-settings.php:1101
537
- #: includes/class-kadence-woomail-settings.php:2163
538
  msgid "Outside Body Container"
539
  msgstr ""
540
 
541
- #: includes/class-kadence-woomail-settings.php:1102
542
- #: includes/class-kadence-woomail-settings.php:2162
543
  msgid "Inside Body Container"
544
  msgstr ""
545
 
546
- #: includes/class-kadence-woomail-settings.php:1107
547
  msgid "Image Align"
548
  msgstr ""
549
 
550
- #: includes/class-kadence-woomail-settings.php:1119
551
  msgid "Image Max Width"
552
  msgstr ""
553
 
554
- #: includes/class-kadence-woomail-settings.php:1134
555
- #: includes/class-kadence-woomail-settings.php:1161
556
  msgid "Background color"
557
  msgstr ""
558
 
559
- #: includes/class-kadence-woomail-settings.php:1145
560
  msgid "Padding top/bottom"
561
  msgstr ""
562
 
563
- #: includes/class-kadence-woomail-settings.php:1172
564
  msgid "Text align"
565
  msgstr ""
566
 
567
- #: includes/class-kadence-woomail-settings.php:1186
568
- #: includes/class-kadence-woomail-settings.php:1431
569
  msgid "Padding Top"
570
  msgstr ""
571
 
572
- #: includes/class-kadence-woomail-settings.php:1202
573
- #: includes/class-kadence-woomail-settings.php:1447
574
  msgid "Padding Bottom"
575
  msgstr ""
576
 
577
- #: includes/class-kadence-woomail-settings.php:1219
578
  msgid "Padding left/right"
579
  msgstr ""
580
 
581
- #: includes/class-kadence-woomail-settings.php:1235
582
  msgid "Heading Font size"
583
  msgstr ""
584
 
585
- #: includes/class-kadence-woomail-settings.php:1251
586
  msgid "Heading Line Height"
587
  msgstr ""
588
 
589
- #: includes/class-kadence-woomail-settings.php:1267
590
  msgid "Heading Font family"
591
  msgstr ""
592
 
593
- #: includes/class-kadence-woomail-settings.php:1279
594
  msgid "Heading Font Style"
595
  msgstr ""
596
 
597
- #: includes/class-kadence-woomail-settings.php:1285
598
- #: includes/class-kadence-woomail-settings.php:1392
599
- #: includes/class-kadence-woomail-settings.php:1674
600
- #: includes/class-kadence-woomail-settings.php:1863
601
- #: includes/class-kadence-woomail-settings.php:1905
602
- #: includes/class-kadence-woomail-settings.php:2042
603
  msgid "Normal"
604
  msgstr ""
605
 
606
- #: includes/class-kadence-woomail-settings.php:1286
607
- #: includes/class-kadence-woomail-settings.php:1393
608
- #: includes/class-kadence-woomail-settings.php:1675
609
- #: includes/class-kadence-woomail-settings.php:1864
610
  msgid "Italic"
611
  msgstr ""
612
 
613
- #: includes/class-kadence-woomail-settings.php:1294
614
  msgid "Heading Font weight"
615
  msgstr ""
616
 
617
- #: includes/class-kadence-woomail-settings.php:1310
618
  msgid "Heading Text color"
619
  msgstr ""
620
 
621
- #: includes/class-kadence-woomail-settings.php:1322
622
  msgid "Subtitle Settings"
623
  msgstr ""
624
 
625
- #: includes/class-kadence-woomail-settings.php:1329
626
  msgid "Subtitle Placement"
627
  msgstr ""
628
 
629
- #: includes/class-kadence-woomail-settings.php:1335
630
  msgid "Below Heading"
631
  msgstr ""
632
 
633
- #: includes/class-kadence-woomail-settings.php:1336
634
  msgid "Above Heading"
635
  msgstr ""
636
 
637
- #: includes/class-kadence-woomail-settings.php:1342
638
  msgid "Subtitle Font Size"
639
  msgstr ""
640
 
641
- #: includes/class-kadence-woomail-settings.php:1358
642
  msgid "Subtitle Line Height"
643
  msgstr ""
644
 
645
- #: includes/class-kadence-woomail-settings.php:1374
646
  msgid "Subtitle Font Family"
647
  msgstr ""
648
 
649
- #: includes/class-kadence-woomail-settings.php:1386
650
  msgid "Subtitle Font Style"
651
  msgstr ""
652
 
653
- #: includes/class-kadence-woomail-settings.php:1402
654
  msgid "Subtitle Font weight"
655
  msgstr ""
656
 
657
- #: includes/class-kadence-woomail-settings.php:1419
658
  msgid "Subtitle Text color"
659
  msgstr ""
660
 
661
- #: includes/class-kadence-woomail-settings.php:1463
662
  msgid "Padding Left/Right"
663
  msgstr ""
664
 
665
- #: includes/class-kadence-woomail-settings.php:1481
666
- #: includes/class-kadence-woomail-settings.php:2394
667
  msgid "Font Size"
668
  msgstr ""
669
 
670
- #: includes/class-kadence-woomail-settings.php:1498
671
  msgid "Line Height"
672
  msgstr ""
673
 
674
- #: includes/class-kadence-woomail-settings.php:1515
675
- #: includes/class-kadence-woomail-settings.php:2410
676
  msgid "Font Family"
677
  msgstr ""
678
 
679
- #: includes/class-kadence-woomail-settings.php:1529
680
- #: includes/class-kadence-woomail-settings.php:2423
681
  msgid "Font weight"
682
  msgstr ""
683
 
684
- #: includes/class-kadence-woomail-settings.php:1545
685
  msgid "Link Color"
686
  msgstr ""
687
 
688
- #: includes/class-kadence-woomail-settings.php:1559
689
  msgid "H2 Font Size"
690
  msgstr ""
691
 
692
- #: includes/class-kadence-woomail-settings.php:1575
693
  msgid "H2 Line Height"
694
  msgstr ""
695
 
696
- #: includes/class-kadence-woomail-settings.php:1591
697
  msgid "H2 Padding Top"
698
  msgstr ""
699
 
700
- #: includes/class-kadence-woomail-settings.php:1607
701
  msgid "H2 Padding Bottom"
702
  msgstr ""
703
 
704
- #: includes/class-kadence-woomail-settings.php:1623
705
  msgid "H2 Margin Top"
706
  msgstr ""
707
 
708
- #: includes/class-kadence-woomail-settings.php:1639
709
  msgid "H2 Margin Bottom"
710
  msgstr ""
711
 
712
- #: includes/class-kadence-woomail-settings.php:1655
713
  msgid "H2 Font Family"
714
  msgstr ""
715
 
716
- #: includes/class-kadence-woomail-settings.php:1668
717
  msgid "H2 Font Style"
718
  msgstr ""
719
 
720
- #: includes/class-kadence-woomail-settings.php:1684
721
  msgid "H2 Font weight"
722
  msgstr ""
723
 
724
- #: includes/class-kadence-woomail-settings.php:1701
725
  msgid "H2 Text Transform"
726
  msgstr ""
727
 
728
- #: includes/class-kadence-woomail-settings.php:1708
729
  msgid "Uppercase"
730
  msgstr ""
731
 
732
- #: includes/class-kadence-woomail-settings.php:1709
733
  msgid "Lowercase"
734
  msgstr ""
735
 
736
- #: includes/class-kadence-woomail-settings.php:1710
737
  msgid "Capitalize"
738
  msgstr ""
739
 
740
- #: includes/class-kadence-woomail-settings.php:1718
741
  msgid "H2 Color"
742
  msgstr ""
743
 
744
- #: includes/class-kadence-woomail-settings.php:1730
745
  msgid "H2 Text Align"
746
  msgstr ""
747
 
748
- #: includes/class-kadence-woomail-settings.php:1742
749
  msgid "H2 Separator"
750
  msgstr ""
751
 
752
- #: includes/class-kadence-woomail-settings.php:1749
753
  msgid "Separator below"
754
  msgstr ""
755
 
756
- #: includes/class-kadence-woomail-settings.php:1750
757
  msgid "Separator above"
758
  msgstr ""
759
 
760
- #: includes/class-kadence-woomail-settings.php:1755
761
  msgid "H2 Separator height"
762
  msgstr ""
763
 
764
- #: includes/class-kadence-woomail-settings.php:1773
765
  msgid "H2 Separator Style"
766
  msgstr ""
767
 
768
- #: includes/class-kadence-woomail-settings.php:1779
769
- #: includes/class-kadence-woomail-settings.php:2021
770
- #: includes/class-kadence-woomail-settings.php:2120
771
- #: includes/class-kadence-woomail-settings.php:2368
772
  msgid "Solid"
773
  msgstr ""
774
 
775
- #: includes/class-kadence-woomail-settings.php:1780
776
- #: includes/class-kadence-woomail-settings.php:2022
777
- #: includes/class-kadence-woomail-settings.php:2121
778
- #: includes/class-kadence-woomail-settings.php:2369
779
  msgid "Double"
780
  msgstr ""
781
 
782
- #: includes/class-kadence-woomail-settings.php:1781
783
- #: includes/class-kadence-woomail-settings.php:2023
784
- #: includes/class-kadence-woomail-settings.php:2122
785
- #: includes/class-kadence-woomail-settings.php:2370
786
  msgid "Groove"
787
  msgstr ""
788
 
789
- #: includes/class-kadence-woomail-settings.php:1782
790
- #: includes/class-kadence-woomail-settings.php:2024
791
- #: includes/class-kadence-woomail-settings.php:2123
792
- #: includes/class-kadence-woomail-settings.php:2371
793
  msgid "Dotted"
794
  msgstr ""
795
 
796
- #: includes/class-kadence-woomail-settings.php:1783
797
- #: includes/class-kadence-woomail-settings.php:2025
798
- #: includes/class-kadence-woomail-settings.php:2124
799
- #: includes/class-kadence-woomail-settings.php:2372
800
  msgid "Dashed"
801
  msgstr ""
802
 
803
- #: includes/class-kadence-woomail-settings.php:1784
804
- #: includes/class-kadence-woomail-settings.php:2026
805
- #: includes/class-kadence-woomail-settings.php:2125
806
- #: includes/class-kadence-woomail-settings.php:2373
807
  msgid "Ridge"
808
  msgstr ""
809
 
810
- #: includes/class-kadence-woomail-settings.php:1793
811
  msgid "H2 Separator Color"
812
  msgstr ""
813
 
814
- #: includes/class-kadence-woomail-settings.php:1806
815
  msgid "H3 Settings"
816
  msgstr ""
817
 
818
- #: includes/class-kadence-woomail-settings.php:1813
819
  msgid "H3 Font Size"
820
  msgstr ""
821
 
822
- #: includes/class-kadence-woomail-settings.php:1829
823
  msgid "H3 Line Height"
824
  msgstr ""
825
 
826
- #: includes/class-kadence-woomail-settings.php:1845
827
  msgid "H3 Font Family"
828
  msgstr ""
829
 
830
- #: includes/class-kadence-woomail-settings.php:1857
831
  msgid "H3 Font Style"
832
  msgstr ""
833
 
834
- #: includes/class-kadence-woomail-settings.php:1872
835
  msgid "H3 Font weight"
836
  msgstr ""
837
 
838
- #: includes/class-kadence-woomail-settings.php:1888
839
  msgid "H3 Color"
840
  msgstr ""
841
 
842
- #: includes/class-kadence-woomail-settings.php:1899
843
  msgid "Order Table Style"
844
  msgstr ""
845
 
846
- #: includes/class-kadence-woomail-settings.php:1906
847
  msgid "Light"
848
  msgstr ""
849
 
850
- #: includes/class-kadence-woomail-settings.php:1911
851
  msgid "Product Image Option"
852
  msgstr ""
853
 
854
- #: includes/class-kadence-woomail-settings.php:1917
855
  msgid "Do not show"
856
  msgstr ""
857
 
858
- #: includes/class-kadence-woomail-settings.php:1918
859
  msgid "Show"
860
  msgstr ""
861
 
862
- #: includes/class-kadence-woomail-settings.php:1923
863
  msgid "Order Table Background color"
864
  msgstr ""
865
 
866
- #: includes/class-kadence-woomail-settings.php:1934
867
  msgid "Order Table Background Odd Row Color"
868
  msgstr ""
869
 
870
- #: includes/class-kadence-woomail-settings.php:1948
871
  msgid "Padding Top and Bottom"
872
  msgstr ""
873
 
874
- #: includes/class-kadence-woomail-settings.php:1967
875
  msgid "Padding Left and Right"
876
  msgstr ""
877
 
878
- #: includes/class-kadence-woomail-settings.php:1985
879
  msgid "Border Width"
880
  msgstr ""
881
 
882
- #: includes/class-kadence-woomail-settings.php:2004
883
  msgid "Border Color"
884
  msgstr ""
885
 
886
- #: includes/class-kadence-woomail-settings.php:2015
887
  msgid "Border Style"
888
  msgstr ""
889
 
890
- #: includes/class-kadence-woomail-settings.php:2036
891
  msgid "Order Table Heading Style"
892
  msgstr ""
893
 
894
- #: includes/class-kadence-woomail-settings.php:2043
895
  msgid "Split"
896
  msgstr ""
897
 
898
- #: includes/class-kadence-woomail-settings.php:2047
899
  msgid "Enable Order Notes to be moved below table."
900
  msgstr ""
901
 
902
- #: includes/class-kadence-woomail-settings.php:2060
903
  msgid "Address Box Background color"
904
  msgstr ""
905
 
906
- #: includes/class-kadence-woomail-settings.php:2071
907
  msgid "Address Box Padding"
908
  msgstr ""
909
 
910
- #: includes/class-kadence-woomail-settings.php:2087
911
  msgid "Address Box Border Width"
912
  msgstr ""
913
 
914
- #: includes/class-kadence-woomail-settings.php:2103
915
  msgid "Address Box Border Color"
916
  msgstr ""
917
 
918
- #: includes/class-kadence-woomail-settings.php:2114
919
  msgid "Address Box Border Style"
920
  msgstr ""
921
 
922
- #: includes/class-kadence-woomail-settings.php:2133
923
  msgid "Address Box Text Color"
924
  msgstr ""
925
 
926
- #: includes/class-kadence-woomail-settings.php:2144
927
  msgid "Address Box Text Align"
928
  msgstr ""
929
 
930
- #: includes/class-kadence-woomail-settings.php:2156
931
  msgid "Footer Background Placement"
932
  msgstr ""
933
 
934
- #: includes/class-kadence-woomail-settings.php:2168
935
  msgid "Footer Background Color"
936
  msgstr ""
937
 
938
- #: includes/class-kadence-woomail-settings.php:2179
939
- #: includes/class-kadence-woomail-settings.php:2303
940
- #: includes/class-kadence-woomail-settings.php:2451
941
  msgid "Top Padding"
942
  msgstr ""
943
 
944
- #: includes/class-kadence-woomail-settings.php:2195
945
- #: includes/class-kadence-woomail-settings.php:2319
946
- #: includes/class-kadence-woomail-settings.php:2467
947
  msgid "Bottom Padding"
948
  msgstr ""
949
 
950
- #: includes/class-kadence-woomail-settings.php:2211
951
  msgid "Left/Right Padding"
952
  msgstr ""
953
 
954
- #: includes/class-kadence-woomail-settings.php:2226
955
  msgid "Enable Social Section"
956
  msgstr ""
957
 
958
- #: includes/class-kadence-woomail-settings.php:2234
959
  msgid "Footer Social Options"
960
  msgstr ""
961
 
962
- #: includes/class-kadence-woomail-settings.php:2248
963
  msgid "Footer Social Title Color"
964
  msgstr ""
965
 
966
- #: includes/class-kadence-woomail-settings.php:2259
967
  msgid "Footer Social Title Font Size"
968
  msgstr ""
969
 
970
- #: includes/class-kadence-woomail-settings.php:2275
971
  msgid "Footer Social Title Font Family"
972
  msgstr ""
973
 
974
- #: includes/class-kadence-woomail-settings.php:2287
975
  msgid "Footer Social Title Font Weight"
976
  msgstr ""
977
 
978
- #: includes/class-kadence-woomail-settings.php:2335
979
  msgid "Footer Social Bottom Border Width"
980
  msgstr ""
981
 
982
- #: includes/class-kadence-woomail-settings.php:2351
983
  msgid "Footer Social Bottom Border Color"
984
  msgstr ""
985
 
986
- #: includes/class-kadence-woomail-settings.php:2362
987
  msgid "Footer Social Bottom Border Style"
988
  msgstr ""
989
 
990
- #: includes/class-kadence-woomail-settings.php:2381
991
  msgid "Text Align"
992
  msgstr ""
993
 
994
- #: includes/class-kadence-woomail-settings.php:2440
995
  msgid "Text Color"
996
  msgstr ""
997
 
998
- #: includes/class-kadence-woomail-settings.php:2483
999
  msgid "Button Text Color"
1000
  msgstr ""
1001
 
1002
- #: includes/class-kadence-woomail-settings.php:2494
1003
  msgid "Button Font Size"
1004
  msgstr ""
1005
 
1006
- #: includes/class-kadence-woomail-settings.php:2510
1007
  msgid "Button Font Family"
1008
  msgstr ""
1009
 
1010
- #: includes/class-kadence-woomail-settings.php:2522
1011
  msgid "Button Font Weight"
1012
  msgstr ""
1013
 
1014
- #: includes/class-kadence-woomail-settings.php:2538
1015
  msgid "Button Background Color"
1016
  msgstr ""
1017
 
1018
- #: includes/class-kadence-woomail-settings.php:2549
1019
  msgid "Top and Bottom Padding"
1020
  msgstr ""
1021
 
1022
- #: includes/class-kadence-woomail-settings.php:2565
1023
  msgid "Left and Right Padding"
1024
  msgstr ""
1025
 
1026
- #: includes/class-kadence-woomail-settings.php:2581
1027
  msgid "Button Border Width"
1028
  msgstr ""
1029
 
1030
- #: includes/class-kadence-woomail-settings.php:2614
1031
  msgid "Button Border Color"
1032
  msgstr ""
1033
 
1034
- #: includes/class-kadence-woomail-settings.php:2625
1035
  msgid "Button Align"
1036
  msgstr ""
1037
 
1038
- #: includes/class-kadence-woomail-settings.php:2636
1039
  msgid "Custom CSS"
1040
  msgstr ""
1041
 
1042
- #: includes/class-kadence-woomail-settings.php:2653
1043
  msgid "Preview Email Recipient"
1044
  msgstr ""
1045
 
1046
- #: includes/class-kadence-woomail-settings.php:2654
1047
  msgid "Enter recipients (comma separated) for preview emails"
1048
  msgstr ""
1049
 
1050
- #: includes/class-kadence-woomail-settings.php:2698
1051
  msgid "Hi There,"
1052
  msgstr ""
1053
 
1054
- #: includes/class-kadence-woomail-settings.php:2699
1055
  msgid "{product_title} is now back in stock at {site_title}"
1056
  msgstr ""
1057
 
1058
- #: includes/class-kadence-woomail-settings.php:2700
1059
  msgid "A product you are waiting for is back in stock"
1060
  msgstr ""
1061
 
1062
- #: includes/class-kadence-woomail-settings.php:2702
1063
- #: includes/class-kadence-woomail-settings.php:2730
1064
  msgid "New customer order"
1065
  msgstr ""
1066
 
1067
- #: includes/class-kadence-woomail-settings.php:2703
1068
- #: includes/class-kadence-woomail-settings.php:2746
1069
  msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
1070
  msgstr ""
1071
 
1072
- #: includes/class-kadence-woomail-settings.php:2704
1073
  msgid ""
1074
  "You have received a subscription renewal order from {customer_full_name}. "
1075
  "Their order is as follows:"
1076
  msgstr ""
1077
 
1078
- #: includes/class-kadence-woomail-settings.php:2705
1079
- #: includes/class-kadence-woomail-settings.php:2732
1080
- #: includes/class-kadence-woomail-settings.php:2737
1081
  msgid "Thank you for your order"
1082
  msgstr ""
1083
 
1084
- #: includes/class-kadence-woomail-settings.php:2706
1085
- #: includes/class-kadence-woomail-settings.php:2748
1086
- #: includes/class-kadence-woomail-settings.php:2754
1087
  msgid "Your {site_title} order receipt from {order_date}"
1088
  msgstr ""
1089
 
1090
- #: includes/class-kadence-woomail-settings.php:2707
1091
  msgid ""
1092
  "Your subscription renewal order has been received and is now being "
1093
  "processed. Your order details are shown below for your reference:"
1094
  msgstr ""
1095
 
1096
- #: includes/class-kadence-woomail-settings.php:2708
1097
- #: includes/class-kadence-woomail-settings.php:2711
1098
- #: includes/class-kadence-woomail-settings.php:2733
1099
  msgid "Your order is complete"
1100
  msgstr ""
1101
 
1102
- #: includes/class-kadence-woomail-settings.php:2709
1103
- #: includes/class-kadence-woomail-settings.php:2712
1104
- #: includes/class-kadence-woomail-settings.php:2749
1105
  msgid "Your {site_title} order from {order_date} is complete"
1106
  msgstr ""
1107
 
1108
- #: includes/class-kadence-woomail-settings.php:2710
1109
  msgid ""
1110
  "Hi there. Your subscription renewal order with {site_title} has been "
1111
  "completed. Your order details are shown below for your reference:"
1112
  msgstr ""
1113
 
1114
- #: includes/class-kadence-woomail-settings.php:2713
1115
  msgid ""
1116
  "Hi there. You have successfully changed your subscription items on "
1117
  "{site_title}. Your new order and subscription details are shown below for "
1118
  "your reference:"
1119
  msgstr ""
1120
 
1121
- #: includes/class-kadence-woomail-settings.php:2715
1122
- #: includes/class-kadence-woomail-settings.php:2716
1123
- #: includes/class-kadence-woomail-settings.php:2738
1124
- #: includes/class-kadence-woomail-settings.php:2756
1125
  msgid "Invoice for order {order_number}"
1126
  msgstr ""
1127
 
1128
- #: includes/class-kadence-woomail-settings.php:2717
1129
  msgid ""
1130
  "An invoice has been created for you to renew your subscription with "
1131
  "{site_title}. To pay for this invoice please use the following link: "
1132
  "{invoice_pay_link}"
1133
  msgstr ""
1134
 
1135
- #: includes/class-kadence-woomail-settings.php:2719
1136
  msgid ""
1137
  "The automatic payment to renew your subscription with {site_title} has "
1138
  "failed. To reactivate the subscription, please login and pay for the renewal "
1139
  "from your account page: {invoice_pay_link}"
1140
  msgstr ""
1141
 
1142
- #: includes/class-kadence-woomail-settings.php:2722
1143
  msgid "Subscription Cancelled"
1144
  msgstr ""
1145
 
1146
- #: includes/class-kadence-woomail-settings.php:2723
1147
  msgid "[{site_title}] Subscription Cancelled"
1148
  msgstr ""
1149
 
1150
- #: includes/class-kadence-woomail-settings.php:2724
1151
  msgid ""
1152
  "A subscription belonging to {customer_full_name} has been cancelled. Their "
1153
  "subscription's details are as follows:"
1154
  msgstr ""
1155
 
1156
- #: includes/class-kadence-woomail-settings.php:2727
1157
  msgid "Automatic payment failed for order {order_number}"
1158
  msgstr ""
1159
 
1160
- #: includes/class-kadence-woomail-settings.php:2728
1161
  msgid "Automatic payment failed for {order_number}, we will retry {retry_time}"
1162
  msgstr ""
1163
 
1164
- #: includes/class-kadence-woomail-settings.php:2731
1165
  msgid "Cancelled order"
1166
  msgstr ""
1167
 
1168
- #: includes/class-kadence-woomail-settings.php:2734
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1169
  msgid "Order {order_number} details"
1170
  msgstr ""
1171
 
1172
- #: includes/class-kadence-woomail-settings.php:2735
1173
  msgid "Your order has been partially refunded"
1174
  msgstr ""
1175
 
1176
- #: includes/class-kadence-woomail-settings.php:2739
1177
  msgid "Your order details"
1178
  msgstr ""
1179
 
1180
- #: includes/class-kadence-woomail-settings.php:2740
1181
  msgid "Failed order"
1182
  msgstr ""
1183
 
1184
- #: includes/class-kadence-woomail-settings.php:2741
1185
  msgid "Welcome to {site_title}"
1186
  msgstr ""
1187
 
1188
- #: includes/class-kadence-woomail-settings.php:2742
1189
  msgid "A note has been added to your order"
1190
  msgstr ""
1191
 
1192
- #: includes/class-kadence-woomail-settings.php:2743
1193
  msgid "Password reset instructions"
1194
  msgstr ""
1195
 
1196
- #: includes/class-kadence-woomail-settings.php:2747
1197
  msgid "[{site_title}] Cancelled order ({order_number})"
1198
  msgstr ""
1199
 
1200
- #: includes/class-kadence-woomail-settings.php:2751
1201
  msgid "Your {site_title} order from {order_date} has been refunded"
1202
  msgstr ""
1203
 
1204
- #: includes/class-kadence-woomail-settings.php:2752
1205
  msgid "Your {site_title} order from {order_date} has been partially refunded"
1206
  msgstr ""
1207
 
1208
- #: includes/class-kadence-woomail-settings.php:2757
1209
  msgid "Your {site_title} order from {order_date}"
1210
  msgstr ""
1211
 
1212
- #: includes/class-kadence-woomail-settings.php:2759
1213
  msgid "[{site_title}] Failed order ({order_number})"
1214
  msgstr ""
1215
 
1216
- #: includes/class-kadence-woomail-settings.php:2760
1217
  msgid "Your account on {site_title}"
1218
  msgstr ""
1219
 
1220
- #: includes/class-kadence-woomail-settings.php:2761
1221
  msgid "Note added to your {site_title} order from {order_date}"
1222
  msgstr ""
1223
 
1224
- #: includes/class-kadence-woomail-settings.php:2762
1225
  msgid "Password reset for {site_title}"
1226
  msgstr ""
1227
 
1228
- #: includes/class-kadence-woomail-settings.php:2764
1229
  msgid ""
1230
  "You have received an order from {customer_full_name}. The order is as "
1231
  "follows:"
1232
  msgstr ""
1233
 
1234
- #: includes/class-kadence-woomail-settings.php:2765
1235
  msgid ""
1236
  "The order {order_number} from {customer_full_name} has been cancelled. The "
1237
  "order was as follows:"
1238
  msgstr ""
1239
 
1240
- #: includes/class-kadence-woomail-settings.php:2766
1241
  msgid ""
1242
  "Your order has been received and is now being processed. Your order details "
1243
  "are shown below for your reference:"
1244
  msgstr ""
1245
 
1246
- #: includes/class-kadence-woomail-settings.php:2767
1247
  msgid ""
1248
  "Hi there. Your recent order on {site_title} has been completed. Your order "
1249
  "details are shown below for your reference:"
1250
  msgstr ""
1251
 
1252
- #: includes/class-kadence-woomail-settings.php:2769
1253
  msgid "Hi there. Your order on {site_title} has been refunded."
1254
  msgstr ""
1255
 
1256
- #: includes/class-kadence-woomail-settings.php:2770
1257
  msgid "Hi there. Your order on {site_title} has been partially refunded."
1258
  msgstr ""
1259
 
1260
- #: includes/class-kadence-woomail-settings.php:2772
1261
  msgid ""
1262
  "Your order is on-hold until we confirm payment has been received. Your order "
1263
  "details are shown below for your reference:"
1264
  msgstr ""
1265
 
1266
- #: includes/class-kadence-woomail-settings.php:2775
1267
  msgid "An order has been created for you on {site_title}. {invoice_pay_link}"
1268
  msgstr ""
1269
 
1270
- #: includes/class-kadence-woomail-settings.php:2777
1271
  msgid ""
1272
  "Payment for order {order_number} from {customer_full_name} has failed. The "
1273
  "order was as follows:"
1274
  msgstr ""
1275
 
1276
- #: includes/class-kadence-woomail-settings.php:2780
1277
  msgid ""
1278
  "Thanks for creating an account on {site_title}. Your username is "
1279
  "{customer_username}"
1280
  msgstr ""
1281
 
1282
- #: includes/class-kadence-woomail-settings.php:2781
1283
  msgid "Hello, a note has just been added to your order:"
1284
  msgstr ""
1285
 
1286
- #: includes/class-kadence-woomail-settings.php:2782
1287
  msgid ""
1288
  "Someone requested that the password be reset for the following account:\n"
1289
  "\n"
@@ -1294,120 +1338,146 @@ msgid ""
1294
  "To reset your password, visit the following address:"
1295
  msgstr ""
1296
 
1297
- #: includes/class-kadence-woomail-settings.php:2789
1298
  msgid "Renew your {membership_plan}"
1299
  msgstr ""
1300
 
1301
- #: includes/class-kadence-woomail-settings.php:2790
1302
  msgid "Your {site_title} membership has expired"
1303
  msgstr ""
1304
 
1305
- #: includes/class-kadence-woomail-settings.php:2791
1306
  msgid "You can now access {membership_plan}"
1307
  msgstr ""
1308
 
1309
- #: includes/class-kadence-woomail-settings.php:2792
1310
  msgid "Your {site_title} membership is now active!"
1311
  msgstr ""
1312
 
1313
- #: includes/class-kadence-woomail-settings.php:2793
1314
  msgid "An update about your {membership_plan}"
1315
  msgstr ""
1316
 
1317
- #: includes/class-kadence-woomail-settings.php:2794
1318
  msgid "Your {site_title} membership ends soon!"
1319
  msgstr ""
1320
 
1321
- #: includes/class-kadence-woomail-settings.php:2795
1322
  msgid "A note has been added about your membership"
1323
  msgstr ""
1324
 
1325
- #: includes/class-kadence-woomail-settings.php:2796
1326
  msgid "Note added to your {site_title} membership"
1327
  msgstr ""
1328
 
1329
- #: includes/class-kadence-woomail-settings.php:2797
1330
  msgid "You can renew your {membership_plan}"
1331
  msgstr ""
1332
 
1333
- #: includes/class-kadence-woomail-settings.php:2798
1334
  msgid "Renew your {site_title} membership!"
1335
  msgstr ""
1336
 
1337
- #: includes/class-kadence-woomail-settings.php:2799
1338
  msgid "Thanks for shopping with us"
1339
  msgstr ""
1340
 
1341
- #: includes/class-kadence-woomail-settings.php:2800
1342
  msgid "Your {site_title} order is now delivered"
1343
  msgstr ""
1344
 
1345
- #: includes/class-kadence-woomail-settings.php:2801
1346
  msgid ""
1347
  "Hi {customer_full_name}\n"
1348
  "\t\t\t\t\t\tYour {site_title} order has been marked delivered on our side."
1349
  msgstr ""
1350
 
1351
- #: includes/class-kadence-woomail-settings.php:2946
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1352
  msgid "none"
1353
  msgstr ""
1354
 
1355
- #: includes/class-kadence-woomail-settings.php:2947
1356
  msgid "hidden"
1357
  msgstr ""
1358
 
1359
- #: includes/class-kadence-woomail-settings.php:2948
1360
  msgid "dotted"
1361
  msgstr ""
1362
 
1363
- #: includes/class-kadence-woomail-settings.php:2949
1364
  msgid "dashed"
1365
  msgstr ""
1366
 
1367
- #: includes/class-kadence-woomail-settings.php:2950
1368
  msgid "solid"
1369
  msgstr ""
1370
 
1371
- #: includes/class-kadence-woomail-settings.php:2951
1372
  msgid "double"
1373
  msgstr ""
1374
 
1375
- #: includes/class-kadence-woomail-settings.php:2952
1376
  msgid "groove"
1377
  msgstr ""
1378
 
1379
- #: includes/class-kadence-woomail-settings.php:2953
1380
  msgid "ridge"
1381
  msgstr ""
1382
 
1383
- #: includes/class-kadence-woomail-settings.php:2954
1384
  msgid "inset"
1385
  msgstr ""
1386
 
1387
- #: includes/class-kadence-woomail-settings.php:2955
1388
  msgid "outset"
1389
  msgstr ""
1390
 
1391
- #: includes/class-kadence-woomail-settings.php:2967
1392
- #: includes/class-kadence-woomail-settings.php:2981
1393
  msgid "Left"
1394
  msgstr ""
1395
 
1396
- #: includes/class-kadence-woomail-settings.php:2968
1397
- #: includes/class-kadence-woomail-settings.php:2982
1398
  msgid "Center"
1399
  msgstr ""
1400
 
1401
- #: includes/class-kadence-woomail-settings.php:2969
1402
- #: includes/class-kadence-woomail-settings.php:2983
1403
  msgid "Right"
1404
  msgstr ""
1405
 
1406
- #: includes/class-kadence-woomail-settings.php:2970
1407
  msgid "Justify"
1408
  msgstr ""
1409
 
1410
- #: includes/class-kadence-woomail-settings.php:2995
1411
  msgid "Mockup Order"
1412
  msgstr ""
1413
 
@@ -1559,12 +1629,16 @@ msgstr ""
1559
  msgid "New Subscription Details"
1560
  msgstr ""
1561
 
1562
- #: templates/woo/emails/customer-new-account.php:40
1563
  #, php-format
1564
  msgid "Your password has been automatically generated: %s"
1565
  msgstr ""
1566
 
1567
- #: templates/woo/emails/customer-new-account.php:50
 
 
 
 
1568
  #, php-format
1569
  msgid ""
1570
  "You can access your account area to view your orders and change your "
@@ -1575,6 +1649,24 @@ msgstr ""
1575
  msgid "For your reference, your order details are shown below."
1576
  msgstr ""
1577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1578
  #: templates/woo/emails/customer-reset-password.php:44
1579
  msgid "Click here to reset your password"
1580
  msgstr ""
@@ -1657,7 +1749,7 @@ msgstr ""
1657
  msgid "Note:"
1658
  msgstr ""
1659
 
1660
- #: templates/woo/emails/email-order-items.php:86
1661
  msgid "Quantity:"
1662
  msgstr ""
1663
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Kadence Woocommerce Email Designer\n"
5
+ "POT-Creation-Date: 2019-08-26 17:26-0600\n"
6
  "PO-Revision-Date: 2015-05-08 13:15-0700\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
108
  msgstr ""
109
 
110
  #: includes/class-customizer-repeater-control.php:346
111
+ #: includes/class-kadence-woomail-settings.php:1763
112
+ #: includes/class-kadence-woomail-settings.php:1804
113
  msgid "None"
114
  msgstr ""
115
 
216
  msgid "Error importing settings! The template you selected is not valid."
217
  msgstr ""
218
 
219
+ #: includes/class-kadence-woomail-preview.php:349
220
  msgid "Hello! This is an example note"
221
  msgstr ""
222
 
223
+ #: includes/class-kadence-woomail-preview.php:624
224
  msgid ""
225
+ "This email type can not be previewed please try a different order or email "
226
  "type."
227
  msgstr ""
228
 
229
+ #: includes/class-kadence-woomail-preview.php:626
230
  msgid ""
231
  "This email type requires that an order containing a subscription be selected "
232
  "as the preview order."
233
  msgstr ""
234
 
235
+ #: includes/class-kadence-woomail-preview.php:628
236
  msgid ""
237
+ "To generate a preview of this email type you must choose an order containing "
238
+ "a subscription which has also failed to auto renew as the preview order in "
239
+ "the settings."
240
+ msgstr ""
241
+
242
+ #: includes/class-kadence-woomail-preview.php:630
243
+ msgid ""
244
+ "This email type requires that an order containing a vendor purchase be "
245
  "selected as the preview order."
246
  msgstr ""
247
 
248
+ #: includes/class-kadence-woomail-preview.php:632
249
  msgid ""
250
  "This email type requires that an order containing a user who has an active "
251
  "membership be selected as the preview order."
252
  msgstr ""
253
 
254
+ #: includes/class-kadence-woomail-preview.php:696
255
  msgid ""
256
  "An error occurred trying to load this email type. Make sure this email type "
257
  "is enabled or please try another type."
258
  msgstr ""
259
 
260
+ #: includes/class-kadence-woomail-settings.php:228
261
  msgid "Header"
262
  msgstr ""
263
 
264
+ #: includes/class-kadence-woomail-settings.php:234
265
  msgid "Content"
266
  msgstr ""
267
 
268
+ #: includes/class-kadence-woomail-settings.php:240
269
  msgid "Footer"
270
  msgstr ""
271
 
272
+ #: includes/class-kadence-woomail-settings.php:262
273
  msgid "Prebuilt Templates"
274
  msgstr ""
275
 
276
+ #: includes/class-kadence-woomail-settings.php:267
277
  msgid "Email Type and Text"
278
  msgstr ""
279
 
280
+ #: includes/class-kadence-woomail-settings.php:272
281
  msgid "Container"
282
  msgstr ""
283
 
284
+ #: includes/class-kadence-woomail-settings.php:278
285
  msgid "Header Style"
286
  msgstr ""
287
 
288
+ #: includes/class-kadence-woomail-settings.php:285
289
+ #: includes/class-kadence-woomail-settings.php:391
290
  msgid "Header Image"
291
  msgstr ""
292
 
293
+ #: includes/class-kadence-woomail-settings.php:292
294
  msgid "Heading"
295
  msgstr ""
296
 
297
+ #: includes/class-kadence-woomail-settings.php:299
298
  msgid "Footer Style"
299
  msgstr ""
300
 
301
+ #: includes/class-kadence-woomail-settings.php:305
302
  msgid "Footer Social"
303
  msgstr ""
304
 
305
+ #: includes/class-kadence-woomail-settings.php:311
306
  msgid "Footer Credit Content"
307
  msgstr ""
308
 
309
+ #: includes/class-kadence-woomail-settings.php:317
310
  msgid "Content Container"
311
  msgstr ""
312
 
313
+ #: includes/class-kadence-woomail-settings.php:323
314
  msgid "Content Headings Style"
315
  msgstr ""
316
 
317
+ #: includes/class-kadence-woomail-settings.php:329
318
  msgid "Content Text Style"
319
  msgstr ""
320
 
321
+ #: includes/class-kadence-woomail-settings.php:335
322
  msgid "Order Items"
323
  msgstr ""
324
 
325
+ #: includes/class-kadence-woomail-settings.php:341
326
  msgid "Addresses"
327
  msgstr ""
328
 
329
+ #: includes/class-kadence-woomail-settings.php:347
330
  msgid "Text Copy"
331
  msgstr ""
332
 
333
+ #: includes/class-kadence-woomail-settings.php:353
334
  msgid "Button Styles"
335
  msgstr ""
336
 
337
+ #: includes/class-kadence-woomail-settings.php:359
338
  msgid "Custom Styles"
339
  msgstr ""
340
 
341
+ #: includes/class-kadence-woomail-settings.php:364
342
+ #: includes/class-kadence-woomail-settings.php:2703
343
  msgid "Import Export"
344
  msgstr ""
345
 
346
+ #: includes/class-kadence-woomail-settings.php:369
347
  msgid "Send Preview Email"
348
  msgstr ""
349
 
350
+ #: includes/class-kadence-woomail-settings.php:404
351
  msgid "Container Background color"
352
  msgstr ""
353
 
354
+ #: includes/class-kadence-woomail-settings.php:417
355
  msgid "Content Text color"
356
  msgstr ""
357
 
358
+ #: includes/class-kadence-woomail-settings.php:431
359
  msgid "Content Background color"
360
  msgstr ""
361
 
362
+ #: includes/class-kadence-woomail-settings.php:445
363
  msgid "Footer text"
364
  msgstr ""
365
 
366
+ #: includes/class-kadence-woomail-settings.php:460
367
  msgid "Recipient(s)"
368
  msgstr ""
369
 
370
+ #: includes/class-kadence-woomail-settings.php:465
371
  #, php-format
372
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
373
  msgstr ""
374
 
375
+ #: includes/class-kadence-woomail-settings.php:476
376
  msgid "Full refund subject"
377
  msgstr ""
378
 
379
+ #: includes/class-kadence-woomail-settings.php:492
380
  msgid "Partial refund subject"
381
  msgstr ""
382
 
383
+ #: includes/class-kadence-woomail-settings.php:508
384
  msgid "Full refund Heading Text"
385
  msgstr ""
386
 
387
+ #: includes/class-kadence-woomail-settings.php:528
388
  msgid "Partial refund Heading Text"
389
  msgstr ""
390
 
391
+ #: includes/class-kadence-woomail-settings.php:545
392
  msgid "Subject Text"
393
  msgstr ""
394
 
395
+ #: includes/class-kadence-woomail-settings.php:561
396
  msgid "Subject (paid) Text"
397
  msgstr ""
398
 
399
+ #: includes/class-kadence-woomail-settings.php:578
400
  msgid "Heading Text"
401
  msgstr ""
402
 
403
+ #: includes/class-kadence-woomail-settings.php:596
404
  msgid "Heading (paid) Text"
405
  msgstr ""
406
 
407
+ #: includes/class-kadence-woomail-settings.php:613
408
  msgid "Additional content"
409
  msgstr ""
410
 
411
+ #: includes/class-kadence-woomail-settings.php:649
412
  msgid "Template_load"
413
  msgstr ""
414
 
415
+ #: includes/class-kadence-woomail-settings.php:658
416
  msgid "Preview Order"
417
  msgstr ""
418
 
419
+ #: includes/class-kadence-woomail-settings.php:668
420
  msgid "Email Type"
421
  msgstr ""
422
 
423
+ #: includes/class-kadence-woomail-settings.php:678
424
  msgid "Available placeholders"
425
  msgstr ""
426
 
427
+ #: includes/class-kadence-woomail-settings.php:691
428
  msgid "Subtitle Text"
429
  msgstr ""
430
 
431
+ #: includes/class-kadence-woomail-settings.php:708
432
+ msgid "Show account section"
433
+ msgstr ""
434
+
435
+ #: includes/class-kadence-woomail-settings.php:722
436
  msgid "Switch account link to button"
437
  msgstr ""
438
 
439
+ #: includes/class-kadence-woomail-settings.php:739
440
  msgid "Switch off for Partial Refund Preview"
441
  msgstr ""
442
 
443
+ #: includes/class-kadence-woomail-settings.php:754
444
  msgid "Body Full Refund Text"
445
  msgstr ""
446
 
447
+ #: includes/class-kadence-woomail-settings.php:768
448
  msgid "Body Partial Refund Text"
449
  msgstr ""
450
 
451
+ #: includes/class-kadence-woomail-settings.php:783
452
  msgid "Switch off for unpaid preview"
453
  msgstr ""
454
 
455
+ #: includes/class-kadence-woomail-settings.php:798
456
  msgid "Make \"Pay for this Order\" a button"
457
  msgstr ""
458
 
459
+ #: includes/class-kadence-woomail-settings.php:812
460
  msgid "Body Invoice Paid Text"
461
  msgstr ""
462
 
463
+ #: includes/class-kadence-woomail-settings.php:826
464
+ #: includes/class-kadence-woomail-settings.php:896
465
  msgid "Body Invoice Pending Payment Text"
466
  msgstr ""
467
 
468
+ #: includes/class-kadence-woomail-settings.php:840
469
+ msgid "Override Static Email Content with Custom Body Text?"
470
+ msgstr ""
471
+
472
+ #: includes/class-kadence-woomail-settings.php:854
473
+ #: includes/class-kadence-woomail-settings.php:924
474
+ #: includes/class-kadence-woomail-settings.php:938
475
+ msgid "Body Text"
476
+ msgstr ""
477
+
478
+ #: includes/class-kadence-woomail-settings.php:868
479
  msgid "Make \"Pay Now\" a button"
480
  msgstr ""
481
 
482
+ #: includes/class-kadence-woomail-settings.php:882
483
  msgid "Body Invoice Failed Text"
484
  msgstr ""
485
 
486
+ #: includes/class-kadence-woomail-settings.php:910
487
  msgid "Make \"reset your password\" a button"
488
  msgstr ""
489
 
490
+ #: includes/class-kadence-woomail-settings.php:957
 
 
 
 
 
491
  msgid "Content Width"
492
  msgstr ""
493
 
494
+ #: includes/class-kadence-woomail-settings.php:976
495
  msgid "Enable Fluid Width"
496
  msgstr ""
497
 
498
+ #: includes/class-kadence-woomail-settings.php:983
499
  msgid "Content Inner Max Width"
500
  msgstr ""
501
 
502
+ #: includes/class-kadence-woomail-settings.php:1007
503
+ #: includes/class-kadence-woomail-settings.php:2653
504
  msgid "Border radius"
505
  msgstr ""
506
 
507
+ #: includes/class-kadence-woomail-settings.php:1012
508
+ #: includes/class-kadence-woomail-settings.php:2658
509
  msgid "Warning: most desktop email clients do not yet support this."
510
  msgstr ""
511
 
512
+ #: includes/class-kadence-woomail-settings.php:1024
513
  msgid "Border Top Width"
514
  msgstr ""
515
 
516
+ #: includes/class-kadence-woomail-settings.php:1040
517
  msgid "Border Right Width"
518
  msgstr ""
519
 
520
+ #: includes/class-kadence-woomail-settings.php:1056
521
  msgid "Border Bottom Width"
522
  msgstr ""
523
 
524
+ #: includes/class-kadence-woomail-settings.php:1072
525
  msgid "Border Left Width"
526
  msgstr ""
527
 
528
+ #: includes/class-kadence-woomail-settings.php:1088
529
  msgid "Border color"
530
  msgstr ""
531
 
532
+ #: includes/class-kadence-woomail-settings.php:1099
533
  msgid "Shadow"
534
  msgstr ""
535
 
536
+ #: includes/class-kadence-woomail-settings.php:1102
537
  msgid "Warning: most email clients do not yet support this."
538
  msgstr ""
539
 
540
+ #: includes/class-kadence-woomail-settings.php:1116
541
  msgid "Container Top Padding"
542
  msgstr ""
543
 
544
+ #: includes/class-kadence-woomail-settings.php:1132
545
  msgid "Container Botom Padding"
546
  msgstr ""
547
 
548
+ #: includes/class-kadence-woomail-settings.php:1151
549
  msgid "Header Image Placement"
550
  msgstr ""
551
 
552
+ #: includes/class-kadence-woomail-settings.php:1157
553
+ #: includes/class-kadence-woomail-settings.php:2219
554
  msgid "Outside Body Container"
555
  msgstr ""
556
 
557
+ #: includes/class-kadence-woomail-settings.php:1158
558
+ #: includes/class-kadence-woomail-settings.php:2218
559
  msgid "Inside Body Container"
560
  msgstr ""
561
 
562
+ #: includes/class-kadence-woomail-settings.php:1163
563
  msgid "Image Align"
564
  msgstr ""
565
 
566
+ #: includes/class-kadence-woomail-settings.php:1175
567
  msgid "Image Max Width"
568
  msgstr ""
569
 
570
+ #: includes/class-kadence-woomail-settings.php:1190
571
+ #: includes/class-kadence-woomail-settings.php:1217
572
  msgid "Background color"
573
  msgstr ""
574
 
575
+ #: includes/class-kadence-woomail-settings.php:1201
576
  msgid "Padding top/bottom"
577
  msgstr ""
578
 
579
+ #: includes/class-kadence-woomail-settings.php:1228
580
  msgid "Text align"
581
  msgstr ""
582
 
583
+ #: includes/class-kadence-woomail-settings.php:1242
584
+ #: includes/class-kadence-woomail-settings.php:1487
585
  msgid "Padding Top"
586
  msgstr ""
587
 
588
+ #: includes/class-kadence-woomail-settings.php:1258
589
+ #: includes/class-kadence-woomail-settings.php:1503
590
  msgid "Padding Bottom"
591
  msgstr ""
592
 
593
+ #: includes/class-kadence-woomail-settings.php:1275
594
  msgid "Padding left/right"
595
  msgstr ""
596
 
597
+ #: includes/class-kadence-woomail-settings.php:1291
598
  msgid "Heading Font size"
599
  msgstr ""
600
 
601
+ #: includes/class-kadence-woomail-settings.php:1307
602
  msgid "Heading Line Height"
603
  msgstr ""
604
 
605
+ #: includes/class-kadence-woomail-settings.php:1323
606
  msgid "Heading Font family"
607
  msgstr ""
608
 
609
+ #: includes/class-kadence-woomail-settings.php:1335
610
  msgid "Heading Font Style"
611
  msgstr ""
612
 
613
+ #: includes/class-kadence-woomail-settings.php:1341
614
+ #: includes/class-kadence-woomail-settings.php:1448
615
+ #: includes/class-kadence-woomail-settings.php:1730
616
+ #: includes/class-kadence-woomail-settings.php:1919
617
+ #: includes/class-kadence-woomail-settings.php:1961
618
+ #: includes/class-kadence-woomail-settings.php:2098
619
  msgid "Normal"
620
  msgstr ""
621
 
622
+ #: includes/class-kadence-woomail-settings.php:1342
623
+ #: includes/class-kadence-woomail-settings.php:1449
624
+ #: includes/class-kadence-woomail-settings.php:1731
625
+ #: includes/class-kadence-woomail-settings.php:1920
626
  msgid "Italic"
627
  msgstr ""
628
 
629
+ #: includes/class-kadence-woomail-settings.php:1350
630
  msgid "Heading Font weight"
631
  msgstr ""
632
 
633
+ #: includes/class-kadence-woomail-settings.php:1366
634
  msgid "Heading Text color"
635
  msgstr ""
636
 
637
+ #: includes/class-kadence-woomail-settings.php:1378
638
  msgid "Subtitle Settings"
639
  msgstr ""
640
 
641
+ #: includes/class-kadence-woomail-settings.php:1385
642
  msgid "Subtitle Placement"
643
  msgstr ""
644
 
645
+ #: includes/class-kadence-woomail-settings.php:1391
646
  msgid "Below Heading"
647
  msgstr ""
648
 
649
+ #: includes/class-kadence-woomail-settings.php:1392
650
  msgid "Above Heading"
651
  msgstr ""
652
 
653
+ #: includes/class-kadence-woomail-settings.php:1398
654
  msgid "Subtitle Font Size"
655
  msgstr ""
656
 
657
+ #: includes/class-kadence-woomail-settings.php:1414
658
  msgid "Subtitle Line Height"
659
  msgstr ""
660
 
661
+ #: includes/class-kadence-woomail-settings.php:1430
662
  msgid "Subtitle Font Family"
663
  msgstr ""
664
 
665
+ #: includes/class-kadence-woomail-settings.php:1442
666
  msgid "Subtitle Font Style"
667
  msgstr ""
668
 
669
+ #: includes/class-kadence-woomail-settings.php:1458
670
  msgid "Subtitle Font weight"
671
  msgstr ""
672
 
673
+ #: includes/class-kadence-woomail-settings.php:1475
674
  msgid "Subtitle Text color"
675
  msgstr ""
676
 
677
+ #: includes/class-kadence-woomail-settings.php:1519
678
  msgid "Padding Left/Right"
679
  msgstr ""
680
 
681
+ #: includes/class-kadence-woomail-settings.php:1537
682
+ #: includes/class-kadence-woomail-settings.php:2450
683
  msgid "Font Size"
684
  msgstr ""
685
 
686
+ #: includes/class-kadence-woomail-settings.php:1554
687
  msgid "Line Height"
688
  msgstr ""
689
 
690
+ #: includes/class-kadence-woomail-settings.php:1571
691
+ #: includes/class-kadence-woomail-settings.php:2466
692
  msgid "Font Family"
693
  msgstr ""
694
 
695
+ #: includes/class-kadence-woomail-settings.php:1585
696
+ #: includes/class-kadence-woomail-settings.php:2479
697
  msgid "Font weight"
698
  msgstr ""
699
 
700
+ #: includes/class-kadence-woomail-settings.php:1601
701
  msgid "Link Color"
702
  msgstr ""
703
 
704
+ #: includes/class-kadence-woomail-settings.php:1615
705
  msgid "H2 Font Size"
706
  msgstr ""
707
 
708
+ #: includes/class-kadence-woomail-settings.php:1631
709
  msgid "H2 Line Height"
710
  msgstr ""
711
 
712
+ #: includes/class-kadence-woomail-settings.php:1647
713
  msgid "H2 Padding Top"
714
  msgstr ""
715
 
716
+ #: includes/class-kadence-woomail-settings.php:1663
717
  msgid "H2 Padding Bottom"
718
  msgstr ""
719
 
720
+ #: includes/class-kadence-woomail-settings.php:1679
721
  msgid "H2 Margin Top"
722
  msgstr ""
723
 
724
+ #: includes/class-kadence-woomail-settings.php:1695
725
  msgid "H2 Margin Bottom"
726
  msgstr ""
727
 
728
+ #: includes/class-kadence-woomail-settings.php:1711
729
  msgid "H2 Font Family"
730
  msgstr ""
731
 
732
+ #: includes/class-kadence-woomail-settings.php:1724
733
  msgid "H2 Font Style"
734
  msgstr ""
735
 
736
+ #: includes/class-kadence-woomail-settings.php:1740
737
  msgid "H2 Font weight"
738
  msgstr ""
739
 
740
+ #: includes/class-kadence-woomail-settings.php:1757
741
  msgid "H2 Text Transform"
742
  msgstr ""
743
 
744
+ #: includes/class-kadence-woomail-settings.php:1764
745
  msgid "Uppercase"
746
  msgstr ""
747
 
748
+ #: includes/class-kadence-woomail-settings.php:1765
749
  msgid "Lowercase"
750
  msgstr ""
751
 
752
+ #: includes/class-kadence-woomail-settings.php:1766
753
  msgid "Capitalize"
754
  msgstr ""
755
 
756
+ #: includes/class-kadence-woomail-settings.php:1774
757
  msgid "H2 Color"
758
  msgstr ""
759
 
760
+ #: includes/class-kadence-woomail-settings.php:1786
761
  msgid "H2 Text Align"
762
  msgstr ""
763
 
764
+ #: includes/class-kadence-woomail-settings.php:1798
765
  msgid "H2 Separator"
766
  msgstr ""
767
 
768
+ #: includes/class-kadence-woomail-settings.php:1805
769
  msgid "Separator below"
770
  msgstr ""
771
 
772
+ #: includes/class-kadence-woomail-settings.php:1806
773
  msgid "Separator above"
774
  msgstr ""
775
 
776
+ #: includes/class-kadence-woomail-settings.php:1811
777
  msgid "H2 Separator height"
778
  msgstr ""
779
 
780
+ #: includes/class-kadence-woomail-settings.php:1829
781
  msgid "H2 Separator Style"
782
  msgstr ""
783
 
784
+ #: includes/class-kadence-woomail-settings.php:1835
785
+ #: includes/class-kadence-woomail-settings.php:2077
786
+ #: includes/class-kadence-woomail-settings.php:2176
787
+ #: includes/class-kadence-woomail-settings.php:2424
788
  msgid "Solid"
789
  msgstr ""
790
 
791
+ #: includes/class-kadence-woomail-settings.php:1836
792
+ #: includes/class-kadence-woomail-settings.php:2078
793
+ #: includes/class-kadence-woomail-settings.php:2177
794
+ #: includes/class-kadence-woomail-settings.php:2425
795
  msgid "Double"
796
  msgstr ""
797
 
798
+ #: includes/class-kadence-woomail-settings.php:1837
799
+ #: includes/class-kadence-woomail-settings.php:2079
800
+ #: includes/class-kadence-woomail-settings.php:2178
801
+ #: includes/class-kadence-woomail-settings.php:2426
802
  msgid "Groove"
803
  msgstr ""
804
 
805
+ #: includes/class-kadence-woomail-settings.php:1838
806
+ #: includes/class-kadence-woomail-settings.php:2080
807
+ #: includes/class-kadence-woomail-settings.php:2179
808
+ #: includes/class-kadence-woomail-settings.php:2427
809
  msgid "Dotted"
810
  msgstr ""
811
 
812
+ #: includes/class-kadence-woomail-settings.php:1839
813
+ #: includes/class-kadence-woomail-settings.php:2081
814
+ #: includes/class-kadence-woomail-settings.php:2180
815
+ #: includes/class-kadence-woomail-settings.php:2428
816
  msgid "Dashed"
817
  msgstr ""
818
 
819
+ #: includes/class-kadence-woomail-settings.php:1840
820
+ #: includes/class-kadence-woomail-settings.php:2082
821
+ #: includes/class-kadence-woomail-settings.php:2181
822
+ #: includes/class-kadence-woomail-settings.php:2429
823
  msgid "Ridge"
824
  msgstr ""
825
 
826
+ #: includes/class-kadence-woomail-settings.php:1849
827
  msgid "H2 Separator Color"
828
  msgstr ""
829
 
830
+ #: includes/class-kadence-woomail-settings.php:1862
831
  msgid "H3 Settings"
832
  msgstr ""
833
 
834
+ #: includes/class-kadence-woomail-settings.php:1869
835
  msgid "H3 Font Size"
836
  msgstr ""
837
 
838
+ #: includes/class-kadence-woomail-settings.php:1885
839
  msgid "H3 Line Height"
840
  msgstr ""
841
 
842
+ #: includes/class-kadence-woomail-settings.php:1901
843
  msgid "H3 Font Family"
844
  msgstr ""
845
 
846
+ #: includes/class-kadence-woomail-settings.php:1913
847
  msgid "H3 Font Style"
848
  msgstr ""
849
 
850
+ #: includes/class-kadence-woomail-settings.php:1928
851
  msgid "H3 Font weight"
852
  msgstr ""
853
 
854
+ #: includes/class-kadence-woomail-settings.php:1944
855
  msgid "H3 Color"
856
  msgstr ""
857
 
858
+ #: includes/class-kadence-woomail-settings.php:1955
859
  msgid "Order Table Style"
860
  msgstr ""
861
 
862
+ #: includes/class-kadence-woomail-settings.php:1962
863
  msgid "Light"
864
  msgstr ""
865
 
866
+ #: includes/class-kadence-woomail-settings.php:1967
867
  msgid "Product Image Option"
868
  msgstr ""
869
 
870
+ #: includes/class-kadence-woomail-settings.php:1973
871
  msgid "Do not show"
872
  msgstr ""
873
 
874
+ #: includes/class-kadence-woomail-settings.php:1974
875
  msgid "Show"
876
  msgstr ""
877
 
878
+ #: includes/class-kadence-woomail-settings.php:1979
879
  msgid "Order Table Background color"
880
  msgstr ""
881
 
882
+ #: includes/class-kadence-woomail-settings.php:1990
883
  msgid "Order Table Background Odd Row Color"
884
  msgstr ""
885
 
886
+ #: includes/class-kadence-woomail-settings.php:2004
887
  msgid "Padding Top and Bottom"
888
  msgstr ""
889
 
890
+ #: includes/class-kadence-woomail-settings.php:2023
891
  msgid "Padding Left and Right"
892
  msgstr ""
893
 
894
+ #: includes/class-kadence-woomail-settings.php:2041
895
  msgid "Border Width"
896
  msgstr ""
897
 
898
+ #: includes/class-kadence-woomail-settings.php:2060
899
  msgid "Border Color"
900
  msgstr ""
901
 
902
+ #: includes/class-kadence-woomail-settings.php:2071
903
  msgid "Border Style"
904
  msgstr ""
905
 
906
+ #: includes/class-kadence-woomail-settings.php:2092
907
  msgid "Order Table Heading Style"
908
  msgstr ""
909
 
910
+ #: includes/class-kadence-woomail-settings.php:2099
911
  msgid "Split"
912
  msgstr ""
913
 
914
+ #: includes/class-kadence-woomail-settings.php:2103
915
  msgid "Enable Order Notes to be moved below table."
916
  msgstr ""
917
 
918
+ #: includes/class-kadence-woomail-settings.php:2116
919
  msgid "Address Box Background color"
920
  msgstr ""
921
 
922
+ #: includes/class-kadence-woomail-settings.php:2127
923
  msgid "Address Box Padding"
924
  msgstr ""
925
 
926
+ #: includes/class-kadence-woomail-settings.php:2143
927
  msgid "Address Box Border Width"
928
  msgstr ""
929
 
930
+ #: includes/class-kadence-woomail-settings.php:2159
931
  msgid "Address Box Border Color"
932
  msgstr ""
933
 
934
+ #: includes/class-kadence-woomail-settings.php:2170
935
  msgid "Address Box Border Style"
936
  msgstr ""
937
 
938
+ #: includes/class-kadence-woomail-settings.php:2189
939
  msgid "Address Box Text Color"
940
  msgstr ""
941
 
942
+ #: includes/class-kadence-woomail-settings.php:2200
943
  msgid "Address Box Text Align"
944
  msgstr ""
945
 
946
+ #: includes/class-kadence-woomail-settings.php:2212
947
  msgid "Footer Background Placement"
948
  msgstr ""
949
 
950
+ #: includes/class-kadence-woomail-settings.php:2224
951
  msgid "Footer Background Color"
952
  msgstr ""
953
 
954
+ #: includes/class-kadence-woomail-settings.php:2235
955
+ #: includes/class-kadence-woomail-settings.php:2359
956
+ #: includes/class-kadence-woomail-settings.php:2507
957
  msgid "Top Padding"
958
  msgstr ""
959
 
960
+ #: includes/class-kadence-woomail-settings.php:2251
961
+ #: includes/class-kadence-woomail-settings.php:2375
962
+ #: includes/class-kadence-woomail-settings.php:2523
963
  msgid "Bottom Padding"
964
  msgstr ""
965
 
966
+ #: includes/class-kadence-woomail-settings.php:2267
967
  msgid "Left/Right Padding"
968
  msgstr ""
969
 
970
+ #: includes/class-kadence-woomail-settings.php:2282
971
  msgid "Enable Social Section"
972
  msgstr ""
973
 
974
+ #: includes/class-kadence-woomail-settings.php:2290
975
  msgid "Footer Social Options"
976
  msgstr ""
977
 
978
+ #: includes/class-kadence-woomail-settings.php:2304
979
  msgid "Footer Social Title Color"
980
  msgstr ""
981
 
982
+ #: includes/class-kadence-woomail-settings.php:2315
983
  msgid "Footer Social Title Font Size"
984
  msgstr ""
985
 
986
+ #: includes/class-kadence-woomail-settings.php:2331
987
  msgid "Footer Social Title Font Family"
988
  msgstr ""
989
 
990
+ #: includes/class-kadence-woomail-settings.php:2343
991
  msgid "Footer Social Title Font Weight"
992
  msgstr ""
993
 
994
+ #: includes/class-kadence-woomail-settings.php:2391
995
  msgid "Footer Social Bottom Border Width"
996
  msgstr ""
997
 
998
+ #: includes/class-kadence-woomail-settings.php:2407
999
  msgid "Footer Social Bottom Border Color"
1000
  msgstr ""
1001
 
1002
+ #: includes/class-kadence-woomail-settings.php:2418
1003
  msgid "Footer Social Bottom Border Style"
1004
  msgstr ""
1005
 
1006
+ #: includes/class-kadence-woomail-settings.php:2437
1007
  msgid "Text Align"
1008
  msgstr ""
1009
 
1010
+ #: includes/class-kadence-woomail-settings.php:2496
1011
  msgid "Text Color"
1012
  msgstr ""
1013
 
1014
+ #: includes/class-kadence-woomail-settings.php:2539
1015
  msgid "Button Text Color"
1016
  msgstr ""
1017
 
1018
+ #: includes/class-kadence-woomail-settings.php:2550
1019
  msgid "Button Font Size"
1020
  msgstr ""
1021
 
1022
+ #: includes/class-kadence-woomail-settings.php:2566
1023
  msgid "Button Font Family"
1024
  msgstr ""
1025
 
1026
+ #: includes/class-kadence-woomail-settings.php:2578
1027
  msgid "Button Font Weight"
1028
  msgstr ""
1029
 
1030
+ #: includes/class-kadence-woomail-settings.php:2594
1031
  msgid "Button Background Color"
1032
  msgstr ""
1033
 
1034
+ #: includes/class-kadence-woomail-settings.php:2605
1035
  msgid "Top and Bottom Padding"
1036
  msgstr ""
1037
 
1038
+ #: includes/class-kadence-woomail-settings.php:2621
1039
  msgid "Left and Right Padding"
1040
  msgstr ""
1041
 
1042
+ #: includes/class-kadence-woomail-settings.php:2637
1043
  msgid "Button Border Width"
1044
  msgstr ""
1045
 
1046
+ #: includes/class-kadence-woomail-settings.php:2670
1047
  msgid "Button Border Color"
1048
  msgstr ""
1049
 
1050
+ #: includes/class-kadence-woomail-settings.php:2681
1051
  msgid "Button Align"
1052
  msgstr ""
1053
 
1054
+ #: includes/class-kadence-woomail-settings.php:2692
1055
  msgid "Custom CSS"
1056
  msgstr ""
1057
 
1058
+ #: includes/class-kadence-woomail-settings.php:2709
1059
  msgid "Preview Email Recipient"
1060
  msgstr ""
1061
 
1062
+ #: includes/class-kadence-woomail-settings.php:2710
1063
  msgid "Enter recipients (comma separated) for preview emails"
1064
  msgstr ""
1065
 
1066
+ #: includes/class-kadence-woomail-settings.php:2751
1067
  msgid "Hi There,"
1068
  msgstr ""
1069
 
1070
+ #: includes/class-kadence-woomail-settings.php:2752
1071
  msgid "{product_title} is now back in stock at {site_title}"
1072
  msgstr ""
1073
 
1074
+ #: includes/class-kadence-woomail-settings.php:2753
1075
  msgid "A product you are waiting for is back in stock"
1076
  msgstr ""
1077
 
1078
+ #: includes/class-kadence-woomail-settings.php:2754
1079
+ #: includes/class-kadence-woomail-settings.php:2778
1080
  msgid "New customer order"
1081
  msgstr ""
1082
 
1083
+ #: includes/class-kadence-woomail-settings.php:2755
1084
+ #: includes/class-kadence-woomail-settings.php:2799
1085
  msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
1086
  msgstr ""
1087
 
1088
+ #: includes/class-kadence-woomail-settings.php:2756
1089
  msgid ""
1090
  "You have received a subscription renewal order from {customer_full_name}. "
1091
  "Their order is as follows:"
1092
  msgstr ""
1093
 
1094
+ #: includes/class-kadence-woomail-settings.php:2757
1095
+ #: includes/class-kadence-woomail-settings.php:2780
1096
+ #: includes/class-kadence-woomail-settings.php:2791
1097
  msgid "Thank you for your order"
1098
  msgstr ""
1099
 
1100
+ #: includes/class-kadence-woomail-settings.php:2758
1101
+ #: includes/class-kadence-woomail-settings.php:2801
1102
+ #: includes/class-kadence-woomail-settings.php:2805
1103
  msgid "Your {site_title} order receipt from {order_date}"
1104
  msgstr ""
1105
 
1106
+ #: includes/class-kadence-woomail-settings.php:2759
1107
  msgid ""
1108
  "Your subscription renewal order has been received and is now being "
1109
  "processed. Your order details are shown below for your reference:"
1110
  msgstr ""
1111
 
1112
+ #: includes/class-kadence-woomail-settings.php:2760
1113
+ #: includes/class-kadence-woomail-settings.php:2763
1114
+ #: includes/class-kadence-woomail-settings.php:2788
1115
  msgid "Your order is complete"
1116
  msgstr ""
1117
 
1118
+ #: includes/class-kadence-woomail-settings.php:2761
1119
+ #: includes/class-kadence-woomail-settings.php:2764
1120
+ #: includes/class-kadence-woomail-settings.php:2802
1121
  msgid "Your {site_title} order from {order_date} is complete"
1122
  msgstr ""
1123
 
1124
+ #: includes/class-kadence-woomail-settings.php:2762
1125
  msgid ""
1126
  "Hi there. Your subscription renewal order with {site_title} has been "
1127
  "completed. Your order details are shown below for your reference:"
1128
  msgstr ""
1129
 
1130
+ #: includes/class-kadence-woomail-settings.php:2765
1131
  msgid ""
1132
  "Hi there. You have successfully changed your subscription items on "
1133
  "{site_title}. Your new order and subscription details are shown below for "
1134
  "your reference:"
1135
  msgstr ""
1136
 
1137
+ #: includes/class-kadence-woomail-settings.php:2766
1138
+ #: includes/class-kadence-woomail-settings.php:2767
1139
+ #: includes/class-kadence-woomail-settings.php:2792
1140
+ #: includes/class-kadence-woomail-settings.php:2806
1141
  msgid "Invoice for order {order_number}"
1142
  msgstr ""
1143
 
1144
+ #: includes/class-kadence-woomail-settings.php:2768
1145
  msgid ""
1146
  "An invoice has been created for you to renew your subscription with "
1147
  "{site_title}. To pay for this invoice please use the following link: "
1148
  "{invoice_pay_link}"
1149
  msgstr ""
1150
 
1151
+ #: includes/class-kadence-woomail-settings.php:2770
1152
  msgid ""
1153
  "The automatic payment to renew your subscription with {site_title} has "
1154
  "failed. To reactivate the subscription, please login and pay for the renewal "
1155
  "from your account page: {invoice_pay_link}"
1156
  msgstr ""
1157
 
1158
+ #: includes/class-kadence-woomail-settings.php:2771
1159
  msgid "Subscription Cancelled"
1160
  msgstr ""
1161
 
1162
+ #: includes/class-kadence-woomail-settings.php:2772
1163
  msgid "[{site_title}] Subscription Cancelled"
1164
  msgstr ""
1165
 
1166
+ #: includes/class-kadence-woomail-settings.php:2773
1167
  msgid ""
1168
  "A subscription belonging to {customer_full_name} has been cancelled. Their "
1169
  "subscription's details are as follows:"
1170
  msgstr ""
1171
 
1172
+ #: includes/class-kadence-woomail-settings.php:2774
1173
  msgid "Automatic payment failed for order {order_number}"
1174
  msgstr ""
1175
 
1176
+ #: includes/class-kadence-woomail-settings.php:2775
1177
  msgid "Automatic payment failed for {order_number}, we will retry {retry_time}"
1178
  msgstr ""
1179
 
1180
+ #: includes/class-kadence-woomail-settings.php:2779
1181
  msgid "Cancelled order"
1182
  msgstr ""
1183
 
1184
+ #: includes/class-kadence-woomail-settings.php:2781
1185
+ msgid "Congratulations on the sale!"
1186
+ msgstr ""
1187
+
1188
+ #: includes/class-kadence-woomail-settings.php:2782
1189
+ msgid "Thanks for using {site_address}!"
1190
+ msgstr ""
1191
+
1192
+ #: includes/class-kadence-woomail-settings.php:2783
1193
+ msgid "Thanks for shopping with us."
1194
+ msgstr ""
1195
+
1196
+ #: includes/class-kadence-woomail-settings.php:2784
1197
+ msgid "We hope to see you again soon."
1198
+ msgstr ""
1199
+
1200
+ #: includes/class-kadence-woomail-settings.php:2785
1201
+ msgid "We look forward to fulfilling your order soon."
1202
+ msgstr ""
1203
+
1204
+ #: includes/class-kadence-woomail-settings.php:2786
1205
+ msgid "We look forward to seeing you soon."
1206
+ msgstr ""
1207
+
1208
+ #: includes/class-kadence-woomail-settings.php:2787
1209
+ msgid "Thanks for reading."
1210
+ msgstr ""
1211
+
1212
+ #: includes/class-kadence-woomail-settings.php:2789
1213
  msgid "Order {order_number} details"
1214
  msgstr ""
1215
 
1216
+ #: includes/class-kadence-woomail-settings.php:2790
1217
  msgid "Your order has been partially refunded"
1218
  msgstr ""
1219
 
1220
+ #: includes/class-kadence-woomail-settings.php:2793
1221
  msgid "Your order details"
1222
  msgstr ""
1223
 
1224
+ #: includes/class-kadence-woomail-settings.php:2794
1225
  msgid "Failed order"
1226
  msgstr ""
1227
 
1228
+ #: includes/class-kadence-woomail-settings.php:2795
1229
  msgid "Welcome to {site_title}"
1230
  msgstr ""
1231
 
1232
+ #: includes/class-kadence-woomail-settings.php:2796
1233
  msgid "A note has been added to your order"
1234
  msgstr ""
1235
 
1236
+ #: includes/class-kadence-woomail-settings.php:2797
1237
  msgid "Password reset instructions"
1238
  msgstr ""
1239
 
1240
+ #: includes/class-kadence-woomail-settings.php:2800
1241
  msgid "[{site_title}] Cancelled order ({order_number})"
1242
  msgstr ""
1243
 
1244
+ #: includes/class-kadence-woomail-settings.php:2803
1245
  msgid "Your {site_title} order from {order_date} has been refunded"
1246
  msgstr ""
1247
 
1248
+ #: includes/class-kadence-woomail-settings.php:2804
1249
  msgid "Your {site_title} order from {order_date} has been partially refunded"
1250
  msgstr ""
1251
 
1252
+ #: includes/class-kadence-woomail-settings.php:2807
1253
  msgid "Your {site_title} order from {order_date}"
1254
  msgstr ""
1255
 
1256
+ #: includes/class-kadence-woomail-settings.php:2808
1257
  msgid "[{site_title}] Failed order ({order_number})"
1258
  msgstr ""
1259
 
1260
+ #: includes/class-kadence-woomail-settings.php:2809
1261
  msgid "Your account on {site_title}"
1262
  msgstr ""
1263
 
1264
+ #: includes/class-kadence-woomail-settings.php:2810
1265
  msgid "Note added to your {site_title} order from {order_date}"
1266
  msgstr ""
1267
 
1268
+ #: includes/class-kadence-woomail-settings.php:2811
1269
  msgid "Password reset for {site_title}"
1270
  msgstr ""
1271
 
1272
+ #: includes/class-kadence-woomail-settings.php:2812
1273
  msgid ""
1274
  "You have received an order from {customer_full_name}. The order is as "
1275
  "follows:"
1276
  msgstr ""
1277
 
1278
+ #: includes/class-kadence-woomail-settings.php:2813
1279
  msgid ""
1280
  "The order {order_number} from {customer_full_name} has been cancelled. The "
1281
  "order was as follows:"
1282
  msgstr ""
1283
 
1284
+ #: includes/class-kadence-woomail-settings.php:2814
1285
  msgid ""
1286
  "Your order has been received and is now being processed. Your order details "
1287
  "are shown below for your reference:"
1288
  msgstr ""
1289
 
1290
+ #: includes/class-kadence-woomail-settings.php:2815
1291
  msgid ""
1292
  "Hi there. Your recent order on {site_title} has been completed. Your order "
1293
  "details are shown below for your reference:"
1294
  msgstr ""
1295
 
1296
+ #: includes/class-kadence-woomail-settings.php:2817
1297
  msgid "Hi there. Your order on {site_title} has been refunded."
1298
  msgstr ""
1299
 
1300
+ #: includes/class-kadence-woomail-settings.php:2818
1301
  msgid "Hi there. Your order on {site_title} has been partially refunded."
1302
  msgstr ""
1303
 
1304
+ #: includes/class-kadence-woomail-settings.php:2819
1305
  msgid ""
1306
  "Your order is on-hold until we confirm payment has been received. Your order "
1307
  "details are shown below for your reference:"
1308
  msgstr ""
1309
 
1310
+ #: includes/class-kadence-woomail-settings.php:2822
1311
  msgid "An order has been created for you on {site_title}. {invoice_pay_link}"
1312
  msgstr ""
1313
 
1314
+ #: includes/class-kadence-woomail-settings.php:2824
1315
  msgid ""
1316
  "Payment for order {order_number} from {customer_full_name} has failed. The "
1317
  "order was as follows:"
1318
  msgstr ""
1319
 
1320
+ #: includes/class-kadence-woomail-settings.php:2827
1321
  msgid ""
1322
  "Thanks for creating an account on {site_title}. Your username is "
1323
  "{customer_username}"
1324
  msgstr ""
1325
 
1326
+ #: includes/class-kadence-woomail-settings.php:2828
1327
  msgid "Hello, a note has just been added to your order:"
1328
  msgstr ""
1329
 
1330
+ #: includes/class-kadence-woomail-settings.php:2830
1331
  msgid ""
1332
  "Someone requested that the password be reset for the following account:\n"
1333
  "\n"
1338
  "To reset your password, visit the following address:"
1339
  msgstr ""
1340
 
1341
+ #: includes/class-kadence-woomail-settings.php:2839
1342
  msgid "Renew your {membership_plan}"
1343
  msgstr ""
1344
 
1345
+ #: includes/class-kadence-woomail-settings.php:2840
1346
  msgid "Your {site_title} membership has expired"
1347
  msgstr ""
1348
 
1349
+ #: includes/class-kadence-woomail-settings.php:2841
1350
  msgid "You can now access {membership_plan}"
1351
  msgstr ""
1352
 
1353
+ #: includes/class-kadence-woomail-settings.php:2842
1354
  msgid "Your {site_title} membership is now active!"
1355
  msgstr ""
1356
 
1357
+ #: includes/class-kadence-woomail-settings.php:2843
1358
  msgid "An update about your {membership_plan}"
1359
  msgstr ""
1360
 
1361
+ #: includes/class-kadence-woomail-settings.php:2844
1362
  msgid "Your {site_title} membership ends soon!"
1363
  msgstr ""
1364
 
1365
+ #: includes/class-kadence-woomail-settings.php:2845
1366
  msgid "A note has been added about your membership"
1367
  msgstr ""
1368
 
1369
+ #: includes/class-kadence-woomail-settings.php:2846
1370
  msgid "Note added to your {site_title} membership"
1371
  msgstr ""
1372
 
1373
+ #: includes/class-kadence-woomail-settings.php:2847
1374
  msgid "You can renew your {membership_plan}"
1375
  msgstr ""
1376
 
1377
+ #: includes/class-kadence-woomail-settings.php:2848
1378
  msgid "Renew your {site_title} membership!"
1379
  msgstr ""
1380
 
1381
+ #: includes/class-kadence-woomail-settings.php:2849
1382
  msgid "Thanks for shopping with us"
1383
  msgstr ""
1384
 
1385
+ #: includes/class-kadence-woomail-settings.php:2850
1386
  msgid "Your {site_title} order is now delivered"
1387
  msgstr ""
1388
 
1389
+ #: includes/class-kadence-woomail-settings.php:2852
1390
  msgid ""
1391
  "Hi {customer_full_name}\n"
1392
  "\t\t\t\t\t\tYour {site_title} order has been marked delivered on our side."
1393
  msgstr ""
1394
 
1395
+ #: includes/class-kadence-woomail-settings.php:2953
1396
+ msgctxt "ekomi"
1397
+ msgid "Please rate your Order"
1398
+ msgstr ""
1399
+
1400
+ #: includes/class-kadence-woomail-settings.php:2954
1401
+ msgid "Account activation {site_title}"
1402
+ msgstr ""
1403
+
1404
+ #: includes/class-kadence-woomail-settings.php:2955
1405
+ msgid "Payment received"
1406
+ msgstr ""
1407
+
1408
+ #: includes/class-kadence-woomail-settings.php:2956
1409
+ msgid "Your revocation"
1410
+ msgstr ""
1411
+
1412
+ #: includes/class-kadence-woomail-settings.php:2957
1413
+ msgid "SEPA Direct Debit Mandate"
1414
+ msgstr ""
1415
+
1416
+ #: includes/class-kadence-woomail-settings.php:2958
1417
+ msgctxt "trusted-shops"
1418
+ msgid "Please rate your Order"
1419
+ msgstr ""
1420
+
1421
+ #: includes/class-kadence-woomail-settings.php:2990
1422
  msgid "none"
1423
  msgstr ""
1424
 
1425
+ #: includes/class-kadence-woomail-settings.php:2991
1426
  msgid "hidden"
1427
  msgstr ""
1428
 
1429
+ #: includes/class-kadence-woomail-settings.php:2992
1430
  msgid "dotted"
1431
  msgstr ""
1432
 
1433
+ #: includes/class-kadence-woomail-settings.php:2993
1434
  msgid "dashed"
1435
  msgstr ""
1436
 
1437
+ #: includes/class-kadence-woomail-settings.php:2994
1438
  msgid "solid"
1439
  msgstr ""
1440
 
1441
+ #: includes/class-kadence-woomail-settings.php:2995
1442
  msgid "double"
1443
  msgstr ""
1444
 
1445
+ #: includes/class-kadence-woomail-settings.php:2996
1446
  msgid "groove"
1447
  msgstr ""
1448
 
1449
+ #: includes/class-kadence-woomail-settings.php:2997
1450
  msgid "ridge"
1451
  msgstr ""
1452
 
1453
+ #: includes/class-kadence-woomail-settings.php:2998
1454
  msgid "inset"
1455
  msgstr ""
1456
 
1457
+ #: includes/class-kadence-woomail-settings.php:2999
1458
  msgid "outset"
1459
  msgstr ""
1460
 
1461
+ #: includes/class-kadence-woomail-settings.php:3011
1462
+ #: includes/class-kadence-woomail-settings.php:3025
1463
  msgid "Left"
1464
  msgstr ""
1465
 
1466
+ #: includes/class-kadence-woomail-settings.php:3012
1467
+ #: includes/class-kadence-woomail-settings.php:3026
1468
  msgid "Center"
1469
  msgstr ""
1470
 
1471
+ #: includes/class-kadence-woomail-settings.php:3013
1472
+ #: includes/class-kadence-woomail-settings.php:3027
1473
  msgid "Right"
1474
  msgstr ""
1475
 
1476
+ #: includes/class-kadence-woomail-settings.php:3014
1477
  msgid "Justify"
1478
  msgstr ""
1479
 
1480
+ #: includes/class-kadence-woomail-settings.php:3039
1481
  msgid "Mockup Order"
1482
  msgstr ""
1483
 
1629
  msgid "New Subscription Details"
1630
  msgstr ""
1631
 
1632
+ #: templates/woo/emails/customer-new-account.php:41
1633
  #, php-format
1634
  msgid "Your password has been automatically generated: %s"
1635
  msgstr ""
1636
 
1637
+ #: templates/woo/emails/customer-new-account.php:48
1638
+ msgid "View Account"
1639
+ msgstr ""
1640
+
1641
+ #: templates/woo/emails/customer-new-account.php:51
1642
  #, php-format
1643
  msgid ""
1644
  "You can access your account area to view your orders and change your "
1649
  msgid "For your reference, your order details are shown below."
1650
  msgstr ""
1651
 
1652
+ #. translators: %1$s: name of the blog, %2$s: lowercase human time diff in the form returned by wcs_get_human_time_diff(), e.g. 'in 12 hours'
1653
+ #: templates/woo/emails/customer-payment-retry.php:39
1654
+ #, php-format
1655
+ msgctxt "In customer renewal invoice email"
1656
+ msgid ""
1657
+ "The automatic payment to renew your subscription with %1$s has failed. We "
1658
+ "will retry the payment %2$s."
1659
+ msgstr ""
1660
+
1661
+ #. translators: %1$s %2$s: link markup to checkout payment url, note: no full stop due to url at the end
1662
+ #: templates/woo/emails/customer-payment-retry.php:45
1663
+ #, php-format
1664
+ msgctxt "In customer renewal invoice email"
1665
+ msgid ""
1666
+ "To reactivate the subscription now, you can also login and pay for the "
1667
+ "renewal from your account page: %1$sPay Now &raquo;%2$s"
1668
+ msgstr ""
1669
+
1670
  #: templates/woo/emails/customer-reset-password.php:44
1671
  msgid "Click here to reset your password"
1672
  msgstr ""
1749
  msgid "Note:"
1750
  msgstr ""
1751
 
1752
+ #: templates/woo/emails/email-order-items.php:76
1753
  msgid "Quantity:"
1754
  msgstr ""
1755
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.kadencethemes.com/about-us/
5
  Requires PHP: 5.2.4
6
  Requires at least: 4.4
7
  Tested up to: 5.2.2
8
- Stable tag: 1.3.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -60,6 +60,12 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
60
 
61
  == Changelog ==
62
 
 
 
 
 
 
 
63
  = 1.3.1 =
64
  * Add: Formal German po.
65
  * Update: Language files.
5
  Requires PHP: 5.2.4
6
  Requires at least: 4.4
7
  Tested up to: 5.2.2
8
+ Stable tag: 1.3.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
60
 
61
  == Changelog ==
62
 
63
+ = 1.3.2 =
64
+ * Fix: Language string for account button.
65
+ * Add: Option to remove account link in welcome email.
66
+ * Add: More placeholders for Additional Content.
67
+ * Add: Customer Payment Retry Email Type.
68
+
69
  = 1.3.1 =
70
  * Add: Formal German po.
71
  * Update: Language files.
templates/woo/emails/customer-new-account.php CHANGED
@@ -23,12 +23,13 @@
23
  */
24
 
25
  if ( ! defined( 'ABSPATH' ) ) {
26
- exit; // Exit if accessed directly
27
  }
28
 
29
  do_action( 'woocommerce_email_header', $email_heading, $email );
30
 
31
- $button_check = Kadence_Woomail_Customizer::opt( 'customer_new_account_btn_switch' );
 
32
 
33
  /**
34
  * @hooked Kadence_Woomail_Designer::email_main_text_area_no_order
@@ -41,14 +42,15 @@ do_action( 'kadence_woomail_designer_email_text', $email ); ?>
41
 
42
  <?php
43
  endif;
44
-
45
- if ( true == $button_check ) {
46
- echo '<p>' . esc_html( 'You can access your account area to view your orders and change your password.', 'kadence-woocommerce-email-designer' ) . '</p>';
47
- echo '<p class="btn-container"><a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '" class="btn">' . esc_html( 'View Account', 'kadence-woocommerce-email-designer' ) . '</a></p>';
48
- } else {
49
- ?>
50
- <p><?php printf( __( 'You can access your account area to view your orders and change your password here: %s.', 'kadence-woocommerce-email-designer' ), make_clickable( esc_url( wc_get_page_permalink( 'myaccount' ) ) ) ); ?></p>
51
- <?php
 
52
  }
53
  /**
54
  * Show user-defined additonal content - this is set in each email's settings.
23
  */
24
 
25
  if ( ! defined( 'ABSPATH' ) ) {
26
+ exit; // Exit if accessed directly.
27
  }
28
 
29
  do_action( 'woocommerce_email_header', $email_heading, $email );
30
 
31
+ $button_check = Kadence_Woomail_Customizer::opt( 'customer_new_account_btn_switch' );
32
+ $account_section = Kadence_Woomail_Customizer::opt( 'customer_new_account_account_section' );
33
 
34
  /**
35
  * @hooked Kadence_Woomail_Designer::email_main_text_area_no_order
42
 
43
  <?php
44
  endif;
45
+ if ( true == $account_section ) {
46
+ if ( true == $button_check ) {
47
+ echo '<p>' . esc_html( 'You can access your account area to view your orders and change your password.', 'kadence-woocommerce-email-designer' ) . '</p>';
48
+ echo '<p class="btn-container"><a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '" class="btn">' . esc_html__( 'View Account', 'kadence-woocommerce-email-designer' ) . '</a></p>';
49
+ } else {
50
+ ?>
51
+ <p><?php printf( __( 'You can access your account area to view your orders and change your password here: %s.', 'kadence-woocommerce-email-designer' ), make_clickable( esc_url( wc_get_page_permalink( 'myaccount' ) ) ) ); ?></p>
52
+ <?php
53
+ }
54
  }
55
  /**
56
  * Show user-defined additonal content - this is set in each email's settings.
templates/woo/emails/customer-payment-retry.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer payment retry email
4
+ *
5
+ * @author Prospress
6
+ * @package WooCommerce_Subscriptions/Templates/Emails
7
+ * @version 2.1.0
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit; // Exit if accessed directly.
12
+ }
13
+
14
+ /**
15
+ * NOTES ABOUT TEMPLATE EDIT FOR KADENCE WOOMAIL DESIGNER.
16
+ * 1. add hook 'kadence_woomail_designer_email_details' to pull in main text
17
+ * 2. Add option to Remove static main text area.
18
+ */
19
+
20
+ do_action( 'woocommerce_email_header', $email_heading, $email );
21
+
22
+ $override_content = Kadence_Woomail_Customizer::opt( 'customer_payment_retry_override' );
23
+
24
+ if ( true == $override_content ) {
25
+
26
+ /**
27
+ * Email Main Body Text Action
28
+ *
29
+ * @hooked Kadence_Woomail_Designer::email_main_text_area
30
+ */
31
+ do_action( 'kadence_woomail_designer_email_details', $order, $sent_to_admin, $plain_text, $email );
32
+
33
+
34
+ } else {
35
+ ?>
36
+ <p>
37
+ <?php
38
+ // translators: %1$s: name of the blog, %2$s: lowercase human time diff in the form returned by wcs_get_human_time_diff(), e.g. 'in 12 hours'
39
+ echo wp_kses( sprintf( _x( 'The automatic payment to renew your subscription with %1$s has failed. We will retry the payment %2$s.', 'In customer renewal invoice email', 'woocommerce-subscriptions' ), esc_html( get_bloginfo( 'name' ) ), wcs_get_human_time_diff( $retry->get_time() ) ), array( 'a' => array( 'href' => true ) ) );
40
+ ?>
41
+ </p>
42
+ <p>
43
+ <?php
44
+ // translators: %1$s %2$s: link markup to checkout payment url, note: no full stop due to url at the end
45
+ echo wp_kses( sprintf( _x( 'To reactivate the subscription now, you can also login and pay for the renewal from your account page: %1$sPay Now &raquo;%2$s', 'In customer renewal invoice email', 'woocommerce-subscriptions' ), '<a href="' . esc_url( $order->get_checkout_payment_url() ) . '">', '</a>' ), array( 'a' => array( 'href' => true ) ) );
46
+ ?>
47
+ </p>
48
+
49
+ <?php
50
+ }
51
+
52
+ do_action( 'woocommerce_subscriptions_email_order_details', $order, $sent_to_admin, $plain_text, $email );
53
+
54
+ do_action( 'woocommerce_email_footer', $email );
templates/woo/emails/email-order-items.php CHANGED
@@ -65,16 +65,6 @@ if ( true == $responsive_check ) {
65
  // allow other plugins to add additional product information here.
66
  do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
67
 
68
- wc_display_item_meta(
69
- $item,
70
- array(
71
- 'label_before' => '<strong class="wc-item-meta-label" style="margin-' . esc_attr( $margin_side ) . ': .25em; clear: both">',
72
- )
73
- );
74
-
75
- // allow other plugins to add additional product information here.
76
- do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, $plain_text );
77
-
78
  $qty = $item->get_quantity();
79
  $refunded_qty = $order->get_qty_refunded_for_item( $item_id );
80
 
@@ -85,6 +75,16 @@ if ( true == $responsive_check ) {
85
  }
86
  echo '<p class="inside-quantity" style="margin-bottom:0;">' . esc_html__( 'Quantity:', 'kadence-woocommerce-email-designer' ) . ' ' . wp_kses_post( apply_filters( 'woocommerce_email_order_item_quantity', $qty_display, $item ) ) . '</p>';
87
 
 
 
 
 
 
 
 
 
 
 
88
  ?>
89
  </td>
90
  <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; vertical-align:middle;">
65
  // allow other plugins to add additional product information here.
66
  do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
67
 
 
 
 
 
 
 
 
 
 
 
68
  $qty = $item->get_quantity();
69
  $refunded_qty = $order->get_qty_refunded_for_item( $item_id );
70
 
75
  }
76
  echo '<p class="inside-quantity" style="margin-bottom:0;">' . esc_html__( 'Quantity:', 'kadence-woocommerce-email-designer' ) . ' ' . wp_kses_post( apply_filters( 'woocommerce_email_order_item_quantity', $qty_display, $item ) ) . '</p>';
77
 
78
+ wc_display_item_meta(
79
+ $item,
80
+ array(
81
+ 'label_before' => '<strong class="wc-item-meta-label" style="margin-' . esc_attr( $margin_side ) . ': .25em; clear: both">',
82
+ )
83
+ );
84
+
85
+ // allow other plugins to add additional product information here.
86
+ do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, $plain_text );
87
+
88
  ?>
89
  </td>
90
  <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; vertical-align:middle;">