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

Completed2.php in YayMail – WooCommerce Email Customizer 4.4.1, at src/TemplateLibrary/Templates/Completed/Completed2.php

910 lines 50.2 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\Logo;
12 use YayMail\Elements\OrderDetails;
13 use YayMail\Elements\ShippingAddress;
14 use YayMail\Elements\SocialIcon;
15 use YayMail\Elements\Text;
16 use YayMail\Utils\SingletonTrait;
17
18 /**
19 * Completed Order v2 template for Completed Order email.
20 */
21 class Completed2 extends BaseTemplate {
22 use SingletonTrait;
23
24 public function __construct() {
25 parent::__construct();
26 $this->id = 'completed_order_v2';
27 $this->email_type = 'customer_completed_order';
28 $this->name = 'Completed Order v2';
29 $this->description = 'Clean layout with plenty of whitespace';
30 $this->template_settings = [
31 'text_link_color' => '#1a1a1a',
32 ];
33
34 $this->elements = [
35 ColumnLayout::get_object_data(
36 3,
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' => '0',
51 'right' => '0',
52 'bottom' => '0',
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' => '#fafafa',
62 'background_image' => [
63 'url' => '',
64 'position' => 'default',
65 'x_position' => 0,
66 'y_position' => 0,
67 'repeat' => 'default',
68 'size' => 'default',
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 33.333333333333,
92 [
93 'children' => [
94 Text::get_object_data(
95 [
96 'container_group_definition' => [
97 'component' => 'GroupDefinition',
98 'title' => 'Container settings',
99 'description' => 'Handle container layout settings',
100 ],
101 'padding' => [
102 'top' => '15',
103 'right' => 0,
104 'bottom' => '15',
105 'left' => '50',
106 ],
107 'background_color' => '#ffffff00',
108 'border' => [
109 'side' => 'none',
110 'width' => '1',
111 'style' => 'solid',
112 'color' => '#e5e5e5',
113 'custom' => [
114 'top' => '1',
115 'right' => '1',
116 'bottom' => '1',
117 'left' => '1',
118 ],
119 ],
120 'content_breaker' => [
121 'component' => 'LineBreaker',
122 ],
123 'content_group_definition' => [
124 'component' => 'GroupDefinition',
125 'title' => 'Content settings',
126 'description' => 'Handle content settings',
127 ],
128 'font_family' => '"Outfit", "DM Sans", sans-serif',
129 'text_color' => '#1a1a1a',
130 'rich_text' => '<p style="text-align: right"><span style="font-size: 16px">My Account</span></p>',
131 ]
132 ),
133 ],
134 ]
135 ),
136 Column::get_object_data(
137 33.333333333333,
138 [
139 'children' => [
140 Text::get_object_data(
141 [
142 'container_group_definition' => [
143 'component' => 'GroupDefinition',
144 'title' => 'Container settings',
145 'description' => 'Handle container layout settings',
146 ],
147 'padding' => [
148 'top' => '15',
149 'right' => 0,
150 'bottom' => '15',
151 'left' => 0,
152 ],
153 'background_color' => '#ffffff00',
154 'border' => [
155 'side' => 'none',
156 'width' => '1',
157 'style' => 'solid',
158 'color' => '#e5e5e5',
159 'custom' => [
160 'top' => '1',
161 'right' => '1',
162 'bottom' => '1',
163 'left' => '1',
164 ],
165 ],
166 'content_breaker' => [
167 'component' => 'LineBreaker',
168 ],
169 'content_group_definition' => [
170 'component' => 'GroupDefinition',
171 'title' => 'Content settings',
172 'description' => 'Handle content settings',
173 ],
174 'font_family' => '"Outfit", "DM Sans", sans-serif',
175 'text_color' => '#1a1a1a',
176 'rich_text' => '<p style="text-align: center"><span style="font-size: 16px">Order Tracking</span></p>',
177 ]
178 ),
179 ],
180 ]
181 ),
182 Column::get_object_data(
183 33.333333333333,
184 [
185 'children' => [
186 Text::get_object_data(
187 [
188 'container_group_definition' => [
189 'component' => 'GroupDefinition',
190 'title' => 'Container settings',
191 'description' => 'Handle container layout settings',
192 ],
193 'padding' => [
194 'top' => '15',
195 'right' => '50',
196 'bottom' => '15',
197 'left' => 0,
198 ],
199 'background_color' => '#ffffff00',
200 'border' => [
201 'side' => 'none',
202 'width' => '1',
203 'style' => 'solid',
204 'color' => '#e5e5e5',
205 'custom' => [
206 'top' => '1',
207 'right' => '1',
208 'bottom' => '1',
209 'left' => '1',
210 ],
211 ],
212 'content_breaker' => [
213 'component' => 'LineBreaker',
214 ],
215 'content_group_definition' => [
216 'component' => 'GroupDefinition',
217 'title' => 'Content settings',
218 'description' => 'Handle content settings',
219 ],
220 'font_family' => '"Outfit", "DM Sans", sans-serif',
221 'text_color' => '#1a1a1a',
222 'rich_text' => '<p style="text-align: left"><span style="font-size: 16px">Contact</span></p>',
223 ]
224 ),
225 ],
226 ]
227 ),
228 ],
229 ]
230 ),
231 Logo::get_object_data(
232 [
233 'container_group_definition' => [
234 'component' => 'GroupDefinition',
235 'title' => 'Container settings',
236 'description' => 'Handle container layout settings',
237 ],
238 'padding' => [
239 'top' => '50',
240 'right' => '50',
241 'bottom' => '15',
242 'left' => '50',
243 ],
244 'background_color' => '#ffffff',
245 'logo_breaker' => [
246 'component' => 'LineBreaker',
247 ],
248 'logo_group_definition' => [
249 'component' => 'GroupDefinition',
250 'title' => 'Logo settings',
251 'description' => 'Handle logo settings',
252 ],
253 'src' => YAYMAIL_PLUGIN_URL . 'assets/images/woocommerce-logo.png',
254 'align' => 'center',
255 'width' => '131',
256 'url' => '#',
257 'alt' => '',
258 ]
259 ),
260 Text::get_object_data(
261 [
262 'container_group_definition' => [
263 'component' => 'GroupDefinition',
264 'title' => 'Container settings',
265 'description' => 'Handle container layout settings',
266 ],
267 'padding' => [
268 'top' => 15,
269 'right' => 50,
270 'bottom' => 15,
271 'left' => 50,
272 ],
273 'background_color' => '#fff',
274 'border' => [
275 'side' => 'none',
276 'width' => '1',
277 'style' => 'solid',
278 'color' => '#e5e5e5',
279 'custom' => [
280 'top' => '1',
281 'right' => '1',
282 'bottom' => '1',
283 'left' => '1',
284 ],
285 ],
286 'content_breaker' => [
287 'component' => 'LineBreaker',
288 ],
289 'content_group_definition' => [
290 'component' => 'GroupDefinition',
291 'title' => 'Content settings',
292 'description' => 'Handle content settings',
293 ],
294 'font_family' => '"Outfit", "DM Sans", sans-serif',
295 'text_color' => '#333439',
296 '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><br /><p><span style="font-size: 18px">Thank you for shopping with us!</span></p>',
297 ]
298 ),
299 Button::get_object_data(
300 [
301 'container_group_definition' => [
302 'component' => 'GroupDefinition',
303 'title' => 'Container settings',
304 'description' => 'Handle container layout settings',
305 ],
306 'padding' => [
307 'top' => 10,
308 'right' => '50',
309 'bottom' => 10,
310 'left' => '50',
311 ],
312 'background_color' => '#fff',
313 'button_setting_breaker' => [
314 'component' => 'LineBreaker',
315 ],
316 'button_group_definition' => [
317 'component' => 'GroupDefinition',
318 'title' => 'Button settings',
319 'description' => 'Handle button settings',
320 ],
321 'button_type' => 'default',
322 'align' => 'left',
323 'width' => 'auto',
324 'custom_width' => '50',
325 'height' => '21',
326 'button_padding' => [
327 'top' => '12',
328 'right' => '20',
329 'bottom' => '12',
330 'left' => '20',
331 ],
332 'button_background_color' => '#873EFF',
333 'text_color' => '#ffffff',
334 'border' => [
335 'side' => 'none',
336 'width' => '1',
337 'style' => 'solid',
338 'color' => '#e5e5e5',
339 'custom' => [
340 'top' => '1',
341 'right' => '1',
342 'bottom' => '1',
343 'left' => '1',
344 ],
345 ],
346 'border_radius' => [
347 'top_left' => 0,
348 'top_right' => 0,
349 'bottom_right' => 0,
350 'bottom_left' => 0,
351 ],
352 'button_content_group_definition' => [
353 'component' => 'GroupDefinition',
354 'title' => 'Button content',
355 'description' => 'Handle button content',
356 ],
357 'text' => 'View Your Order',
358 'url' => '#',
359 'font_size' => 16,
360 'weight' => 'normal',
361 'font_family' => '"Outfit", "DM Sans", sans-serif',
362 ]
363 ),
364 OrderDetails::get_object_data(
365 [
366 'rich_text' => '[yaymail_order_details]',
367 'payment_instructions' => '[yaymail_payment_instructions]',
368 'container_group_definition' => [
369 'component' => 'GroupDefinition',
370 'title' => 'Container settings',
371 'description' => 'Handle container layout settings',
372 ],
373 'padding' => [
374 'top' => '15',
375 'right' => '50',
376 'bottom' => '15',
377 'left' => '50',
378 ],
379 'background_color' => '#fff',
380 'border' => [
381 'side' => 'none',
382 'width' => '1',
383 'style' => 'solid',
384 'color' => '#e5e5e5',
385 'custom' => [
386 'top' => '1',
387 'right' => '1',
388 'bottom' => '1',
389 'left' => '1',
390 ],
391 ],
392 'table_setting_breaker' => [
393 'component' => 'LineBreaker',
394 ],
395 'table_group_definition' => [
396 'component' => 'GroupDefinition',
397 'title' => 'Table settings',
398 'description' => 'Handle table settings',
399 ],
400 'layout_type' => 'legacy',
401 'title' => '<p><span style="font-size: 16px"><strong>ORDER SUMMARY - FOR BUYER</strong></span></p>',
402 'title_color' => '#1A1A1A',
403 'text_color' => '#636363',
404 'border_color' => '#e5e5e5',
405 'font_family' => '"Outfit", "DM Sans", sans-serif',
406 'table_content_font_size' => 16,
407 'table_heading_line_breaker' => [
408 'component' => 'LineBreaker',
409 ],
410 'table_heading_group_definition' => [
411 'component' => 'GroupDefinition',
412 'title' => 'Table heading settings',
413 'description' => 'Handle table heading settings',
414 ],
415 'table_heading_font_size' => 14,
416 'show_table_header' => 1,
417 'product_title' => 'Product',
418 'cost_title' => 'Cost',
419 'quantity_title' => 'Quantity',
420 'price_title' => 'Price',
421 'cart_subtotal_title' => 'Subtotal:',
422 'payment_method_title' => 'Payment method:',
423 'order_total_title' => 'Total:',
424 'order_note_title' => 'Note:',
425 'shipping_title' => 'Shipping: [yaymail_shipping_method]',
426 'discount_title' => 'Discount:',
427 'custom_footer_rows_breaker' => [
428 'component' => 'LineBreaker',
429 ],
430 'custom_footer_rows_group' => [
431 'component' => 'GroupDefinition',
432 'title' => 'Custom Footer Rows',
433 'description' => 'Add custom rows to the order totals footer',
434 ],
435 'custom_footer_rows' => [],
436 ]
437 ),
438 ColumnLayout::get_object_data(
439 2,
440 [
441 'column_width' => [],
442 'column_spacing' => 30,
443 'vertical_align' => 'top',
444 'container_setting_breaker' => [
445 'component' => 'LineBreaker',
446 ],
447 'container_setting_group_definition' => [
448 'component' => 'GroupDefinition',
449 'title' => 'Container layout settings',
450 'description' => 'Handle container layout settings',
451 ],
452 'padding' => [
453 'top' => 15,
454 'right' => 50,
455 'bottom' => '15',
456 'left' => 50,
457 ],
458 'border_radius' => [
459 'top_left' => '0',
460 'top_right' => '0',
461 'bottom_left' => '0',
462 'bottom_right' => '0',
463 ],
464 'background_color' => '#fff',
465 'background_image' => [
466 'url' => '',
467 'position' => 'default',
468 'x_position' => 0,
469 'y_position' => 0,
470 'repeat' => 'default',
471 'size' => 'default',
472 ],
473 'inner_setting_breaker' => [
474 'component' => 'LineBreaker',
475 ],
476 'inner_setting_group_definition' => [
477 'component' => 'GroupDefinition',
478 'title' => 'Inner layout settings',
479 'description' => 'Handle inner layout settings',
480 ],
481 'inner_border_radius' => [
482 'top_left' => '0',
483 'top_right' => '0',
484 'bottom_left' => '0',
485 'bottom_right' => '0',
486 ],
487 'inner_background_color' => '#ffffff00',
488 'column_borders' => [
489 'component' => 'ColumnBorders',
490 'title' => 'Column borders',
491 ],
492 'children' => [
493 Column::get_object_data(
494 50,
495 [
496 'children' => [
497 Text::get_object_data(
498 [
499 'container_group_definition' => [
500 'component' => 'GroupDefinition',
501 'title' => 'Container settings',
502 'description' => 'Handle container layout settings',
503 ],
504 'padding' => [
505 'top' => 0,
506 'right' => '50',
507 'bottom' => '15',
508 'left' => 0,
509 ],
510 'background_color' => '#fff',
511 'border' => [
512 'side' => 'none',
513 'width' => '1',
514 'style' => 'solid',
515 'color' => '#e5e5e5',
516 'custom' => [
517 'top' => '1',
518 'right' => '1',
519 'bottom' => '1',
520 'left' => '1',
521 ],
522 ],
523 'content_breaker' => [
524 'component' => 'LineBreaker',
525 ],
526 'content_group_definition' => [
527 'component' => 'GroupDefinition',
528 'title' => 'Content settings',
529 'description' => 'Handle content settings',
530 ],
531 'font_family' => '"Outfit", "DM Sans", sans-serif',
532 'text_color' => '#1a1a1a',
533 'rich_text' => '<p><strong style="font-size: 16px">SHIPPING ADDRESS</strong></p>',
534 ]
535 ),
536 ShippingAddress::get_object_data(
537 [
538 'container_group_definition' => [
539 'component' => 'GroupDefinition',
540 'title' => 'Container settings',
541 'description' => 'Handle container layout settings',
542 ],
543 'padding' => [
544 'top' => 0,
545 'right' => 30,
546 'bottom' => 0,
547 'left' => 30,
548 ],
549 'background_color' => '#fafafa',
550 'content_breaker' => [
551 'component' => 'LineBreaker',
552 ],
553 'content_group_definition' => [
554 'component' => 'GroupDefinition',
555 'title' => 'Content settings',
556 'description' => 'Handle content settings',
557 ],
558 'layout_type' => 'modern',
559 'title_color' => '#1a1a1a',
560 'text_color' => '#636363',
561 'border_color' => '#e5e5e5',
562 'font_family' => '"Outfit", "DM Sans", sans-serif',
563 'title' => '',
564 'shipping_content_font_size' => 14,
565 'shipping_content_alignment' => 'left',
566 'shipping_content_text_format' => [
567 'bold' => false,
568 'italic' => false,
569 'underline' => false,
570 ],
571 'rich_text' => '[yaymail_shipping_address]',
572 ]
573 ),
574 ],
575 ]
576 ),
577 Column::get_object_data(
578 50,
579 [
580 'children' => [
581 Text::get_object_data(
582 [
583 'container_group_definition' => [
584 'component' => 'GroupDefinition',
585 'title' => 'Container settings',
586 'description' => 'Handle container layout settings',
587 ],
588 'padding' => [
589 'top' => 0,
590 'right' => '50',
591 'bottom' => '15',
592 'left' => 0,
593 ],
594 'background_color' => '#fff',
595 'border' => [
596 'side' => 'none',
597 'width' => '1',
598 'style' => 'solid',
599 'color' => '#e5e5e5',
600 'custom' => [
601 'top' => '1',
602 'right' => '1',
603 'bottom' => '1',
604 'left' => '1',
605 ],
606 ],
607 'content_breaker' => [
608 'component' => 'LineBreaker',
609 ],
610 'content_group_definition' => [
611 'component' => 'GroupDefinition',
612 'title' => 'Content settings',
613 'description' => 'Handle content settings',
614 ],
615 'font_family' => '"Outfit", "DM Sans", sans-serif',
616 'text_color' => '#1a1a1a',
617 'rich_text' => '<p><strong style="font-size: 16px">BILLING ADDRESS</strong></p>',
618 ]
619 ),
620 BillingAddress::get_object_data(
621 [
622 'container_group_definition' => [
623 'component' => 'GroupDefinition',
624 'title' => 'Container settings',
625 'description' => 'Handle container layout settings',
626 ],
627 'padding' => [
628 'top' => 0,
629 'right' => 30,
630 'bottom' => 0,
631 'left' => 30,
632 ],
633 'background_color' => '#fafafa',
634 'content_breaker' => [
635 'component' => 'LineBreaker',
636 ],
637 'content_group_definition' => [
638 'component' => 'GroupDefinition',
639 'title' => 'Content settings',
640 'description' => 'Handle content settings',
641 ],
642 'layout_type' => 'modern',
643 'title_color' => '#1a1a1a',
644 'text_color' => '#636363',
645 'border_color' => '#e5e5e5',
646 'font_family' => '"Outfit", "DM Sans", sans-serif',
647 'title' => '',
648 'billing_content_font_size' => '14',
649 'billing_content_alignment' => 'left',
650 'billing_content_text_format' => [
651 'bold' => false,
652 'italic' => false,
653 'underline' => false,
654 ],
655 'rich_text' => '[yaymail_billing_address]',
656 ]
657 ),
658 ],
659 ]
660 ),
661 ],
662 ]
663 ),
664 Text::get_object_data(
665 [
666 'container_group_definition' => [
667 'component' => 'GroupDefinition',
668 'title' => 'Container settings',
669 'description' => 'Handle container layout settings',
670 ],
671 'padding' => [
672 'top' => 15,
673 'right' => 50,
674 'bottom' => 15,
675 'left' => 50,
676 ],
677 'background_color' => '#fff',
678 'border' => [
679 'side' => 'none',
680 'width' => '1',
681 'style' => 'solid',
682 'color' => '#e5e5e5',
683 'custom' => [
684 'top' => '1',
685 'right' => '1',
686 'bottom' => '1',
687 'left' => '1',
688 ],
689 ],
690 'content_breaker' => [
691 'component' => 'LineBreaker',
692 ],
693 'content_group_definition' => [
694 'component' => 'GroupDefinition',
695 'title' => 'Content settings',
696 'description' => 'Handle content settings',
697 ],
698 'font_family' => '"Outfit", "DM Sans", sans-serif',
699 'text_color' => '#333439',
700 'rich_text' => '<p><span style="font-size: 18px">If there\'s anything wrong with your order, please contact our support team within 7 days and we\'ll be happy to help.</span></p><br /><p><span style="font-size: 18px">Best regards,</span></p><p><span style="font-size: 18px">[yaymail_site_name]</span></p>',
701 ]
702 ),
703 Divider::get_object_data(
704 [
705 'align' => 'center',
706 'padding' => [
707 'top' => '15',
708 'right' => '50',
709 'bottom' => '15',
710 'left' => '50',
711 ],
712 'width' => '100',
713 'height' => 2,
714 'background_color' => '#fff',
715 'divider_color' => '#333',
716 'divider_type' => 'solid',
717 ]
718 ),
719 ColumnLayout::get_object_data(
720 1,
721 [
722 'column_width' => [],
723 'column_spacing' => '0',
724 'vertical_align' => 'top',
725 'container_setting_breaker' => [
726 'component' => 'LineBreaker',
727 ],
728 'container_setting_group_definition' => [
729 'component' => 'GroupDefinition',
730 'title' => 'Container layout settings',
731 'description' => 'Handle container layout settings',
732 ],
733 'padding' => [
734 'top' => 10,
735 'bottom' => 10,
736 'left' => 50,
737 'right' => 50,
738 ],
739 'border_radius' => [
740 'top_left' => '0',
741 'top_right' => '0',
742 'bottom_left' => '0',
743 'bottom_right' => '0',
744 ],
745 'background_color' => '#fff',
746 'background_image' => [
747 'url' => '',
748 'position' => 'default',
749 'x_position' => 0,
750 'y_position' => 0,
751 'repeat' => 'default',
752 'size' => 'default',
753 ],
754 'inner_setting_breaker' => [
755 'component' => 'LineBreaker',
756 ],
757 'inner_setting_group_definition' => [
758 'component' => 'GroupDefinition',
759 'title' => 'Inner layout settings',
760 'description' => 'Handle inner layout settings',
761 ],
762 'inner_border_radius' => [
763 'top_left' => '0',
764 'top_right' => '0',
765 'bottom_left' => '0',
766 'bottom_right' => '0',
767 ],
768 'inner_background_color' => '#ffffff00',
769 'column_borders' => [
770 'component' => 'ColumnBorders',
771 'title' => 'Column borders',
772 ],
773 'children' => [
774 Column::get_object_data(
775 100,
776 [
777 'children' => [
778 Text::get_object_data(
779 [
780 'container_group_definition' => [
781 'component' => 'GroupDefinition',
782 'title' => 'Container settings',
783 'description' => 'Handle container layout settings',
784 ],
785 'padding' => [
786 'top' => 0,
787 'right' => 40,
788 'bottom' => 0,
789 'left' => 40,
790 ],
791 'background_color' => '#ffffff00',
792 'border' => [
793 'side' => 'none',
794 'width' => '1',
795 'style' => 'solid',
796 'color' => '#e5e5e5',
797 'custom' => [
798 'top' => '1',
799 'right' => '1',
800 'bottom' => '1',
801 'left' => '1',
802 ],
803 ],
804 'content_breaker' => [
805 'component' => 'LineBreaker',
806 ],
807 'content_group_definition' => [
808 'component' => 'GroupDefinition',
809 'title' => 'Content settings',
810 'description' => 'Handle content settings',
811 ],
812 'font_family' => '"Outfit", "DM Sans", sans-serif',
813 'text_color' => '#333439',
814 '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>',
815 ]
816 ),
817 SocialIcon::get_object_data(
818 [
819 'container_group_definition' => [
820 'component' => 'GroupDefinition',
821 'title' => 'Container settings',
822 'description' => 'Handle container layout settings',
823 ],
824 'padding' => [
825 'top' => 20,
826 'right' => 0,
827 'bottom' => 20,
828 'left' => 0,
829 ],
830 'background_color' => '#fff',
831 'align' => 'center',
832 'content_breaker' => [
833 'component' => 'LineBreaker',
834 ],
835 'content_group_definition' => [
836 'component' => 'GroupDefinition',
837 'title' => 'Content settings',
838 'description' => 'Handle content settings',
839 ],
840 'width_icon' => 36,
841 'spacing' => 25,
842 'theme' => 'Colorful',
843 'icon_list' => [
844 '0' => [
845 'icon' => 'facebook',
846 'url' => '#',
847 ],
848 '1' => [
849 'icon' => 'instagram',
850 'url' => '#',
851 ],
852 '2' => [
853 'icon' => 'tiktok',
854 'url' => '#',
855 ],
856 '3' => [
857 'icon' => 'youtube',
858 'url' => '#',
859 ],
860 ],
861 ]
862 ),
863 Text::get_object_data(
864 [
865 'container_group_definition' => [
866 'component' => 'GroupDefinition',
867 'title' => 'Container settings',
868 'description' => 'Handle container layout settings',
869 ],
870 'padding' => [
871 'top' => 0,
872 'right' => 0,
873 'bottom' => 20,
874 'left' => 0,
875 ],
876 'background_color' => '#fff',
877 'border' => [
878 'side' => 'none',
879 'width' => '1',
880 'style' => 'solid',
881 'color' => '#e5e5e5',
882 'custom' => [
883 'top' => '1',
884 'right' => '1',
885 'bottom' => '1',
886 'left' => '1',
887 ],
888 ],
889 'content_breaker' => [
890 'component' => 'LineBreaker',
891 ],
892 'content_group_definition' => [
893 'component' => 'GroupDefinition',
894 'title' => 'Content settings',
895 'description' => 'Handle content settings',
896 ],
897 'font_family' => '"Outfit", "DM Sans", sans-serif',
898 'text_color' => '#77859B',
899 'rich_text' => '<p style="text-align: center;margin: 0;font-weight: 300"><span style="font-size: 12px">© 2025 YayCommerce.com</span></p>',
900 ]
901 ),
902 ],
903 ]
904 ),
905 ],
906 ]
907 ),
908 ];
909 }
910 }