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

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

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