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 / Processing1.php

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

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