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

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

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