PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.4
YayMail – WooCommerce Email Customizer v4.4.4
4.4.6 4.4.5 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 All 57 releases
yaymail / src / TemplateLibrary / Templates / OrderOnHold / OnHold1.php

OnHold1.php in YayMail – WooCommerce Email Customizer 4.4.4, at src/TemplateLibrary/Templates/OrderOnHold/OnHold1.php

1,507 lines 96.2 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\OrderOnHold;
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\Heading;
12 use YayMail\Elements\Image;
13 use YayMail\Elements\Logo;
14 use YayMail\Elements\OrderDetails;
15 use YayMail\Elements\ShippingAddress;
16 use YayMail\Elements\SocialIcon;
17 use YayMail\Elements\Text;
18 use YayMail\Utils\SingletonTrait;
19
20 /**
21 * On Hold 1 template for On Hold email.
22 */
23 class OnHold1 extends BaseTemplate {
24 use SingletonTrait;
25
26 public function __construct() {
27 parent::__construct();
28 $this->id = 'on_hold_1';
29 $this->email_type = 'customer_on_hold_order';
30 $this->name = 'On Hold 1';
31 $this->description = 'Clean layout with plenty of whitespace';
32 $this->template_settings = [
33 'text_link_color' => '#1c672f',
34 ];
35
36 $this->elements = [
37 ColumnLayout::get_object_data(
38 4,
39 [
40 'column_width' => [],
41 'column_spacing' => '0',
42 'vertical_align' => 'top',
43 'container_setting_breaker' => [
44 'component' => 'LineBreaker',
45 ],
46 'container_setting_group_definition' => [
47 'component' => 'GroupDefinition',
48 'title' => 'Container layout settings',
49 'description' => 'Handle container layout settings',
50 ],
51 'padding' => [
52 'top' => '15',
53 'right' => 50,
54 'bottom' => '15',
55 'left' => 50,
56 ],
57 'border_radius' => [
58 'top_left' => '0',
59 'top_right' => '0',
60 'bottom_left' => '0',
61 'bottom_right' => '0',
62 ],
63 'background_color' => '#ffffe1',
64 'background_image' => [
65 'url' => '',
66 'position' => 'default',
67 'x_position' => 0,
68 'y_position' => 0,
69 'repeat' => 'default',
70 'size' => 'default',
71 ],
72 'inner_setting_breaker' => [
73 'component' => 'LineBreaker',
74 ],
75 'inner_setting_group_definition' => [
76 'component' => 'GroupDefinition',
77 'title' => 'Inner layout settings',
78 'description' => 'Handle inner layout settings',
79 ],
80 'inner_border_radius' => [
81 'top_left' => '0',
82 'top_right' => '0',
83 'bottom_left' => '0',
84 'bottom_right' => '0',
85 ],
86 'inner_background_color' => '#ffffff00',
87 'column_borders' => [
88 'component' => 'ColumnBorders',
89 'title' => 'Column borders',
90 ],
91 'children' => [
92 Column::get_object_data(
93 29,
94 [
95 'children' => [
96 Logo::get_object_data(
97 [
98 'container_group_definition' => [
99 'component' => 'GroupDefinition',
100 'title' => 'Container settings',
101 'description' => 'Handle container layout settings',
102 ],
103 'padding' => [
104 'top' => 10,
105 'right' => 10,
106 'bottom' => 10,
107 'left' => 0,
108 ],
109 'background_color' => '#ffffff00',
110 'image_breaker' => [
111 'component' => 'LineBreaker',
112 ],
113 'image_group_definition' => [
114 'component' => 'GroupDefinition',
115 'title' => 'Image settings',
116 'description' => 'Handle image settings',
117 ],
118 'src' => 'https://images.wpbrandy.com/uploads/woo-green-logo.png',
119 'align' => 'left',
120 'width' => 116,
121 'url' => '#',
122 'alt' => '',
123 ]
124 ),
125 ],
126 ]
127 ),
128 Column::get_object_data(
129 25.59,
130 [
131 'children' => [
132 Text::get_object_data(
133 [
134 'container_group_definition' => [
135 'component' => 'GroupDefinition',
136 'title' => 'Container settings',
137 'description' => 'Handle container layout settings',
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 'content_breaker' => [
159 'component' => 'LineBreaker',
160 ],
161 'content_group_definition' => [
162 'component' => 'GroupDefinition',
163 'title' => 'Content settings',
164 'description' => 'Handle content settings',
165 ],
166 'font_family' => '"Outfit", "DM Sans", sans-serif',
167 'text_color' => '#1c672f',
168 'rich_text' => '<div style="text-align: right"><span style="font-size: 14px">My Account</span></div>',
169 ]
170 ),
171 ],
172 ]
173 ),
174 Column::get_object_data(
175 34.16,
176 [
177 'children' => [
178 Text::get_object_data(
179 [
180 'container_group_definition' => [
181 'component' => 'GroupDefinition',
182 'title' => 'Container settings',
183 'description' => 'Handle container layout settings',
184 ],
185 'padding' => [
186 'top' => '15',
187 'right' => 0,
188 'bottom' => '15',
189 'left' => 0,
190 ],
191 'background_color' => '#ffffff00',
192 'border' => [
193 'side' => 'none',
194 'width' => '1',
195 'style' => 'solid',
196 'color' => '#e5e5e5',
197 'custom' => [
198 'top' => '1',
199 'right' => '1',
200 'bottom' => '1',
201 'left' => '1',
202 ],
203 ],
204 'content_breaker' => [
205 'component' => 'LineBreaker',
206 ],
207 'content_group_definition' => [
208 'component' => 'GroupDefinition',
209 'title' => 'Content settings',
210 'description' => 'Handle content settings',
211 ],
212 'font_family' => '"Outfit", "DM Sans", sans-serif',
213 'text_color' => '#1c672f',
214 'rich_text' => '<div style="text-align: center"><span style="font-size: 14px;font-weight: 500">Order Tracking</span></div>',
215 ]
216 ),
217 ],
218 ]
219 ),
220 Column::get_object_data(
221 11.25,
222 [
223 'children' => [
224 Text::get_object_data(
225 [
226 'container_group_definition' => [
227 'component' => 'GroupDefinition',
228 'title' => 'Container settings',
229 'description' => 'Handle container layout settings',
230 ],
231 'padding' => [
232 'top' => '15',
233 'right' => 2,
234 'bottom' => '15',
235 'left' => 0,
236 ],
237 'background_color' => '#ffffff00',
238 'border' => [
239 'side' => 'none',
240 'width' => '1',
241 'style' => 'solid',
242 'color' => '#e5e5e5',
243 'custom' => [
244 'top' => '1',
245 'right' => '1',
246 'bottom' => '1',
247 'left' => '1',
248 ],
249 ],
250 'content_breaker' => [
251 'component' => 'LineBreaker',
252 ],
253 'content_group_definition' => [
254 'component' => 'GroupDefinition',
255 'title' => 'Content settings',
256 'description' => 'Handle content settings',
257 ],
258 'font_family' => '"Outfit", "DM Sans", sans-serif',
259 'text_color' => '#1c672f',
260 'rich_text' => '<div style="text-align: right"><span style="font-size: 14px;font-weight: 500">Contact</span></div>',
261 ]
262 ),
263 ],
264 ]
265 ),
266 ],
267 ]
268 ),
269 Divider::get_object_data(
270 [
271 'align' => 'center',
272 'padding' => [
273 'top' => 1,
274 'right' => 0,
275 'bottom' => 1,
276 'left' => 0,
277 ],
278 'width' => '100',
279 'height' => 1,
280 'background_color' => '#ffffe1',
281 'divider_color' => '#1c672f33',
282 'divider_type' => 'solid',
283 ]
284 ),
285 ColumnLayout::get_object_data(
286 1,
287 [
288 'column_width' => [],
289 'column_spacing' => '0',
290 'vertical_align' => 'top',
291 'container_setting_breaker' => [
292 'component' => 'LineBreaker',
293 ],
294 'container_setting_group_definition' => [
295 'component' => 'GroupDefinition',
296 'title' => 'Container layout settings',
297 'description' => 'Handle container layout settings',
298 ],
299 'padding' => [
300 'top' => '15',
301 'right' => '0',
302 'bottom' => '15',
303 'left' => '0',
304 ],
305 'border_radius' => [
306 'top_left' => '0',
307 'top_right' => '0',
308 'bottom_left' => '0',
309 'bottom_right' => '0',
310 ],
311 'background_color' => '#ffffe1',
312 'background_image' => [
313 'url' => '',
314 'position' => 'default',
315 'x_position' => 0,
316 'y_position' => 0,
317 'repeat' => 'default',
318 'size' => 'default',
319 ],
320 'inner_setting_breaker' => [
321 'component' => 'LineBreaker',
322 ],
323 'inner_setting_group_definition' => [
324 'component' => 'GroupDefinition',
325 'title' => 'Inner layout settings',
326 'description' => 'Handle inner layout settings',
327 ],
328 'inner_border_radius' => [
329 'top_left' => '0',
330 'top_right' => '0',
331 'bottom_left' => '0',
332 'bottom_right' => '0',
333 ],
334 'inner_background_color' => '#ffffff00',
335 'column_borders' => [
336 'component' => 'ColumnBorders',
337 'title' => 'Column borders',
338 ],
339 'children' => [
340 Column::get_object_data(
341 100,
342 [
343 'children' => [
344 Heading::get_object_data(
345 [
346 'container_group_definition' => [
347 'component' => 'GroupDefinition',
348 'title' => 'Container settings',
349 'description' => 'Handle container layout settings',
350 ],
351 'padding' => [
352 'top' => '15',
353 'right' => '50',
354 'bottom' => 20,
355 'left' => '50',
356 ],
357 'background_color' => '#ffffff00',
358 'border' => [
359 'side' => 'none',
360 'width' => '1',
361 'style' => 'solid',
362 'color' => '#e5e5e5',
363 'custom' => [
364 'top' => '1',
365 'right' => '1',
366 'bottom' => '1',
367 'left' => '1',
368 ],
369 ],
370 'content_breaker' => [
371 'component' => 'LineBreaker',
372 ],
373 'content_group_definition' => [
374 'component' => 'GroupDefinition',
375 'title' => 'Content settings',
376 'description' => 'Handle content settings',
377 ],
378 'font_family' => '"Arial Black", Gadget, sans-serif',
379 'text_color' => '#1c672f',
380 'rich_text' => '<p style="text-align: center"><span style="font-size: 40px;line-height: 1;font-weight: 800">THANK YOU <br />FOR YOUR ORDER</span></p>',
381 ]
382 ),
383 Text::get_object_data(
384 [
385 'container_group_definition' => [
386 'component' => 'GroupDefinition',
387 'title' => 'Container settings',
388 'description' => 'Handle container layout settings',
389 ],
390 'padding' => [
391 'top' => 0,
392 'right' => 50,
393 'bottom' => 20,
394 'left' => 50,
395 ],
396 'background_color' => '#ffffff00',
397 'border' => [
398 'side' => 'none',
399 'width' => '1',
400 'style' => 'solid',
401 'color' => '#e5e5e5',
402 'custom' => [
403 'top' => '1',
404 'right' => '1',
405 'bottom' => '1',
406 'left' => '1',
407 ],
408 ],
409 'content_breaker' => [
410 'component' => 'LineBreaker',
411 ],
412 'content_group_definition' => [
413 'component' => 'GroupDefinition',
414 'title' => 'Content settings',
415 'description' => 'Handle content settings',
416 ],
417 'font_family' => '"Outfit", "DM Sans", sans-serif',
418 'text_color' => '#1c672f',
419 'rich_text' => '<p style="text-align: center"><span style="font-size: 16px">Confirmation &amp; Details Inside</span></p>',
420 ]
421 ),
422 Image::get_object_data(
423 [
424 'container_group_definition' => [
425 'component' => 'GroupDefinition',
426 'title' => 'Container settings',
427 'description' => 'Handle container layout settings',
428 ],
429 'padding' => [
430 'top' => 0,
431 'right' => '50',
432 'bottom' => '15',
433 'left' => '50',
434 ],
435 'background_color' => '#ffffff00',
436 'image_breaker' => [
437 'component' => 'LineBreaker',
438 ],
439 'image_group_definition' => [
440 'component' => 'GroupDefinition',
441 'title' => 'Image settings',
442 'description' => 'Handle image settings',
443 ],
444 'src' => 'https://images.wpbrandy.com/uploads/on-hold-img-1.png',
445 'align' => 'center',
446 'width' => '252',
447 'url' => '#',
448 'alt' => '',
449 ]
450 ),
451 ],
452 ]
453 ),
454 ],
455 ]
456 ),
457 ColumnLayout::get_object_data(
458 1,
459 [
460 'column_width' => [],
461 'column_spacing' => '0',
462 'vertical_align' => 'top',
463 'container_setting_breaker' => [
464 'component' => 'LineBreaker',
465 ],
466 'container_setting_group_definition' => [
467 'component' => 'GroupDefinition',
468 'title' => 'Container layout settings',
469 'description' => 'Handle container layout settings',
470 ],
471 'padding' => [
472 'top' => '15',
473 'right' => '0',
474 'bottom' => '15',
475 'left' => '0',
476 ],
477 'border_radius' => [
478 'top_left' => '0',
479 'top_right' => '0',
480 'bottom_left' => '0',
481 'bottom_right' => '0',
482 ],
483 'background_color' => '#ffffe1',
484 'background_image' => [
485 'url' => 'https://images.wpbrandy.com/uploads/on-hold-img-2.png',
486 'position' => 'default',
487 'x_position' => 0,
488 'y_position' => 0,
489 'repeat' => 'default',
490 'size' => 'cover',
491 ],
492 'inner_setting_breaker' => [
493 'component' => 'LineBreaker',
494 ],
495 'inner_setting_group_definition' => [
496 'component' => 'GroupDefinition',
497 'title' => 'Inner layout settings',
498 'description' => 'Handle inner layout settings',
499 ],
500 'inner_border_radius' => [
501 'top_left' => '0',
502 'top_right' => '0',
503 'bottom_left' => '0',
504 'bottom_right' => '0',
505 ],
506 'inner_background_color' => '#ffffff00',
507 'column_borders' => [
508 'component' => 'ColumnBorders',
509 'title' => 'Column borders',
510 ],
511 'children' => [
512 Column::get_object_data(
513 100,
514 [
515 'children' => [
516 Text::get_object_data(
517 [
518 'container_group_definition' => [
519 'component' => 'GroupDefinition',
520 'title' => 'Container settings',
521 'description' => 'Handle container layout settings',
522 ],
523 'padding' => [
524 'top' => '15',
525 'right' => '50',
526 'bottom' => 0,
527 'left' => '50',
528 ],
529 'background_color' => '#ffffff00',
530 'border' => [
531 'side' => 'none',
532 'width' => '1',
533 'style' => 'solid',
534 'color' => '#e5e5e5',
535 'custom' => [
536 'top' => '1',
537 'right' => '1',
538 'bottom' => '1',
539 'left' => '1',
540 ],
541 ],
542 'content_breaker' => [
543 'component' => 'LineBreaker',
544 ],
545 'content_group_definition' => [
546 'component' => 'GroupDefinition',
547 'title' => 'Content settings',
548 'description' => 'Handle content settings',
549 ],
550 'font_family' => '"Outfit", "DM Sans", sans-serif',
551 'text_color' => '#1c672f',
552 'rich_text' => '<p><span style="font-size: 18px">Hi <strong><span style="font-weight: 800">[yaymail_billing_first_name] [yaymail_billing_last_name]</span>,</strong></span></p><br /><p><span style="font-size: 18px">Thank you for your order! Your order is currently on hold while we confirm your payment. We\'ll notify you once it\'s processed. In the meantime, here\'s a summary of your order.</span></p>',
553 ]
554 ),
555 ColumnLayout::get_object_data(
556 2,
557 [
558 'column_width' => [],
559 'column_spacing' => '0',
560 'vertical_align' => 'middle',
561 'container_setting_breaker' => [
562 'component' => 'LineBreaker',
563 ],
564 'container_setting_group_definition' => [
565 'component' => 'GroupDefinition',
566 'title' => 'Container layout settings',
567 'description' => 'Handle container layout settings',
568 ],
569 'padding' => [
570 'top' => '15',
571 'right' => '0',
572 'bottom' => 1,
573 'left' => '0',
574 ],
575 'border_radius' => [
576 'top_left' => '0',
577 'top_right' => '0',
578 'bottom_left' => '0',
579 'bottom_right' => '0',
580 ],
581 'background_color' => '#ffffff00',
582 'background_image' => [
583 'url' => '',
584 'position' => 'default',
585 'x_position' => 0,
586 'y_position' => 0,
587 'repeat' => 'default',
588 'size' => 'default',
589 ],
590 'inner_setting_breaker' => [
591 'component' => 'LineBreaker',
592 ],
593 'inner_setting_group_definition' => [
594 'component' => 'GroupDefinition',
595 'title' => 'Inner layout settings',
596 'description' => 'Handle inner layout settings',
597 ],
598 'inner_border_radius' => [
599 'top_left' => '0',
600 'top_right' => '0',
601 'bottom_left' => '0',
602 'bottom_right' => '0',
603 ],
604 'inner_background_color' => '#ffffff00',
605 'column_borders' => [
606 'component' => 'ColumnBorders',
607 'title' => 'Column borders',
608 ],
609 'children' => [
610 Column::get_object_data(
611 50,
612 [
613 'children' => [
614 Text::get_object_data(
615 [
616 'container_group_definition' => [
617 'component' => 'GroupDefinition',
618 'title' => 'Container settings',
619 'description' => 'Handle container layout settings',
620 ],
621 'padding' => [
622 'top' => 0,
623 'right' => '50',
624 'bottom' => 0,
625 'left' => '50',
626 ],
627 'background_color' => '#ffffff00',
628 'border' => [
629 'side' => 'none',
630 'width' => '1',
631 'style' => 'solid',
632 'color' => '#e5e5e5',
633 'custom' => [
634 'top' => '1',
635 'right' => '1',
636 'bottom' => '1',
637 'left' => '1',
638 ],
639 ],
640 'content_breaker' => [
641 'component' => 'LineBreaker',
642 ],
643 'content_group_definition' => [
644 'component' => 'GroupDefinition',
645 'title' => 'Content settings',
646 'description' => 'Handle content settings',
647 ],
648 'font_family' => '"Outfit", "DM Sans", sans-serif',
649 'text_color' => '#1c672f',
650 'rich_text' => '<p style="text-align: left"><span style="font-size: 24px;font-weight: 800"><strong>Order Summary</strong></span></p>',
651 ]
652 ),
653 ],
654 ]
655 ),
656 Column::get_object_data(
657 50,
658 [
659 'children' => [
660 Text::get_object_data(
661 [
662 'container_group_definition' => [
663 'component' => 'GroupDefinition',
664 'title' => 'Container settings',
665 'description' => 'Handle container layout settings',
666 ],
667 'padding' => [
668 'top' => 0,
669 'right' => '50',
670 'bottom' => 0,
671 'left' => '50',
672 ],
673 'background_color' => '#ffffff00',
674 'border' => [
675 'side' => 'none',
676 'width' => '1',
677 'style' => 'solid',
678 'color' => '#e5e5e5',
679 'custom' => [
680 'top' => '1',
681 'right' => '1',
682 'bottom' => '1',
683 'left' => '1',
684 ],
685 ],
686 'content_breaker' => [
687 'component' => 'LineBreaker',
688 ],
689 'content_group_definition' => [
690 'component' => 'GroupDefinition',
691 'title' => 'Content settings',
692 'description' => 'Handle content settings',
693 ],
694 'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
695 'text_color' => '#1c672f',
696 'rich_text' => '<p style="text-align: right">[yaymail_order_link text_link="View Order Detail"]</p>',
697 ]
698 ),
699 ],
700 ]
701 ),
702 ],
703 ]
704 ),
705 OrderDetails::get_object_data(
706 [
707 'rich_text' => '[yaymail_order_details]',
708 'payment_instructions' => '[yaymail_payment_instructions]',
709 'container_group_definition' => [
710 'component' => 'GroupDefinition',
711 'title' => 'Container settings',
712 'description' => 'Handle container layout settings',
713 ],
714 'padding' => [
715 'top' => 0,
716 'right' => '50',
717 'bottom' => 10,
718 'left' => '50',
719 ],
720 'background_color' => '#ffffff00',
721 'border' => [
722 'side' => 'none',
723 'width' => '1',
724 'style' => 'solid',
725 'color' => '#e5e5e5',
726 'custom' => [
727 'top' => '1',
728 'right' => '1',
729 'bottom' => '1',
730 'left' => '1',
731 ],
732 ],
733 'table_setting_breaker' => [
734 'component' => 'LineBreaker',
735 ],
736 'table_group_definition' => [
737 'component' => 'GroupDefinition',
738 'title' => 'Table settings',
739 'description' => 'Handle table settings',
740 ],
741 'layout_type' => 'legacy',
742 'title' => '',
743 'title_color' => '#873EFF',
744 'text_color' => '#1c672f',
745 'border_color' => '#23661b33',
746 'font_family' => '"Outfit", "DM Sans", sans-serif',
747 'table_content_font_size' => 16,
748 'table_heading_line_breaker' => [
749 'component' => 'LineBreaker',
750 ],
751 'table_heading_group_definition' => [
752 'component' => 'GroupDefinition',
753 'title' => 'Table heading settings',
754 'description' => 'Handle table heading settings',
755 ],
756 'table_heading_font_size' => 14,
757 'show_table_header' => 1,
758 'product_title' => 'Product',
759 'cost_title' => 'Cost',
760 'quantity_title' => 'Quantity',
761 'price_title' => 'Price',
762 'cart_subtotal_title' => 'Subtotal:',
763 'payment_method_title' => 'Payment method:',
764 'order_total_title' => 'Total:',
765 'order_note_title' => 'Note:',
766 'shipping_title' => 'Shipping: [yaymail_shipping_method]',
767 'discount_title' => 'Discount:',
768 'custom_footer_rows_breaker' => [
769 'component' => 'LineBreaker',
770 ],
771 'custom_footer_rows_group' => [
772 'component' => 'GroupDefinition',
773 'title' => 'Custom Footer Rows',
774 'description' => 'Add custom rows to the order totals footer',
775 ],
776 'custom_footer_rows' => [],
777 ]
778 ),
779 ColumnLayout::get_object_data(
780 2,
781 [
782 'column_width' => [],
783 'column_spacing' => '0',
784 'vertical_align' => 'top',
785 'container_setting_breaker' => [
786 'component' => 'LineBreaker',
787 ],
788 'container_setting_group_definition' => [
789 'component' => 'GroupDefinition',
790 'title' => 'Container layout settings',
791 'description' => 'Handle container layout settings',
792 ],
793 'padding' => [
794 'top' => 5,
795 'right' => '0',
796 'bottom' => '15',
797 'left' => '0',
798 ],
799 'border_radius' => [
800 'top_left' => '0',
801 'top_right' => '0',
802 'bottom_left' => '0',
803 'bottom_right' => '0',
804 ],
805 'background_color' => '#ffffff00',
806 'background_image' => [
807 'url' => '',
808 'position' => 'default',
809 'x_position' => 0,
810 'y_position' => 0,
811 'repeat' => 'default',
812 'size' => 'default',
813 ],
814 'inner_setting_breaker' => [
815 'component' => 'LineBreaker',
816 ],
817 'inner_setting_group_definition' => [
818 'component' => 'GroupDefinition',
819 'title' => 'Inner layout settings',
820 'description' => 'Handle inner layout settings',
821 ],
822 'inner_border_radius' => [
823 'top_left' => '0',
824 'top_right' => '0',
825 'bottom_left' => '0',
826 'bottom_right' => '0',
827 ],
828 'inner_background_color' => '#ffffff00',
829 'column_borders' => [
830 'component' => 'ColumnBorders',
831 'title' => 'Column borders',
832 ],
833 'children' => [
834 Column::get_object_data(
835 50,
836 [
837 'children' => [
838 Text::get_object_data(
839 [
840 'container_group_definition' => [
841 'component' => 'GroupDefinition',
842 'title' => 'Container settings',
843 'description' => 'Handle container layout settings',
844 ],
845 'padding' => [
846 'top' => 0,
847 'right' => '50',
848 'bottom' => 0,
849 'left' => '50',
850 ],
851 'background_color' => '#ffffff00',
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 'content_breaker' => [
865 'component' => 'LineBreaker',
866 ],
867 'content_group_definition' => [
868 'component' => 'GroupDefinition',
869 'title' => 'Content settings',
870 'description' => 'Handle content settings',
871 ],
872 'font_family' => '"Outfit", "DM Sans", sans-serif',
873 'text_color' => '#1c672f',
874 'rich_text' => '<div style="text-align: left"><strong>Order Number: #[yaymail_order_number is_plain="true"]</strong></div>',
875 ]
876 ),
877 ],
878 ]
879 ),
880 Column::get_object_data(
881 50,
882 [
883 'children' => [
884 Text::get_object_data(
885 [
886 'container_group_definition' => [
887 'component' => 'GroupDefinition',
888 'title' => 'Container settings',
889 'description' => 'Handle container layout settings',
890 ],
891 'padding' => [
892 'top' => 0,
893 'right' => '50',
894 'bottom' => 0,
895 'left' => '50',
896 ],
897 'background_color' => '#ffffff00',
898 'border' => [
899 'side' => 'none',
900 'width' => '1',
901 'style' => 'solid',
902 'color' => '#e5e5e5',
903 'custom' => [
904 'top' => '1',
905 'right' => '1',
906 'bottom' => '1',
907 'left' => '1',
908 ],
909 ],
910 'content_breaker' => [
911 'component' => 'LineBreaker',
912 ],
913 'content_group_definition' => [
914 'component' => 'GroupDefinition',
915 'title' => 'Content settings',
916 'description' => 'Handle content settings',
917 ],
918 'font_family' => '"Outfit", "DM Sans", sans-serif',
919 'text_color' => '#1c672f',
920 'rich_text' => '<p style="text-align: right"><strong>Order Date: [yaymail_order_date]</strong></p>',
921 ]
922 ),
923 ],
924 ]
925 ),
926 ],
927 ]
928 ),
929 Button::get_object_data(
930 [
931 'container_group_definition' => [
932 'component' => 'GroupDefinition',
933 'title' => 'Container settings',
934 'description' => 'Handle container layout settings',
935 ],
936 'padding' => [
937 'top' => 0,
938 'right' => '50',
939 'bottom' => 15,
940 'left' => '50',
941 ],
942 'background_color' => '#ffffff00',
943 'button_setting_breaker' => [
944 'component' => 'LineBreaker',
945 ],
946 'button_group_definition' => [
947 'component' => 'GroupDefinition',
948 'title' => 'Button settings',
949 'description' => 'Handle button settings',
950 ],
951 'button_type' => 'default',
952 'align' => 'center',
953 'width' => '100%',
954 'custom_width' => '50',
955 'height' => '21',
956 'button_padding' => [
957 'top' => '12',
958 'right' => '20',
959 'bottom' => '12',
960 'left' => '20',
961 ],
962 'button_background_color' => '#1f6816',
963 'text_color' => '#ffffff',
964 'border' => [
965 'side' => 'none',
966 'width' => '1',
967 'style' => 'solid',
968 'color' => '#e5e5e5',
969 'custom' => [
970 'top' => '1',
971 'right' => '1',
972 'bottom' => '1',
973 'left' => '1',
974 ],
975 ],
976 'border_radius' => [
977 'top_left' => '5',
978 'top_right' => '5',
979 'bottom_right' => '5',
980 'bottom_left' => '5',
981 ],
982 'button_content_group_definition' => [
983 'component' => 'GroupDefinition',
984 'title' => 'Button content',
985 'description' => 'Handle button content',
986 ],
987 'text' => 'View Order Detail',
988 'url' => '[yaymail_order_url]',
989 'font_size' => 16,
990 'weight' => 'normal',
991 'font_family' => '"Outfit", "DM Sans", sans-serif',
992 ]
993 ),
994 ],
995 ]
996 ),
997 ],
998 ]
999 ),
1000 ColumnLayout::get_object_data(
1001 2,
1002 [
1003 'column_width' => [],
1004 'column_spacing' => 0,
1005 'vertical_align' => 'top',
1006 'container_setting_breaker' => [
1007 'component' => 'LineBreaker',
1008 ],
1009 'container_setting_group_definition' => [
1010 'component' => 'GroupDefinition',
1011 'title' => 'Container layout settings',
1012 'description' => 'Handle container layout settings',
1013 ],
1014 'padding' => [
1015 'top' => 30,
1016 'right' => 50,
1017 'bottom' => 30,
1018 'left' => 50,
1019 ],
1020 'border_radius' => [
1021 'top_left' => '0',
1022 'top_right' => '0',
1023 'bottom_left' => '0',
1024 'bottom_right' => '0',
1025 ],
1026 'background_color' => '#ffffe1',
1027 'background_image' => [
1028 'url' => '',
1029 'position' => 'default',
1030 'x_position' => 0,
1031 'y_position' => 0,
1032 'repeat' => 'default',
1033 'size' => 'default',
1034 ],
1035 'inner_setting_breaker' => [
1036 'component' => 'LineBreaker',
1037 ],
1038 'inner_setting_group_definition' => [
1039 'component' => 'GroupDefinition',
1040 'title' => 'Inner layout settings',
1041 'description' => 'Handle inner layout settings',
1042 ],
1043 'inner_border_radius' => [
1044 'top_left' => '0',
1045 'top_right' => '0',
1046 'bottom_left' => '0',
1047 'bottom_right' => '0',
1048 ],
1049 'inner_background_color' => '#ffffff00',
1050 'column_borders' => [
1051 'component' => 'ColumnBorders',
1052 'title' => 'Column borders',
1053 ],
1054 'children' => [
1055 Column::get_object_data(
1056 50,
1057 [
1058 'children' => [
1059 Text::get_object_data(
1060 [
1061 'container_group_definition' => [
1062 'component' => 'GroupDefinition',
1063 'title' => 'Container settings',
1064 'description' => 'Handle container layout settings',
1065 ],
1066 'padding' => [
1067 'top' => 0,
1068 'right' => 20,
1069 'bottom' => 0,
1070 'left' => 20,
1071 ],
1072 'background_color' => '#ffffff00',
1073 'border' => [
1074 'side' => 'none',
1075 'width' => '1',
1076 'style' => 'solid',
1077 'color' => '#e5e5e5',
1078 'custom' => [
1079 'top' => '1',
1080 'right' => '1',
1081 'bottom' => '1',
1082 'left' => '1',
1083 ],
1084 ],
1085 'content_breaker' => [
1086 'component' => 'LineBreaker',
1087 ],
1088 'content_group_definition' => [
1089 'component' => 'GroupDefinition',
1090 'title' => 'Content settings',
1091 'description' => 'Handle content settings',
1092 ],
1093 'font_family' => '"Arial Black", Gadget, sans-serif',
1094 'text_color' => '#1c672f',
1095 'rich_text' => '<p style="text-align: center"><span style="font-size: 20px;font-weight: 800"><strong>SHIPPING ADDRESS</strong></span></p>',
1096 ]
1097 ),
1098 ShippingAddress::get_object_data(
1099 [
1100 'container_group_definition' => [
1101 'component' => 'GroupDefinition',
1102 'title' => 'Container settings',
1103 'description' => 'Handle container layout settings',
1104 ],
1105 'padding' => [
1106 'top' => 0,
1107 'right' => 0,
1108 'bottom' => 0,
1109 'left' => 0,
1110 ],
1111 'background_color' => '#fafafa00',
1112 'content_breaker' => [
1113 'component' => 'LineBreaker',
1114 ],
1115 'content_group_definition' => [
1116 'component' => 'GroupDefinition',
1117 'title' => 'Content settings',
1118 'description' => 'Handle content settings',
1119 ],
1120 'layout_type' => 'legacy',
1121 'title_color' => '#1a1a1a',
1122 'text_color' => '#1c672f',
1123 'border_color' => '#23661b33',
1124 'font_family' => '"Outfit", "DM Sans", sans-serif',
1125 'title' => '',
1126 'shipping_content_font_size' => '14',
1127 'shipping_content_alignment' => 'center',
1128 'shipping_content_text_format' => [
1129 'bold' => false,
1130 'italic' => false,
1131 'underline' => false,
1132 ],
1133 'rich_text' => '[yaymail_shipping_address]',
1134 ]
1135 ),
1136 ],
1137 ]
1138 ),
1139 Column::get_object_data(
1140 50,
1141 [
1142 'children' => [
1143 Text::get_object_data(
1144 [
1145 'container_group_definition' => [
1146 'component' => 'GroupDefinition',
1147 'title' => 'Container settings',
1148 'description' => 'Handle container layout settings',
1149 ],
1150 'padding' => [
1151 'top' => 0,
1152 'right' => 20,
1153 'bottom' => 0,
1154 'left' => 20,
1155 ],
1156 'background_color' => '#ffffff00',
1157 'border' => [
1158 'side' => 'none',
1159 'width' => '1',
1160 'style' => 'solid',
1161 'color' => '#e5e5e5',
1162 'custom' => [
1163 'top' => '1',
1164 'right' => '1',
1165 'bottom' => '1',
1166 'left' => '1',
1167 ],
1168 ],
1169 'content_breaker' => [
1170 'component' => 'LineBreaker',
1171 ],
1172 'content_group_definition' => [
1173 'component' => 'GroupDefinition',
1174 'title' => 'Content settings',
1175 'description' => 'Handle content settings',
1176 ],
1177 'font_family' => '"Arial Black", Gadget, sans-serif',
1178 'text_color' => '#1c672f',
1179 'rich_text' => '<p style="text-align: center"><span style="font-size: 20px"><strong>BILLING ADDRESS</strong></span></p>',
1180 ]
1181 ),
1182 BillingAddress::get_object_data(
1183 [
1184 'container_group_definition' => [
1185 'component' => 'GroupDefinition',
1186 'title' => 'Container settings',
1187 'description' => 'Handle container layout settings',
1188 ],
1189 'padding' => [
1190 'top' => 0,
1191 'right' => 0,
1192 'bottom' => 0,
1193 'left' => 0,
1194 ],
1195 'background_color' => '#fafafa00',
1196 'content_breaker' => [
1197 'component' => 'LineBreaker',
1198 ],
1199 'content_group_definition' => [
1200 'component' => 'GroupDefinition',
1201 'title' => 'Content settings',
1202 'description' => 'Handle content settings',
1203 ],
1204 'layout_type' => 'legacy',
1205 'title_color' => '#1a1a1a',
1206 'text_color' => '#1c672f',
1207 'border_color' => '#23661b33',
1208 'font_family' => '"Outfit", "DM Sans", sans-serif',
1209 'title' => '',
1210 'billing_content_font_size' => '14',
1211 'billing_content_alignment' => 'center',
1212 'billing_content_text_format' => [
1213 'bold' => false,
1214 'italic' => false,
1215 'underline' => false,
1216 ],
1217 'rich_text' => '[yaymail_billing_address]',
1218 ]
1219 ),
1220 ],
1221 ]
1222 ),
1223 ],
1224 ]
1225 ),
1226 ColumnLayout::get_object_data(
1227 1,
1228 [
1229 'column_width' => [],
1230 'column_spacing' => '0',
1231 'vertical_align' => 'top',
1232 'container_setting_breaker' => [
1233 'component' => 'LineBreaker',
1234 ],
1235 'container_setting_group_definition' => [
1236 'component' => 'GroupDefinition',
1237 'title' => 'Container layout settings',
1238 'description' => 'Handle container layout settings',
1239 ],
1240 'padding' => [
1241 'top' => 35,
1242 'bottom' => 10,
1243 'left' => 0,
1244 'right' => 0,
1245 ],
1246 'border_radius' => [
1247 'top_left' => '0',
1248 'top_right' => '0',
1249 'bottom_left' => '0',
1250 'bottom_right' => '0',
1251 ],
1252 'background_color' => '#ffffe1',
1253 'background_image' => [
1254 'url' => 'https://images.wpbrandy.com/uploads/on-hold-img-3.png',
1255 'position' => 'default',
1256 'x_position' => 0,
1257 'y_position' => 0,
1258 'repeat' => 'default',
1259 'size' => 'cover',
1260 'custom_size' => 100,
1261 ],
1262 'inner_setting_breaker' => [
1263 'component' => 'LineBreaker',
1264 ],
1265 'inner_setting_group_definition' => [
1266 'component' => 'GroupDefinition',
1267 'title' => 'Inner layout settings',
1268 'description' => 'Handle inner layout settings',
1269 ],
1270 'inner_border_radius' => [
1271 'top_left' => '0',
1272 'top_right' => '0',
1273 'bottom_left' => '0',
1274 'bottom_right' => '0',
1275 ],
1276 'inner_background_color' => '#ffffff00',
1277 'column_borders' => [
1278 'component' => 'ColumnBorders',
1279 'title' => 'Column borders',
1280 ],
1281 'children' => [
1282 Column::get_object_data(
1283 100,
1284 [
1285 'children' => [
1286 Text::get_object_data(
1287 [
1288 'container_group_definition' => [
1289 'component' => 'GroupDefinition',
1290 'title' => 'Container settings',
1291 'description' => 'Handle container layout settings',
1292 ],
1293 'padding' => [
1294 'top' => 0,
1295 'right' => 50,
1296 'bottom' => 0,
1297 'left' => 50,
1298 ],
1299 'background_color' => '#ffffff00',
1300 'border' => [
1301 'side' => 'none',
1302 'width' => '1',
1303 'style' => 'solid',
1304 'color' => '#e5e5e5',
1305 'custom' => [
1306 'top' => '1',
1307 'right' => '1',
1308 'bottom' => '1',
1309 'left' => '1',
1310 ],
1311 ],
1312 'content_breaker' => [
1313 'component' => 'LineBreaker',
1314 ],
1315 'content_group_definition' => [
1316 'component' => 'GroupDefinition',
1317 'title' => 'Content settings',
1318 'description' => 'Handle content settings',
1319 ],
1320 'font_family' => '"Outfit", "DM Sans", sans-serif',
1321 'text_color' => '#1c672f',
1322 'rich_text' => '<p style="margin: 0px;font-weight: 300;text-align: left"><span style="font-size: 16px">For questions, contact <u>[email protected]</u>, visit our <u>FAQs</u>, or <u>chat</u> with us during operating hours for account support</span></p>',
1323 ]
1324 ),
1325 Divider::get_object_data(
1326 [
1327 'align' => 'center',
1328 'padding' => [
1329 'top' => 30,
1330 'right' => 0,
1331 'bottom' => 10,
1332 'left' => 0,
1333 ],
1334 'width' => '100',
1335 'height' => 1,
1336 'background_color' => '#ffffff00',
1337 'divider_color' => '#1c672f33',
1338 'divider_type' => 'solid',
1339 ]
1340 ),
1341 ColumnLayout::get_object_data(
1342 2,
1343 [
1344 'column_width' => [],
1345 'column_spacing' => '0',
1346 'vertical_align' => 'middle',
1347 'container_setting_breaker' => [
1348 'component' => 'LineBreaker',
1349 ],
1350 'container_setting_group_definition' => [
1351 'component' => 'GroupDefinition',
1352 'title' => 'Container layout settings',
1353 'description' => 'Handle container layout settings',
1354 ],
1355 'padding' => [
1356 'top' => 10,
1357 'right' => '0',
1358 'bottom' => '15',
1359 'left' => '0',
1360 ],
1361 'border_radius' => [
1362 'top_left' => '0',
1363 'top_right' => '0',
1364 'bottom_left' => '0',
1365 'bottom_right' => '0',
1366 ],
1367 'background_color' => '#ffffff00',
1368 'background_image' => [
1369 'url' => '',
1370 'position' => 'default',
1371 'x_position' => 0,
1372 'y_position' => 0,
1373 'repeat' => 'default',
1374 'size' => 'default',
1375 ],
1376 'inner_setting_breaker' => [
1377 'component' => 'LineBreaker',
1378 ],
1379 'inner_setting_group_definition' => [
1380 'component' => 'GroupDefinition',
1381 'title' => 'Inner layout settings',
1382 'description' => 'Handle inner layout settings',
1383 ],
1384 'inner_border_radius' => [
1385 'top_left' => '0',
1386 'top_right' => '0',
1387 'bottom_left' => '0',
1388 'bottom_right' => '0',
1389 ],
1390 'inner_background_color' => '#ffffff00',
1391 'column_borders' => [
1392 'component' => 'ColumnBorders',
1393 'title' => 'Column borders',
1394 ],
1395 'children' => [
1396 Column::get_object_data(
1397 50,
1398 [
1399 'children' => [
1400 Text::get_object_data(
1401 [
1402 'container_group_definition' => [
1403 'component' => 'GroupDefinition',
1404 'title' => 'Container settings',
1405 'description' => 'Handle container layout settings',
1406 ],
1407 'padding' => [
1408 'top' => 0,
1409 'right' => 50,
1410 'bottom' => 0,
1411 'left' => 50,
1412 ],
1413 'background_color' => '#ffffff00',
1414 'border' => [
1415 'side' => 'none',
1416 'width' => '1',
1417 'style' => 'solid',
1418 'color' => '#e5e5e5',
1419 'custom' => [
1420 'top' => '1',
1421 'right' => '1',
1422 'bottom' => '1',
1423 'left' => '1',
1424 ],
1425 ],
1426 'content_breaker' => [
1427 'component' => 'LineBreaker',
1428 ],
1429 'content_group_definition' => [
1430 'component' => 'GroupDefinition',
1431 'title' => 'Content settings',
1432 'description' => 'Handle content settings',
1433 ],
1434 'font_family' => '"Outfit", "DM Sans", sans-serif',
1435 'text_color' => '#1c672f',
1436 'rich_text' => '<p style="margin: 0px;font-weight: 300;text-align: left"><span style="font-size: 12px">© 2025 YayCommerce.com</span></p>',
1437 ]
1438 ),
1439 ],
1440 ]
1441 ),
1442 Column::get_object_data(
1443 50,
1444 [
1445 'children' => [
1446 SocialIcon::get_object_data(
1447 [
1448 'container_group_definition' => [
1449 'component' => 'GroupDefinition',
1450 'title' => 'Container settings',
1451 'description' => 'Handle container layout settings',
1452 ],
1453 'padding' => [
1454 'top' => 0,
1455 'right' => 50,
1456 'bottom' => 0,
1457 'left' => 0,
1458 ],
1459 'background_color' => '#ffffff00',
1460 'align' => 'right',
1461 'content_breaker' => [
1462 'component' => 'LineBreaker',
1463 ],
1464 'content_group_definition' => [
1465 'component' => 'GroupDefinition',
1466 'title' => 'Content settings',
1467 'description' => 'Handle content settings',
1468 ],
1469 'width_icon' => 24,
1470 'spacing' => 10,
1471 'theme' => 'Colorful',
1472 'icon_list' => [
1473 '0' => [
1474 'icon' => 'facebook',
1475 'url' => '#',
1476 ],
1477 '1' => [
1478 'icon' => 'instagram',
1479 'url' => '#',
1480 ],
1481 '2' => [
1482 'icon' => 'tiktok',
1483 'url' => '#',
1484 ],
1485 '3' => [
1486 'icon' => 'twitter',
1487 'url' => '#',
1488 ],
1489 ],
1490 ]
1491 ),
1492 ],
1493 ]
1494 ),
1495 ],
1496 ]
1497 ),
1498 ],
1499 ]
1500 ),
1501 ],
1502 ]
1503 ),
1504 ];
1505 }
1506 }
1507