PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.2
YayMail – WooCommerce Email Customizer v4.4.2
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 / Completed / Completed1.php

Completed1.php in YayMail – WooCommerce Email Customizer 4.4.2, at src/TemplateLibrary/Templates/Completed/Completed1.php

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