PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.5
YayMail – WooCommerce Email Customizer v4.4.5
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 / ModernSteps.php

ModernSteps.php in YayMail – WooCommerce Email Customizer 4.4.5, at src/TemplateLibrary/Templates/Completed/ModernSteps.php

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