PluginProbe
YayMail – WooCommerce Email Customizer / trunk
YayMail – WooCommerce Email Customizer vtrunk
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / src / TemplateLibrary / Templates / Processing / NextGen.php

NextGen.php in YayMail – WooCommerce Email Customizer trunk, at src/TemplateLibrary/Templates/Processing/NextGen.php

1,079 lines 62.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace YayMail\TemplateLibrary\Templates\Processing;
4
5 use YayMail\Abstracts\BaseTemplate;
6 use YayMail\Elements\BillingAddress;
7 use YayMail\Elements\Button;
8 use YayMail\Elements\Column;
9 use YayMail\Elements\ColumnLayout;
10 use YayMail\Elements\Divider;
11 use YayMail\Elements\FeaturedProducts;
12 use YayMail\Elements\Heading;
13 use YayMail\Elements\Logo;
14 use YayMail\Elements\OrderDetails;
15 use YayMail\Elements\OrderProgress;
16 use YayMail\Elements\ShippingAddress;
17 use YayMail\Elements\SocialIcon;
18 use YayMail\Elements\Space;
19 use YayMail\Elements\Text;
20 use YayMail\Utils\SingletonTrait;
21
22 /**
23 * Next Gen template for customer_processing_order email.
24 * Generated by tools/yaymail-template-gen — review/tweak values as needed.
25 */
26 class NextGen extends BaseTemplate {
27 use SingletonTrait;
28
29 public function __construct() {
30 parent::__construct();
31 $this->id = 'processing_order_v16';
32 $this->email_type = 'customer_processing_order';
33 $this->name = 'Next Gen';
34 $this->description = 'Bright and clean layout with product recommendations.';
35 $this->categories = [ 'Electronics' ];
36 $this->template_settings = [
37 'text_link_color' => '#000000',
38 ];
39 $this->access = 'free';
40 $this->elements = [
41 ColumnLayout::get_object_data(
42 1,
43 [
44 'children' => [
45 Column::get_object_data(
46 100,
47 [
48 'children' => [
49 ColumnLayout::get_object_data(
50 4,
51 [
52 'children' => [
53 Column::get_object_data(
54 29,
55 [
56 'children' => [
57 Logo::get_object_data(
58 [
59 'padding' => [
60 'top' => 0,
61 'right' => '10',
62 'bottom' => 0,
63 'left' => '0',
64 ],
65 'background_color' => '#ffffff00',
66 'src' => 'https://images.wpbrandy.com/uploads/woo-black-logo.png',
67 'align' => 'left',
68 'width' => '116',
69 'url' => '#',
70 'alt' => 'Store logo',
71 ]
72 ),
73 ],
74 'border' => [
75 'side' => 'none',
76 'width' => '1',
77 'style' => 'solid',
78 'color' => '#e5e5e5',
79 'custom' => [
80 'top' => '1',
81 'right' => '1',
82 'bottom' => '1',
83 'left' => '1',
84 ],
85 ],
86 ]
87 ),
88 Column::get_object_data(
89 34.49,
90 [
91 'children' => [
92 Text::get_object_data(
93 [
94 'padding' => [
95 'top' => '15',
96 'right' => '0',
97 'bottom' => '15',
98 'left' => '0',
99 ],
100 'background_color' => '#ffffff00',
101 'border' => [
102 'side' => 'none',
103 'width' => '1',
104 'style' => 'solid',
105 'color' => '#e5e5e5',
106 'custom' => [
107 'top' => '1',
108 'right' => '1',
109 'bottom' => '1',
110 'left' => '1',
111 ],
112 ],
113 'font_family' => '"Outfit", "DM Sans", sans-serif',
114 'text_color' => '#1a1a1a',
115 'rich_text' => '<p style="text-align: right"><span style="font-size: 16px">My Account</span></p>',
116 ]
117 ),
118 ],
119 'border' => [
120 'side' => 'none',
121 'width' => '1',
122 'style' => 'solid',
123 'color' => '#e5e5e5',
124 'custom' => [
125 'top' => '1',
126 'right' => '1',
127 'bottom' => '1',
128 'left' => '1',
129 ],
130 ],
131 ]
132 ),
133 Column::get_object_data(
134 27.76,
135 [
136 'children' => [
137 Text::get_object_data(
138 [
139 'padding' => [
140 'top' => '15',
141 'right' => '0',
142 'bottom' => '15',
143 'left' => '0',
144 ],
145 'background_color' => '#ffffff00',
146 'border' => [
147 'side' => 'none',
148 'width' => '1',
149 'style' => 'solid',
150 'color' => '#e5e5e5',
151 'custom' => [
152 'top' => '1',
153 'right' => '1',
154 'bottom' => '1',
155 'left' => '1',
156 ],
157 ],
158 'font_family' => '"Outfit", "DM Sans", sans-serif',
159 'text_color' => '#1a1a1a',
160 'rich_text' => '<p style="text-align: center"><span style="font-size: 16px">Order Tracking</span></p>',
161 ]
162 ),
163 ],
164 'border' => [
165 'side' => 'none',
166 'width' => '1',
167 'style' => 'solid',
168 'color' => '#e5e5e5',
169 'custom' => [
170 'top' => '1',
171 'right' => '1',
172 'bottom' => '1',
173 'left' => '1',
174 ],
175 ],
176 ]
177 ),
178 Column::get_object_data(
179 8.75,
180 [
181 'children' => [
182 Text::get_object_data(
183 [
184 'padding' => [
185 'top' => '15',
186 'right' => '2',
187 'bottom' => '15',
188 'left' => '0',
189 ],
190 'background_color' => '#ffffff00',
191 'border' => [
192 'side' => 'none',
193 'width' => '1',
194 'style' => 'solid',
195 'color' => '#e5e5e5',
196 'custom' => [
197 'top' => '1',
198 'right' => '1',
199 'bottom' => '1',
200 'left' => '1',
201 ],
202 ],
203 'font_family' => '"Outfit", "DM Sans", sans-serif',
204 'text_color' => '#1a1a1a',
205 'rich_text' => '<p style="text-align: right"><span style="font-size: 16px">Contact</span></p>',
206 ]
207 ),
208 ],
209 'border' => [
210 'side' => 'none',
211 'width' => '1',
212 'style' => 'solid',
213 'color' => '#e5e5e5',
214 'custom' => [
215 'top' => '1',
216 'right' => '1',
217 'bottom' => '1',
218 'left' => '1',
219 ],
220 ],
221 ]
222 ),
223 ],
224 'column_width' => [],
225 'column_spacing' => '0',
226 'responsive_on_mobile' => false,
227 'vertical_align' => 'middle',
228 'padding' => [
229 'top' => 5,
230 'right' => 20,
231 'bottom' => 5,
232 'left' => 20,
233 ],
234 'border' => [
235 'side' => 'none',
236 'width' => '1',
237 'style' => 'solid',
238 'color' => '#e5e5e5',
239 'custom' => [
240 'top' => '1',
241 'right' => '1',
242 'bottom' => '1',
243 'left' => '1',
244 ],
245 ],
246 'border_radius' => [
247 'top_left' => 12,
248 'top_right' => 12,
249 'bottom_left' => 12,
250 'bottom_right' => 12,
251 ],
252 'background_color' => '#ffffff',
253 'background_image' => [
254 'url' => '',
255 'position' => 'default',
256 'x_position' => 0,
257 'y_position' => 0,
258 'repeat' => 'default',
259 'size' => 'default',
260 ],
261 'inner_border_radius' => [
262 'top_left' => '0',
263 'top_right' => '0',
264 'bottom_left' => '0',
265 'bottom_right' => '0',
266 ],
267 'inner_background_color' => '#ffffff00',
268 ]
269 ),
270 Space::get_object_data(
271 [
272 'background_color' => '#ffffff00',
273 'height' => '40',
274 ]
275 ),
276 Heading::get_object_data(
277 [
278 'padding' => [
279 'top' => 0,
280 'right' => '0',
281 'bottom' => 0,
282 'left' => '0',
283 ],
284 'background_color' => '#ffffff00',
285 'border' => [
286 'side' => 'none',
287 'width' => '1',
288 'style' => 'solid',
289 'color' => '#e5e5e5',
290 'custom' => [
291 'top' => '1',
292 'right' => '1',
293 'bottom' => '1',
294 'left' => '1',
295 ],
296 ],
297 'font_family' => '"Outfit", "DM Sans", sans-serif',
298 'text_color' => '#1a1a1a',
299 'rich_text' => '<h1 style="font-size: 40px;font-weight: bold;margin: 0px;color: #000000;line-height: 1.15 !important;text-align: center"><span style="font-size: 36px">Thanks for Your Order!</span></h1>',
300 ]
301 ),
302 Text::get_object_data(
303 [
304 'padding' => [
305 'top' => 20,
306 'right' => '0',
307 'bottom' => '0',
308 'left' => '0',
309 ],
310 'background_color' => '#ffffff00',
311 'border' => [
312 'side' => 'none',
313 'width' => '1',
314 'style' => 'solid',
315 'color' => '#e5e5e5',
316 'custom' => [
317 'top' => '1',
318 'right' => '1',
319 'bottom' => '1',
320 'left' => '1',
321 ],
322 ],
323 'font_family' => '"Outfit", "DM Sans", sans-serif',
324 'text_color' => '#1a1a1a',
325 'rich_text' => '<p style="text-align: center"><span style="font-size: 14px">Order #[yaymail_order_id is_plain="true"] — Placed on [yaymail_order_date]</span></p>
326 <p style="text-align: center"><span style="font-size: 14px">Status: Processing</span></p>',
327 ]
328 ),
329 ],
330 'border' => [
331 'side' => 'none',
332 'width' => '1',
333 'style' => 'solid',
334 'color' => '#e5e5e5',
335 'custom' => [
336 'top' => '1',
337 'right' => '1',
338 'bottom' => '1',
339 'left' => '1',
340 ],
341 ],
342 ]
343 ),
344 ],
345 'column_width' => [],
346 'column_spacing' => '0',
347 'responsive_on_mobile' => false,
348 'vertical_align' => 'top',
349 'padding' => [
350 'top' => 20,
351 'right' => 20,
352 'bottom' => '40',
353 'left' => 20,
354 ],
355 'border' => [
356 'side' => 'none',
357 'width' => '1',
358 'style' => 'solid',
359 'color' => '#e5e5e5',
360 'custom' => [
361 'top' => '1',
362 'right' => '1',
363 'bottom' => '1',
364 'left' => '1',
365 ],
366 ],
367 'border_radius' => [
368 'top_left' => 0,
369 'top_right' => 0,
370 'bottom_left' => 0,
371 'bottom_right' => 0,
372 ],
373 'background_color' => '#ffffff',
374 'background_image' => [
375 'url' => 'https://images.wpbrandy.com/uploads/nextgen-background.png',
376 'position' => 'custom',
377 'x_position' => 0,
378 'y_position' => 82,
379 'repeat' => 'no-repeat',
380 'size' => 'cover',
381 'custom_size' => 100,
382 ],
383 'inner_border_radius' => [
384 'top_left' => '0',
385 'top_right' => '0',
386 'bottom_left' => '0',
387 'bottom_right' => '0',
388 ],
389 'inner_background_color' => '#ffffff00',
390 ]
391 ),
392 ColumnLayout::get_object_data(
393 1,
394 [
395 'children' => [
396 Column::get_object_data(
397 100,
398 [
399 'children' => [
400 OrderProgress::get_object_data(
401 [
402 'padding' => [
403 'top' => '24',
404 'right' => 20,
405 'bottom' => '24',
406 'left' => 20,
407 ],
408 'background_color' => '#ffffff',
409 'display_style' => 'filled_bar',
410 'current_step_index' => 1,
411 'connector_height' => '3',
412 'connector_active_color' => '#e2e6ee66',
413 'connector_inactive_color' => '#e2e6ee66',
414 'label_active_color' => '#000000',
415 'label_inactive_color' => '#1a1a1a',
416 'icon_size' => '24',
417 'filled_bar_icon_border_radius' => '50',
418 'label_font_size' => '14',
419 'font_family' => '"Outfit", "DM Sans", sans-serif',
420 'steps' => [
421 [
422 'title' => 'Ordered',
423 'image_url' => 'https://images.wpbrandy.com/uploads/black-check.png',
424 'image_bg_color' => '#c0ff7c',
425 'icon_border_color' => '#000000',
426 'icon_border_style' => 'solid',
427 'icon_border_width' => 2,
428 ],
429 [
430 'title' => 'Processing',
431 'image_url' => 'https://images.wpbrandy.com/uploads/black-dot.png',
432 'image_bg_color' => '#c0ff7c',
433 'icon_border_color' => '#000000',
434 'icon_border_style' => 'solid',
435 'icon_border_width' => 2,
436 ],
437 [
438 'title' => 'Completed',
439 'image_url' => 'https://images.wpbrandy.com/uploads/white-circle.png',
440 'image_bg_color' => '#ffffff',
441 'icon_border_color' => '#dedede',
442 'icon_border_style' => 'dashed',
443 'icon_border_width' => 2,
444 ],
445 ],
446 ]
447 ),
448 ],
449 'border' => [
450 'side' => 'all',
451 'width' => '1',
452 'style' => 'solid',
453 'color' => '#00000014',
454 'custom' => [
455 'top' => '1',
456 'right' => '1',
457 'bottom' => '1',
458 'left' => '1',
459 ],
460 ],
461 ]
462 ),
463 ],
464 'column_width' => [],
465 'column_spacing' => '0',
466 'responsive_on_mobile' => false,
467 'vertical_align' => 'top',
468 'padding' => [
469 'top' => '40',
470 'right' => 30,
471 'bottom' => '15',
472 'left' => 30,
473 ],
474 'border' => [
475 'side' => 'none',
476 'width' => '1',
477 'style' => 'solid',
478 'color' => '#e5e5e5',
479 'custom' => [
480 'top' => '1',
481 'right' => '1',
482 'bottom' => '1',
483 'left' => '1',
484 ],
485 ],
486 'border_radius' => [
487 'top_left' => '0',
488 'top_right' => '0',
489 'bottom_left' => '0',
490 'bottom_right' => '0',
491 ],
492 'background_color' => '#fff',
493 'background_image' => [
494 'url' => '',
495 'position' => 'default',
496 'x_position' => 0,
497 'y_position' => 0,
498 'repeat' => 'default',
499 'size' => 'default',
500 ],
501 'inner_border_radius' => [
502 'top_left' => 12,
503 'top_right' => 12,
504 'bottom_left' => 12,
505 'bottom_right' => 12,
506 ],
507 'inner_background_color' => '#ffffff00',
508 ]
509 ),
510 Text::get_object_data(
511 [
512 'padding' => [
513 'top' => 25,
514 'right' => 30,
515 'bottom' => 40,
516 'left' => 30,
517 ],
518 'background_color' => '#ffffff',
519 'border' => [
520 'side' => 'none',
521 'width' => '1',
522 'style' => 'solid',
523 'color' => '#e5e5e5',
524 'custom' => [
525 'top' => '1',
526 'right' => '1',
527 'bottom' => '1',
528 'left' => '1',
529 ],
530 ],
531 'font_family' => '"Outfit", "DM Sans", sans-serif',
532 'text_color' => '#1a1a1a',
533 'rich_text' => '<p><span style="font-size: 18px">Hi </span><strong style="font-size: 18px">[yaymail_billing_first_name]</strong><span style="font-size: 18px">,</span></p>
534 <br>
535 <p><span style="font-size: 16px">Thank you for shopping with [yaymail_site_name]!</span></p>
536 <br>
537 <p><span style="white-space: pre-wrap;font-size: 16px">We\'ve received your order and are getting it ready. You can review your order details below or track its progress anytime.</span></p>',
538 ]
539 ),
540 Divider::get_object_data(
541 [
542 'align' => 'center',
543 'padding' => [
544 'top' => 5,
545 'right' => 30,
546 'bottom' => 5,
547 'left' => 30,
548 ],
549 'width' => '100',
550 'height' => 1,
551 'background_color' => '#fff',
552 'divider_color' => '#e2e6ee',
553 'divider_type' => 'dashed',
554 ]
555 ),
556 OrderDetails::get_object_data(
557 [
558 'rich_text' => '[yaymail_order_details]',
559 'payment_instructions' => '[yaymail_payment_instructions]',
560 'padding' => [
561 'top' => 40,
562 'right' => 30,
563 'bottom' => 10,
564 'left' => 30,
565 ],
566 'background_color' => '#ffffff',
567 'border' => [
568 'side' => 'none',
569 'width' => '1',
570 'style' => 'solid',
571 'color' => '#e5e5e5',
572 'custom' => [
573 'top' => '1',
574 'right' => '1',
575 'bottom' => '1',
576 'left' => '1',
577 ],
578 ],
579 'layout_type' => 'legacy',
580 'title' => '<p><span style="font-size: 24px;font-weight: 600">Order Summary</span></p>',
581 'title_color' => '#1a1a1a',
582 'text_color' => '#1a1a1a',
583 'border_color' => '#1a1a1a',
584 'font_family' => '"Outfit", "DM Sans", sans-serif',
585 'table_content_font_size' => '14',
586 'table_heading_font_size' => 14,
587 'show_table_header' => true,
588 'product_title' => 'Product',
589 'cost_title' => 'Cost',
590 'quantity_title' => 'Quantity',
591 'price_title' => 'Price',
592 'cart_subtotal_title' => 'Subtotal:',
593 'payment_method_title' => 'Payment method:',
594 'order_total_title' => 'Total:',
595 'order_note_title' => 'Note:',
596 'shipping_title' => 'Shipping: [yaymail_shipping_method]',
597 'discount_title' => 'Discount:',
598 'custom_footer_rows' => [],
599 ]
600 ),
601 Button::get_object_data(
602 [
603 'padding' => [
604 'top' => 20,
605 'right' => 30,
606 'bottom' => 20,
607 'left' => 30,
608 ],
609 'background_color' => '#ffffff',
610 'button_type' => 'default',
611 'align' => 'left',
612 'width' => '100%',
613 'custom_width' => 38,
614 'height' => 24,
615 'button_padding' => [
616 'top' => '12',
617 'right' => '20',
618 'bottom' => '12',
619 'left' => '20',
620 ],
621 'button_background_color' => '#c0ff7c',
622 'text_color' => '#1a1a1a',
623 'border' => [
624 'side' => 'none',
625 'width' => '1',
626 'style' => 'solid',
627 'color' => '#e5e5e5',
628 'custom' => [
629 'top' => '1',
630 'right' => '1',
631 'bottom' => '1',
632 'left' => '1',
633 ],
634 ],
635 'border_radius' => [
636 'top_left' => 12,
637 'top_right' => 12,
638 'bottom_right' => 12,
639 'bottom_left' => 12,
640 ],
641 'text' => 'View Order',
642 'url' => '[yaymail_order_url]',
643 'font_size' => '16',
644 'weight' => '600',
645 'font_family' => '"Outfit", "DM Sans", sans-serif',
646 ]
647 ),
648 ColumnLayout::get_object_data(
649 1,
650 [
651 'children' => [
652 Column::get_object_data(
653 100,
654 [
655 'children' => [
656 ColumnLayout::get_object_data(
657 2,
658 [
659 'children' => [
660 Column::get_object_data(
661 50,
662 [
663 'children' => [
664 ShippingAddress::get_object_data(
665 [
666 'padding' => [
667 'top' => 20,
668 'right' => '50',
669 'bottom' => 20,
670 'left' => '50',
671 ],
672 'background_color' => '#ffffff00',
673 'layout_type' => 'modern',
674 'title_color' => '#1a1a1a',
675 'text_color' => '#636363',
676 'border_color' => '#e5e5e5',
677 'font_family' => '"Outfit", "DM Sans", sans-serif',
678 'title' => '<p style="text-align: center"><span style="font-size: 18px;font-weight: 600">Shipping Address</span></p>',
679 'shipping_content_font_size' => '14',
680 'shipping_content_alignment' => 'center',
681 'shipping_content_text_format' => [
682 'bold' => false,
683 'italic' => false,
684 'underline' => false,
685 ],
686 'rich_text' => '[yaymail_shipping_address]',
687 ]
688 ),
689 ],
690 'border' => [
691 'side' => 'custom',
692 'width' => '1',
693 'style' => 'solid',
694 'color' => '#00000014',
695 'custom' => [
696 'top' => 0,
697 'right' => '1',
698 'bottom' => 0,
699 'left' => 0,
700 ],
701 ],
702 ]
703 ),
704 Column::get_object_data(
705 50,
706 [
707 'children' => [
708 BillingAddress::get_object_data(
709 [
710 'padding' => [
711 'top' => 20,
712 'right' => '50',
713 'bottom' => 20,
714 'left' => '50',
715 ],
716 'background_color' => '#ffffff00',
717 'layout_type' => 'modern',
718 'title_color' => '#1a1a1a',
719 'text_color' => '#636363',
720 'border_color' => '#e5e5e5',
721 'font_family' => '"Outfit", "DM Sans", sans-serif',
722 'title' => '<p style="text-align: center"><span style="font-size: 18px;font-weight: 600">Billing Address</span></p>',
723 'billing_content_font_size' => '14',
724 'billing_content_alignment' => 'center',
725 'billing_content_text_format' => [
726 'bold' => false,
727 'italic' => false,
728 'underline' => false,
729 ],
730 'rich_text' => '[yaymail_billing_address]',
731 ]
732 ),
733 ],
734 'border' => [
735 'side' => 'none',
736 'width' => '1',
737 'style' => 'solid',
738 'color' => '#e5e5e5',
739 'custom' => [
740 'top' => '1',
741 'right' => '1',
742 'bottom' => '1',
743 'left' => '1',
744 ],
745 ],
746 ]
747 ),
748 ],
749 'column_width' => [],
750 'column_spacing' => '0',
751 'responsive_on_mobile' => false,
752 'vertical_align' => 'top',
753 'padding' => [
754 'top' => 20,
755 'right' => '0',
756 'bottom' => 20,
757 'left' => '0',
758 ],
759 'border' => [
760 'side' => 'none',
761 'width' => '1',
762 'style' => 'solid',
763 'color' => '#e5e5e5',
764 'custom' => [
765 'top' => '1',
766 'right' => '1',
767 'bottom' => '1',
768 'left' => '1',
769 ],
770 ],
771 'border_radius' => [
772 'top_left' => '0',
773 'top_right' => '0',
774 'bottom_left' => '0',
775 'bottom_right' => '0',
776 ],
777 'background_color' => '#fafafa',
778 'background_image' => [
779 'url' => '',
780 'position' => 'default',
781 'x_position' => 0,
782 'y_position' => 0,
783 'repeat' => 'default',
784 'size' => 'default',
785 ],
786 'inner_border_radius' => [
787 'top_left' => '0',
788 'top_right' => '0',
789 'bottom_left' => '0',
790 'bottom_right' => '0',
791 ],
792 'inner_background_color' => '#ffffff00',
793 ]
794 ),
795 ],
796 ]
797 ),
798 ],
799 'padding' => [
800 'top' => '15',
801 'right' => 30,
802 'bottom' => '15',
803 'left' => 30,
804 ],
805 'background_color' => '#fff',
806 'background_image' => [
807 'url' => '',
808 'position' => 'default',
809 'x_position' => 0,
810 'y_position' => 0,
811 'repeat' => 'default',
812 'size' => 'default',
813 ],
814 ]
815 ),
816 Text::get_object_data(
817 [
818 'padding' => [
819 'top' => '15',
820 'right' => 30,
821 'bottom' => '15',
822 'left' => 30,
823 ],
824 'background_color' => '#fff',
825 'border' => [
826 'side' => 'none',
827 'width' => '1',
828 'style' => 'solid',
829 'color' => '#e5e5e5',
830 'custom' => [
831 'top' => '1',
832 'right' => '1',
833 'bottom' => '1',
834 'left' => '1',
835 ],
836 ],
837 'font_family' => '"Outfit", "DM Sans", sans-serif',
838 'text_color' => '#1a1a1a',
839 'rich_text' => '<p><span style="font-size: 16px">Thanks again for shopping with us!</span></p>
840 <p><span style="font-size: 16px">If there\'s anything wrong with your order, please contact our support team within 7 days and we\'ll be happy to help.</span></p>',
841 ]
842 ),
843 Text::get_object_data(
844 [
845 'padding' => [
846 'top' => '15',
847 'right' => 30,
848 'bottom' => '15',
849 'left' => 30,
850 ],
851 'background_color' => '#fff',
852 'border' => [
853 'side' => 'none',
854 'width' => '1',
855 'style' => 'solid',
856 'color' => '#e5e5e5',
857 'custom' => [
858 'top' => '1',
859 'right' => '1',
860 'bottom' => '1',
861 'left' => '1',
862 ],
863 ],
864 'font_family' => '"Outfit", "DM Sans", sans-serif',
865 'text_color' => '#1a1a1a',
866 'rich_text' => '<p><span style="font-size: 16px">Best regards,</span></p>
867 <p><span style="font-size: 16px">The <strong>[yaymail_site_name]</strong> Team</span></p>',
868 ]
869 ),
870 Divider::get_object_data(
871 [
872 'align' => 'center',
873 'padding' => [
874 'top' => '15',
875 'right' => 30,
876 'bottom' => '15',
877 'left' => 30,
878 ],
879 'width' => '100',
880 'height' => 4,
881 'background_color' => '#fff',
882 'divider_color' => '#1a1a1a',
883 'divider_type' => 'solid',
884 ]
885 ),
886 FeaturedProducts::get_object_data(
887 [
888 'padding' => [
889 'top' => 40,
890 'right' => 20,
891 'bottom' => 60,
892 'left' => 20,
893 ],
894 'background_color' => '#ffffff',
895 'text_color' => '#1a1a1a',
896 'font_family' => '"Outfit", "DM Sans", sans-serif',
897 'showing_items' => [
898 'top_content',
899 'product_image',
900 'product_name',
901 'product_price',
902 'buy_button',
903 ],
904 'top_content' => '<p style="text-align: center;"><span style="font-size: 24px; font-weight: bold;">You May Also Like</span></p>
905 <p style="text-align: center;">Discover more products picked for you.</p>
906 </br>',
907 'sale_price_color' => '#595f65',
908 'regular_price_color' => '#808080',
909 'buy_button_label' => 'Shop Now',
910 'buy_button_background_color' => '#c0ff7c',
911 'buy_button_text_color' => '#1a1a1a',
912 'products_per_row' => '3',
913 'product_type' => 'newest',
914 'categories' => [],
915 'tags' => [],
916 'products' => [],
917 'sorted_by' => 'none',
918 'number_of_products' => 3,
919 ]
920 ),
921 ColumnLayout::get_object_data(
922 1,
923 [
924 'children' => [
925 Column::get_object_data(
926 100,
927 [
928 'children' => [
929 Text::get_object_data(
930 [
931 'padding' => [
932 'top' => '0',
933 'right' => '0',
934 'bottom' => '0',
935 'left' => '0',
936 ],
937 'background_color' => '#ffffff00',
938 'border' => [
939 'side' => 'none',
940 'width' => '1',
941 'style' => 'solid',
942 'color' => '#e5e5e5',
943 'custom' => [
944 'top' => '1',
945 'right' => '1',
946 'bottom' => '1',
947 'left' => '1',
948 ],
949 ],
950 'font_family' => '"Outfit", "DM Sans", sans-serif',
951 'text_color' => '#ffffff',
952 'rich_text' => '<p style="text-align: center"><span style="font-size: 16px">For questions, contact <u>hi@yourwoostore.com</u>, visit our <u>FAQs</u>, or <u>chat</u> with us during operating hours for account support</span></p>',
953 ]
954 ),
955 SocialIcon::get_object_data(
956 [
957 'padding' => [
958 'top' => '20',
959 'right' => '0',
960 'bottom' => '12',
961 'left' => '0',
962 ],
963 'background_color' => '#ffffff00',
964 'align' => 'center',
965 'width_icon' => '32',
966 'spacing' => '12',
967 'theme' => 'Colorful',
968 'icon_list' => [
969 [
970 'icon' => 'facebook',
971 'url' => '#',
972 ],
973 [
974 'icon' => 'instagram',
975 'url' => '#',
976 ],
977 [
978 'icon' => 'tiktok',
979 'url' => '#',
980 ],
981 [
982 'icon' => 'youtube',
983 'url' => '#',
984 ],
985 ],
986 ]
987 ),
988 Text::get_object_data(
989 [
990 'padding' => [
991 'top' => '0',
992 'right' => '0',
993 'bottom' => 0,
994 'left' => '0',
995 ],
996 'background_color' => '#ffffff00',
997 'border' => [
998 'side' => 'none',
999 'width' => '1',
1000 'style' => 'solid',
1001 'color' => '#e5e5e5',
1002 'custom' => [
1003 'top' => '1',
1004 'right' => '1',
1005 'bottom' => '1',
1006 'left' => '1',
1007 ],
1008 ],
1009 'font_family' => '"Outfit", "DM Sans", sans-serif',
1010 'text_color' => '#ffffff',
1011 'rich_text' => '<p style="text-align: center"><span style="font-size: 12px">© 2026 [yaymail_site_name]. All rights reserved.</span></p>',
1012 ]
1013 ),
1014 ],
1015 'border' => [
1016 'side' => 'none',
1017 'width' => '1',
1018 'style' => 'solid',
1019 'color' => '#e5e5e5',
1020 'custom' => [
1021 'top' => '1',
1022 'right' => '1',
1023 'bottom' => '1',
1024 'left' => '1',
1025 ],
1026 ],
1027 ]
1028 ),
1029 ],
1030 'column_width' => [],
1031 'column_spacing' => '0',
1032 'responsive_on_mobile' => false,
1033 'vertical_align' => 'top',
1034 'padding' => [
1035 'top' => 40,
1036 'right' => 40,
1037 'bottom' => 40,
1038 'left' => 40,
1039 ],
1040 'border' => [
1041 'side' => 'none',
1042 'width' => '1',
1043 'style' => 'solid',
1044 'color' => '#e5e5e5',
1045 'custom' => [
1046 'top' => '1',
1047 'right' => '1',
1048 'bottom' => '1',
1049 'left' => '1',
1050 ],
1051 ],
1052 'border_radius' => [
1053 'top_left' => '0',
1054 'top_right' => '0',
1055 'bottom_left' => '0',
1056 'bottom_right' => '0',
1057 ],
1058 'background_color' => '#1a1a1a',
1059 'background_image' => [
1060 'url' => '',
1061 'position' => 'default',
1062 'x_position' => 0,
1063 'y_position' => 0,
1064 'repeat' => 'default',
1065 'size' => 'default',
1066 ],
1067 'inner_border_radius' => [
1068 'top_left' => '0',
1069 'top_right' => '0',
1070 'bottom_left' => '0',
1071 'bottom_right' => '0',
1072 ],
1073 'inner_background_color' => '#ffffff00',
1074 ]
1075 ),
1076 ];
1077 }
1078 }
1079