PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.1
YayMail – WooCommerce Email Customizer v4.4.1
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.1, at src/TemplateLibrary/Templates/Completed/Completed1.php

1,092 lines 60.6 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 'steps' => [
429 '0' => [
430 'title' => 'Ordered',
431 'label_active_color' => '#111827',
432 'label_inactive_color' => '#9ca3af',
433 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
434 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
435 'image_bg_color' => '#d9c5f9',
436 'filled_bar_icon_border_radius' => '50',
437 'filled_bar_icon_border_color_active' => '#d9c5f9',
438 'filled_bar_icon_border_color_inactive' => '#e5e7eb',
439 ],
440 '1' => [
441 'title' => 'Processing',
442 'label_active_color' => '#111827',
443 'label_inactive_color' => '#9ca3af',
444 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
445 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
446 'image_bg_color' => '#d9c5f9',
447 'filled_bar_icon_border_radius' => '50',
448 'filled_bar_icon_border_color_active' => '#d9c5f9',
449 'filled_bar_icon_border_color_inactive' => '#e5e7eb',
450 ],
451 '2' => [
452 'title' => 'Completed',
453 'label_active_color' => '#111827',
454 'label_inactive_color' => '#9ca3af',
455 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
456 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
457 'image_bg_color' => '#d9c5f9',
458 'filled_bar_icon_border_radius' => '50',
459 'filled_bar_icon_border_color_active' => '#d9c5f9',
460 'filled_bar_icon_border_color_inactive' => '#e5e7eb',
461 ],
462 ],
463 ]
464 ),
465 Divider::get_object_data(
466 [
467 'align' => 'center',
468 'padding' => [
469 'top' => '15',
470 'right' => '50',
471 'bottom' => '15',
472 'left' => '50',
473 ],
474 'width' => '100',
475 'height' => 2,
476 'background_color' => '#fff',
477 'divider_color' => '#333',
478 'divider_type' => 'solid',
479 ]
480 ),
481 Text::get_object_data(
482 [
483 'container_group_definition' => [
484 'component' => 'GroupDefinition',
485 'title' => 'Container settings',
486 'description' => 'Handle container layout settings',
487 ],
488 'padding' => [
489 'top' => 15,
490 'right' => 50,
491 'bottom' => 15,
492 'left' => 50,
493 ],
494 'background_color' => '#fff',
495 'border' => [
496 'side' => 'none',
497 'width' => '1',
498 'style' => 'solid',
499 'color' => '#e5e5e5',
500 'custom' => [
501 'top' => '1',
502 'right' => '1',
503 'bottom' => '1',
504 'left' => '1',
505 ],
506 ],
507 'content_breaker' => [
508 'component' => 'LineBreaker',
509 ],
510 'content_group_definition' => [
511 'component' => 'GroupDefinition',
512 'title' => 'Content settings',
513 'description' => 'Handle content settings',
514 ],
515 'font_family' => '"Outfit", "DM Sans", sans-serif',
516 'text_color' => '#333439',
517 '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>',
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' => '#fff',
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' => 'legacy',
557 'title' => '<p><span style="font-size: 18px"><strong>Order Summary</strong></span></p>',
558 'title_color' => '#1A1A1A',
559 'text_color' => '#636363',
560 'border_color' => '#e5e5e5',
561 'font_family' => '"Outfit", "DM Sans", sans-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' => '14',
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' => 15,
603 'right' => '50',
604 'bottom' => '15',
605 'left' => '50',
606 ],
607 'background_color' => '#fff',
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' => '5',
643 'top_right' => '5',
644 'bottom_right' => '5',
645 'bottom_left' => '5',
646 ],
647 'button_content_group_definition' => [
648 'component' => 'GroupDefinition',
649 'title' => 'Button content',
650 'description' => 'Handle button content',
651 ],
652 'text' => 'Confirm Your Order',
653 'url' => '#',
654 'font_size' => '13',
655 'weight' => 'normal',
656 'font_family' => '"Outfit", "DM Sans", sans-serif',
657 ]
658 ),
659 ColumnLayout::get_object_data(
660 2,
661 [
662 'column_width' => [],
663 'column_spacing' => 30,
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' => 15,
675 'right' => 50,
676 'bottom' => '15',
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' => '#fff',
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' => '#fff',
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' => '"Outfit", "DM Sans", sans-serif',
753 'text_color' => '#1a1a1a',
754 'rich_text' => '<p><span style="font-size: 18px"><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' => 30,
767 'bottom' => 0,
768 'left' => 0,
769 ],
770 'background_color' => '#ffffff',
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' => '#636569',
782 'border_color' => '#e5e5e5',
783 'font_family' => '"Outfit", "DM Sans", sans-serif',
784 'title' => '',
785 'shipping_content_font_size' => '14',
786 'shipping_content_alignment' => 'left',
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' => '#fff',
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' => '"Outfit", "DM Sans", sans-serif',
837 'text_color' => '#1a1a1a',
838 'rich_text' => '<p><span style="font-size: 18px"><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' => 30,
851 'bottom' => 0,
852 'left' => 0,
853 ],
854 'background_color' => '#ffffff',
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' => '#636569',
866 'border_color' => '#e5e5e5',
867 'font_family' => '"Outfit", "DM Sans", sans-serif',
868 'title' => '',
869 'billing_content_font_size' => '14',
870 'billing_content_alignment' => 'left',
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 Divider::get_object_data(
886 [
887 'align' => 'center',
888 'padding' => [
889 'top' => '15',
890 'right' => '50',
891 'bottom' => '15',
892 'left' => '50',
893 ],
894 'width' => '100',
895 'height' => 2,
896 'background_color' => '#fff',
897 'divider_color' => '#333',
898 'divider_type' => 'solid',
899 ]
900 ),
901 ColumnLayout::get_object_data(
902 1,
903 [
904 'column_width' => [],
905 'column_spacing' => '0',
906 'vertical_align' => 'top',
907 'container_setting_breaker' => [
908 'component' => 'LineBreaker',
909 ],
910 'container_setting_group_definition' => [
911 'component' => 'GroupDefinition',
912 'title' => 'Container layout settings',
913 'description' => 'Handle container layout settings',
914 ],
915 'padding' => [
916 'top' => 10,
917 'bottom' => 10,
918 'left' => 50,
919 'right' => 50,
920 ],
921 'border_radius' => [
922 'top_left' => '0',
923 'top_right' => '0',
924 'bottom_left' => '0',
925 'bottom_right' => '0',
926 ],
927 'background_color' => '#fff',
928 'background_image' => [
929 'url' => '',
930 'position' => 'default',
931 'x_position' => 0,
932 'y_position' => 0,
933 'repeat' => 'default',
934 'size' => 'default',
935 ],
936 'inner_setting_breaker' => [
937 'component' => 'LineBreaker',
938 ],
939 'inner_setting_group_definition' => [
940 'component' => 'GroupDefinition',
941 'title' => 'Inner layout settings',
942 'description' => 'Handle inner layout settings',
943 ],
944 'inner_border_radius' => [
945 'top_left' => '0',
946 'top_right' => '0',
947 'bottom_left' => '0',
948 'bottom_right' => '0',
949 ],
950 'inner_background_color' => '#ffffff00',
951 'column_borders' => [
952 'component' => 'ColumnBorders',
953 'title' => 'Column borders',
954 ],
955 'children' => [
956 Column::get_object_data(
957 100,
958 [
959 'children' => [
960 Text::get_object_data(
961 [
962 'container_group_definition' => [
963 'component' => 'GroupDefinition',
964 'title' => 'Container settings',
965 'description' => 'Handle container layout settings',
966 ],
967 'padding' => [
968 'top' => 0,
969 'right' => 0,
970 'bottom' => 0,
971 'left' => 0,
972 ],
973 'background_color' => '#ffffff00',
974 'border' => [
975 'side' => 'none',
976 'width' => '1',
977 'style' => 'solid',
978 'color' => '#e5e5e5',
979 'custom' => [
980 'top' => '1',
981 'right' => '1',
982 'bottom' => '1',
983 'left' => '1',
984 ],
985 ],
986 'content_breaker' => [
987 'component' => 'LineBreaker',
988 ],
989 'content_group_definition' => [
990 'component' => 'GroupDefinition',
991 'title' => 'Content settings',
992 'description' => 'Handle content settings',
993 ],
994 'font_family' => '"Outfit", "DM Sans", sans-serif',
995 'text_color' => '#333439',
996 '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>',
997 ]
998 ),
999 SocialIcon::get_object_data(
1000 [
1001 'container_group_definition' => [
1002 'component' => 'GroupDefinition',
1003 'title' => 'Container settings',
1004 'description' => 'Handle container layout settings',
1005 ],
1006 'padding' => [
1007 'top' => 20,
1008 'right' => 0,
1009 'bottom' => 20,
1010 'left' => 0,
1011 ],
1012 'background_color' => '#fff',
1013 'align' => 'center',
1014 'content_breaker' => [
1015 'component' => 'LineBreaker',
1016 ],
1017 'content_group_definition' => [
1018 'component' => 'GroupDefinition',
1019 'title' => 'Content settings',
1020 'description' => 'Handle content settings',
1021 ],
1022 'width_icon' => 36,
1023 'spacing' => 25,
1024 'theme' => 'Colorful',
1025 'icon_list' => [
1026 '0' => [
1027 'icon' => 'facebook',
1028 'url' => '#',
1029 ],
1030 '1' => [
1031 'icon' => 'instagram',
1032 'url' => '#',
1033 ],
1034 '2' => [
1035 'icon' => 'tiktok',
1036 'url' => '#',
1037 ],
1038 '3' => [
1039 'icon' => 'youtube',
1040 'url' => '#',
1041 ],
1042 ],
1043 ]
1044 ),
1045 Text::get_object_data(
1046 [
1047 'container_group_definition' => [
1048 'component' => 'GroupDefinition',
1049 'title' => 'Container settings',
1050 'description' => 'Handle container layout settings',
1051 ],
1052 'padding' => [
1053 'top' => 0,
1054 'right' => 0,
1055 'bottom' => 20,
1056 'left' => 0,
1057 ],
1058 'background_color' => '#fff',
1059 'border' => [
1060 'side' => 'none',
1061 'width' => '1',
1062 'style' => 'solid',
1063 'color' => '#e5e5e5',
1064 'custom' => [
1065 'top' => '1',
1066 'right' => '1',
1067 'bottom' => '1',
1068 'left' => '1',
1069 ],
1070 ],
1071 'content_breaker' => [
1072 'component' => 'LineBreaker',
1073 ],
1074 'content_group_definition' => [
1075 'component' => 'GroupDefinition',
1076 'title' => 'Content settings',
1077 'description' => 'Handle content settings',
1078 ],
1079 'font_family' => '"Outfit", "DM Sans", sans-serif',
1080 'text_color' => '#77859B',
1081 'rich_text' => '<p style="text-align: center;margin: 0;font-weight: 300"><span style="font-size: 12px">© 2025 YayCommerce.com</span></p>',
1082 ]
1083 ),
1084 ],
1085 ]
1086 ),
1087 ],
1088 ]
1089 ),
1090 ];
1091 }
1092 }