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

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

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