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

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

925 lines 50.8 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 'steps' => [
281 '0' => [
282 'title' => 'Ordered',
283 'label_active_color' => '#1f2937',
284 'label_inactive_color' => '#6b7280',
285 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
286 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
287 'image_bg_color' => '#efcc5f',
288 'filled_bar_icon_border_radius' => '50',
289 'filled_bar_icon_border_color_active' => '#1a1a1a',
290 'filled_bar_icon_border_color_inactive' => '#d1d5db',
291 ],
292 '1' => [
293 'title' => 'Processing',
294 'label_active_color' => '#1f2937',
295 'label_inactive_color' => '#6b7280',
296 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
297 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
298 'image_bg_color' => '#efcc5f',
299 'filled_bar_icon_border_radius' => '50',
300 'filled_bar_icon_border_color_active' => '#1a1a1a',
301 'filled_bar_icon_border_color_inactive' => '#d1d5db',
302 ],
303 '2' => [
304 'title' => 'Completed',
305 'label_active_color' => '#1f2937',
306 'label_inactive_color' => '#6b7280',
307 'image_active_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
308 'image_inactive_url' => YAYMAIL_PLUGIN_URL . 'assets/images/check.png',
309 'image_bg_color' => '#efcc5f',
310 'filled_bar_icon_border_radius' => '50',
311 'filled_bar_icon_border_color_active' => '#1a1a1a',
312 'filled_bar_icon_border_color_inactive' => '#d1d5db',
313 ],
314 ],
315 ]
316 ),
317 Text::get_object_data(
318 [
319 'container_group_definition' => [
320 'component' => 'GroupDefinition',
321 'title' => 'Container settings',
322 'description' => 'Handle container layout settings',
323 ],
324 'padding' => [
325 'top' => 15,
326 'right' => 50,
327 'bottom' => 15,
328 'left' => 50,
329 ],
330 'background_color' => '#fefce8',
331 'border' => [
332 'side' => 'none',
333 'width' => '1',
334 'style' => 'solid',
335 'color' => '#e5e5e5',
336 'custom' => [
337 'top' => '1',
338 'right' => '1',
339 'bottom' => '1',
340 'left' => '1',
341 ],
342 ],
343 'content_breaker' => [
344 'component' => 'LineBreaker',
345 ],
346 'content_group_definition' => [
347 'component' => 'GroupDefinition',
348 'title' => 'Content settings',
349 'description' => 'Handle content settings',
350 ],
351 'font_family' => '"Kodchasan", system-ui, sans-serif',
352 'text_color' => '#1a1a1a',
353 '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>',
354 ]
355 ),
356 Button::get_object_data(
357 [
358 'container_group_definition' => [
359 'component' => 'GroupDefinition',
360 'title' => 'Container settings',
361 'description' => 'Handle container layout settings',
362 ],
363 'padding' => [
364 'top' => 10,
365 'right' => '50',
366 'bottom' => 40,
367 'left' => '50',
368 ],
369 'background_color' => '#fefce8',
370 'button_setting_breaker' => [
371 'component' => 'LineBreaker',
372 ],
373 'button_group_definition' => [
374 'component' => 'GroupDefinition',
375 'title' => 'Button settings',
376 'description' => 'Handle button settings',
377 ],
378 'button_type' => 'default',
379 'align' => 'left',
380 'width' => 'auto',
381 'custom_width' => '50',
382 'height' => '21',
383 'button_padding' => [
384 'top' => '12',
385 'right' => '20',
386 'bottom' => '12',
387 'left' => '20',
388 ],
389 'button_background_color' => '#efcc5f',
390 'text_color' => '#1a1a1a',
391 'border' => [
392 'side' => 'all',
393 'width' => 2,
394 'style' => 'solid',
395 'color' => '#1a1a1a',
396 'custom' => [
397 'top' => '1',
398 'right' => '1',
399 'bottom' => '1',
400 'left' => '1',
401 ],
402 ],
403 'border_radius' => [
404 'top_left' => 10,
405 'top_right' => 10,
406 'bottom_right' => 10,
407 'bottom_left' => 10,
408 ],
409 'button_content_group_definition' => [
410 'component' => 'GroupDefinition',
411 'title' => 'Button content',
412 'description' => 'Handle button content',
413 ],
414 'text' => 'View Your Order',
415 'url' => '#',
416 'font_size' => 16,
417 'weight' => 'normal',
418 'font_family' => '"Kodchasan", system-ui, sans-serif',
419 ]
420 ),
421 OrderDetails::get_object_data(
422 [
423 'rich_text' => '[yaymail_order_details]',
424 'payment_instructions' => '[yaymail_payment_instructions]',
425 'container_group_definition' => [
426 'component' => 'GroupDefinition',
427 'title' => 'Container settings',
428 'description' => 'Handle container layout settings',
429 ],
430 'padding' => [
431 'top' => '15',
432 'right' => '50',
433 'bottom' => 25,
434 'left' => '50',
435 ],
436 'background_color' => '#fbe8f0',
437 'border' => [
438 'side' => 'none',
439 'width' => '1',
440 'style' => 'solid',
441 'color' => '#190b0b',
442 'custom' => [
443 'top' => '1',
444 'right' => '1',
445 'bottom' => '1',
446 'left' => '1',
447 ],
448 ],
449 'table_setting_breaker' => [
450 'component' => 'LineBreaker',
451 ],
452 'table_group_definition' => [
453 'component' => 'GroupDefinition',
454 'title' => 'Table settings',
455 'description' => 'Handle table settings',
456 ],
457 'layout_type' => 'legacy',
458 'title' => '<p><span style="font-size: 16px"><strong>ORDER SUMMARY - FOR BUYER</strong></span></p>',
459 'title_color' => '#1A1A1A',
460 'text_color' => '#1a1a1a',
461 'border_color' => '#1a1a1a',
462 'font_family' => '"Kodchasan", system-ui, sans-serif',
463 'table_content_font_size' => 16,
464 'table_heading_line_breaker' => [
465 'component' => 'LineBreaker',
466 ],
467 'table_heading_group_definition' => [
468 'component' => 'GroupDefinition',
469 'title' => 'Table heading settings',
470 'description' => 'Handle table heading settings',
471 ],
472 'table_heading_font_size' => 14,
473 'show_table_header' => 1,
474 'product_title' => 'Product',
475 'cost_title' => 'Cost',
476 'quantity_title' => 'Quantity',
477 'price_title' => 'Price',
478 'cart_subtotal_title' => 'Subtotal:',
479 'payment_method_title' => 'Payment method:',
480 'order_total_title' => 'Total:',
481 'order_note_title' => 'Note:',
482 'shipping_title' => 'Shipping: [yaymail_shipping_method]',
483 'discount_title' => 'Discount:',
484 'custom_footer_rows_breaker' => [
485 'component' => 'LineBreaker',
486 ],
487 'custom_footer_rows_group' => [
488 'component' => 'GroupDefinition',
489 'title' => 'Custom Footer Rows',
490 'description' => 'Add custom rows to the order totals footer',
491 ],
492 'custom_footer_rows' => [],
493 ]
494 ),
495 ColumnLayout::get_object_data(
496 2,
497 [
498 'column_width' => [],
499 'column_spacing' => 30,
500 'vertical_align' => 'top',
501 'container_setting_breaker' => [
502 'component' => 'LineBreaker',
503 ],
504 'container_setting_group_definition' => [
505 'component' => 'GroupDefinition',
506 'title' => 'Container layout settings',
507 'description' => 'Handle container layout settings',
508 ],
509 'padding' => [
510 'top' => 0,
511 'right' => 50,
512 'bottom' => '15',
513 'left' => 50,
514 ],
515 'border_radius' => [
516 'top_left' => '0',
517 'top_right' => '0',
518 'bottom_left' => '0',
519 'bottom_right' => '0',
520 ],
521 'background_color' => '#fbe8f0',
522 'background_image' => [
523 'url' => '',
524 'position' => 'default',
525 'x_position' => 0,
526 'y_position' => 0,
527 'repeat' => 'default',
528 'size' => 'default',
529 ],
530 'inner_setting_breaker' => [
531 'component' => 'LineBreaker',
532 ],
533 'inner_setting_group_definition' => [
534 'component' => 'GroupDefinition',
535 'title' => 'Inner layout settings',
536 'description' => 'Handle inner layout settings',
537 ],
538 'inner_border_radius' => [
539 'top_left' => '0',
540 'top_right' => '0',
541 'bottom_left' => '0',
542 'bottom_right' => '0',
543 ],
544 'inner_background_color' => '#ffffff00',
545 'column_borders' => [
546 'component' => 'ColumnBorders',
547 'title' => 'Column borders',
548 ],
549 'children' => [
550 Column::get_object_data(
551 50,
552 [
553 'children' => [
554 Text::get_object_data(
555 [
556 'container_group_definition' => [
557 'component' => 'GroupDefinition',
558 'title' => 'Container settings',
559 'description' => 'Handle container layout settings',
560 ],
561 'padding' => [
562 'top' => 0,
563 'right' => '50',
564 'bottom' => 10,
565 'left' => 0,
566 ],
567 'background_color' => '#fbe8f000',
568 'border' => [
569 'side' => 'none',
570 'width' => '1',
571 'style' => 'solid',
572 'color' => '#e5e5e5',
573 'custom' => [
574 'top' => '1',
575 'right' => '1',
576 'bottom' => '1',
577 'left' => '1',
578 ],
579 ],
580 'content_breaker' => [
581 'component' => 'LineBreaker',
582 ],
583 'content_group_definition' => [
584 'component' => 'GroupDefinition',
585 'title' => 'Content settings',
586 'description' => 'Handle content settings',
587 ],
588 'font_family' => '"Kodchasan", system-ui, sans-serif',
589 'text_color' => '#1a1a1a',
590 'rich_text' => '<p><strong style="font-size: 16px">SHIPPING ADDRESS</strong></p>',
591 ]
592 ),
593 ShippingAddress::get_object_data(
594 [
595 'padding' => [
596 'top' => 0,
597 'right' => 0,
598 'bottom' => 0,
599 'left' => 0,
600 ],
601 'background_color' => '#fafafa1a',
602 'layout_type' => 'legacy',
603 'title_color' => '#1a1a1a',
604 'text_color' => '#1a1a1a',
605 'border_color' => '#1a1a1a',
606 'font_family' => '"Kodchasan", system-ui, sans-serif',
607 'title' => '',
608 'shipping_content_font_size' => '14',
609 'shipping_content_alignment' => 'left',
610 'shipping_content_text_format' => [
611 'bold' => false,
612 'italic' => false,
613 'underline' => false,
614 ],
615 'rich_text' => '[yaymail_shipping_address]',
616 ]
617 ),
618 ],
619 ]
620 ),
621 Column::get_object_data(
622 50,
623 [
624 'children' => [
625 Text::get_object_data(
626 [
627 'container_group_definition' => [
628 'component' => 'GroupDefinition',
629 'title' => 'Container settings',
630 'description' => 'Handle container layout settings',
631 ],
632 'padding' => [
633 'top' => 0,
634 'right' => '50',
635 'bottom' => 10,
636 'left' => 0,
637 ],
638 'background_color' => '#ffffff00',
639 'border' => [
640 'side' => 'none',
641 'width' => '1',
642 'style' => 'solid',
643 'color' => '#e5e5e5',
644 'custom' => [
645 'top' => '1',
646 'right' => '1',
647 'bottom' => '1',
648 'left' => '1',
649 ],
650 ],
651 'content_breaker' => [
652 'component' => 'LineBreaker',
653 ],
654 'content_group_definition' => [
655 'component' => 'GroupDefinition',
656 'title' => 'Content settings',
657 'description' => 'Handle content settings',
658 ],
659 'font_family' => '"Kodchasan", system-ui, sans-serif',
660 'text_color' => '#1a1a1a',
661 'rich_text' => '<p><strong style="font-size: 16px">BILLING ADDRESS</strong></p>',
662 ]
663 ),
664 BillingAddress::get_object_data(
665 [
666 'padding' => [
667 'top' => 0,
668 'right' => 0,
669 'bottom' => 0,
670 'left' => 0,
671 ],
672 'background_color' => '#fafafa00',
673 'layout_type' => 'legacy',
674 'title_color' => '#1a1a1a',
675 'text_color' => '#1a1a1a',
676 'border_color' => '#1a1a1a',
677 'font_family' => '"Kodchasan", system-ui, sans-serif',
678 'title' => '',
679 'billing_content_font_size' => '14',
680 'billing_content_alignment' => 'left',
681 'billing_content_text_format' => [
682 'bold' => false,
683 'italic' => false,
684 'underline' => false,
685 ],
686 'rich_text' => '[yaymail_billing_address]',
687 ]
688 ),
689 ],
690 ]
691 ),
692 ],
693 ]
694 ),
695 Text::get_object_data(
696 [
697 'container_group_definition' => [
698 'component' => 'GroupDefinition',
699 'title' => 'Container settings',
700 'description' => 'Handle container layout settings',
701 ],
702 'padding' => [
703 'top' => 15,
704 'right' => 50,
705 'bottom' => 20,
706 'left' => 50,
707 ],
708 'background_color' => '#fbe8f0',
709 'border' => [
710 'side' => 'none',
711 'width' => '1',
712 'style' => 'solid',
713 'color' => '#e5e5e5',
714 'custom' => [
715 'top' => '1',
716 'right' => '1',
717 'bottom' => '1',
718 'left' => '1',
719 ],
720 ],
721 'content_breaker' => [
722 'component' => 'LineBreaker',
723 ],
724 'content_group_definition' => [
725 'component' => 'GroupDefinition',
726 'title' => 'Content settings',
727 'description' => 'Handle content settings',
728 ],
729 'font_family' => '"Kodchasan", system-ui, sans-serif',
730 'text_color' => '#1a1a1a',
731 '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>',
732 ]
733 ),
734 ColumnLayout::get_object_data(
735 1,
736 [
737 'column_width' => [],
738 'column_spacing' => '0',
739 'vertical_align' => 'top',
740 'container_setting_breaker' => [
741 'component' => 'LineBreaker',
742 ],
743 'container_setting_group_definition' => [
744 'component' => 'GroupDefinition',
745 'title' => 'Container layout settings',
746 'description' => 'Handle container layout settings',
747 ],
748 'padding' => [
749 'top' => 40,
750 'bottom' => 40,
751 'left' => 50,
752 'right' => 50,
753 ],
754 'border_radius' => [
755 'top_left' => '0',
756 'top_right' => '0',
757 'bottom_left' => '0',
758 'bottom_right' => '0',
759 ],
760 'background_color' => '#ebf1fd',
761 'background_image' => [
762 'url' => '',
763 'position' => 'default',
764 'x_position' => 0,
765 'y_position' => 0,
766 'repeat' => 'default',
767 'size' => 'default',
768 ],
769 'inner_setting_breaker' => [
770 'component' => 'LineBreaker',
771 ],
772 'inner_setting_group_definition' => [
773 'component' => 'GroupDefinition',
774 'title' => 'Inner layout settings',
775 'description' => 'Handle inner layout settings',
776 ],
777 'inner_border_radius' => [
778 'top_left' => '0',
779 'top_right' => '0',
780 'bottom_left' => '0',
781 'bottom_right' => '0',
782 ],
783 'inner_background_color' => '#ffffff00',
784 'column_borders' => [
785 'component' => 'ColumnBorders',
786 'title' => 'Column borders',
787 ],
788 'children' => [
789 Column::get_object_data(
790 100,
791 [
792 'children' => [
793 Text::get_object_data(
794 [
795 'container_group_definition' => [
796 'component' => 'GroupDefinition',
797 'title' => 'Container settings',
798 'description' => 'Handle container layout settings',
799 ],
800 'padding' => [
801 'top' => 0,
802 'right' => 40,
803 'bottom' => 0,
804 'left' => 40,
805 ],
806 'background_color' => '#ffffff00',
807 'border' => [
808 'side' => 'none',
809 'width' => '1',
810 'style' => 'solid',
811 'color' => '#e5e5e5',
812 'custom' => [
813 'top' => '1',
814 'right' => '1',
815 'bottom' => '1',
816 'left' => '1',
817 ],
818 ],
819 'content_breaker' => [
820 'component' => 'LineBreaker',
821 ],
822 'content_group_definition' => [
823 'component' => 'GroupDefinition',
824 'title' => 'Content settings',
825 'description' => 'Handle content settings',
826 ],
827 'font_family' => '"Kodchasan", system-ui, sans-serif',
828 'text_color' => '#1a1a1a',
829 '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>',
830 ]
831 ),
832 SocialIcon::get_object_data(
833 [
834 'container_group_definition' => [
835 'component' => 'GroupDefinition',
836 'title' => 'Container settings',
837 'description' => 'Handle container layout settings',
838 ],
839 'padding' => [
840 'top' => 20,
841 'right' => 0,
842 'bottom' => 20,
843 'left' => 0,
844 ],
845 'background_color' => '#ffffff00',
846 'align' => 'center',
847 'content_breaker' => [
848 'component' => 'LineBreaker',
849 ],
850 'content_group_definition' => [
851 'component' => 'GroupDefinition',
852 'title' => 'Content settings',
853 'description' => 'Handle content settings',
854 ],
855 'width_icon' => 36,
856 'spacing' => 25,
857 'theme' => 'Colorful',
858 'icon_list' => [
859 '0' => [
860 'icon' => 'facebook',
861 'url' => '#',
862 ],
863 '1' => [
864 'icon' => 'instagram',
865 'url' => '#',
866 ],
867 '2' => [
868 'icon' => 'tiktok',
869 'url' => '#',
870 ],
871 '3' => [
872 'icon' => 'youtube',
873 'url' => '#',
874 ],
875 ],
876 ]
877 ),
878 Text::get_object_data(
879 [
880 'container_group_definition' => [
881 'component' => 'GroupDefinition',
882 'title' => 'Container settings',
883 'description' => 'Handle container layout settings',
884 ],
885 'padding' => [
886 'top' => 0,
887 'right' => 0,
888 'bottom' => 0,
889 'left' => 0,
890 ],
891 'background_color' => '#ffffff00',
892 'border' => [
893 'side' => 'none',
894 'width' => '1',
895 'style' => 'solid',
896 'color' => '#e5e5e5',
897 'custom' => [
898 'top' => '1',
899 'right' => '1',
900 'bottom' => '1',
901 'left' => '1',
902 ],
903 ],
904 'content_breaker' => [
905 'component' => 'LineBreaker',
906 ],
907 'content_group_definition' => [
908 'component' => 'GroupDefinition',
909 'title' => 'Content settings',
910 'description' => 'Handle content settings',
911 ],
912 'font_family' => '"Kodchasan", system-ui, sans-serif',
913 'text_color' => '#1a1a1a',
914 'rich_text' => '<p style="text-align: center;margin: 0;font-weight: 300"><span style="font-size: 12px">© 2025 YayCommerce.com</span></p>',
915 ]
916 ),
917 ],
918 ]
919 ),
920 ],
921 ]
922 ),
923 ];
924 }
925 }