PluginProbe
YayMail – WooCommerce Email Customizer / trunk
YayMail – WooCommerce Email Customizer vtrunk
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 3.4.2 3.4.3 All 55 releases
yaymail / src / TemplateLibrary / Templates / Processing / NeonGlow.php

NeonGlow.php in YayMail – WooCommerce Email Customizer trunk, at src/TemplateLibrary/Templates/Processing/NeonGlow.php

1,129 lines 64.7 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\Processing;
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\Logo;
13 use YayMail\Elements\OrderDetails;
14 use YayMail\Elements\ShippingAddress;
15 use YayMail\Elements\SocialIcon;
16 use YayMail\Elements\Text;
17 use YayMail\Utils\SingletonTrait;
18
19 /**
20 * Neon Glow template for Processing Order email.
21 */
22 class NeonGlow extends BaseTemplate {
23 use SingletonTrait;
24
25 public function __construct() {
26 parent::__construct();
27 $this->id = 'processing_order_v3';
28 $this->email_type = 'customer_processing_order';
29 $this->name = 'Neon Glow';
30 $this->description = 'Modern gradient design with vibrant colors.';
31 $this->categories = [ 'Purple Collection' ];
32 $this->template_settings = [
33 'text_link_color' => '#EFEDF3',
34 ];
35
36 $this->elements = [
37 ColumnLayout::get_object_data(
38 4,
39 [
40 'column_width' => [],
41 'column_spacing' => '0',
42 'vertical_align' => 'top',
43 'container_setting_breaker' => [
44 'component' => 'LineBreaker',
45 ],
46 'container_setting_group_definition' => [
47 'component' => 'GroupDefinition',
48 'title' => 'Container layout settings',
49 'description' => 'Handle container layout settings',
50 ],
51 'padding' => [
52 'top' => 20,
53 'right' => 50,
54 'bottom' => 20,
55 'left' => 50,
56 ],
57 'border_radius' => [
58 'top_left' => '0',
59 'top_right' => '0',
60 'bottom_left' => '0',
61 'bottom_right' => '0',
62 ],
63 'background_color' => '#5d19e0',
64 'background_image' => [
65 'url' => '',
66 'position' => 'default',
67 'x_position' => 0,
68 'y_position' => 0,
69 'repeat' => 'default',
70 'size' => 'default',
71 ],
72 'inner_setting_breaker' => [
73 'component' => 'LineBreaker',
74 ],
75 'inner_setting_group_definition' => [
76 'component' => 'GroupDefinition',
77 'title' => 'Inner layout settings',
78 'description' => 'Handle inner layout settings',
79 ],
80 'inner_border_radius' => [
81 'top_left' => '0',
82 'top_right' => '0',
83 'bottom_left' => '0',
84 'bottom_right' => '0',
85 ],
86 'inner_background_color' => '#ffffff00',
87 'column_borders' => [
88 'component' => 'ColumnBorders',
89 'title' => 'Column borders',
90 ],
91 'children' => [
92 Column::get_object_data(
93 29,
94 [
95 'children' => [
96 Logo::get_object_data(
97 [
98 'container_group_definition' => [
99 'component' => 'GroupDefinition',
100 'title' => 'Container settings',
101 'description' => 'Handle container layout settings',
102 ],
103 'padding' => [
104 'top' => 10,
105 'right' => 10,
106 'bottom' => 10,
107 'left' => 0,
108 ],
109 'background_color' => '#f9f9f900',
110 'logo_breaker' => [
111 'component' => 'LineBreaker',
112 ],
113 'logo_group_definition' => [
114 'component' => 'GroupDefinition',
115 'title' => 'Logo settings',
116 'description' => 'Handle logo settings',
117 ],
118 'src' => 'https://images.wpbrandy.com/uploads/woo-white-logo.png',
119 'align' => 'left',
120 'width' => 117,
121 'url' => '#',
122 'alt' => '',
123 ]
124 ),
125 ],
126 ]
127 ),
128 Column::get_object_data(
129 34.49,
130 [
131 'children' => [
132 Text::get_object_data(
133 [
134 'container_group_definition' => [
135 'component' => 'GroupDefinition',
136 'title' => 'Container settings',
137 'description' => 'Handle container layout settings',
138 ],
139 'padding' => [
140 'top' => '15',
141 'right' => 0,
142 'bottom' => '15',
143 'left' => 0,
144 ],
145 'background_color' => '#ffffff00',
146 'border' => [
147 'side' => 'none',
148 'width' => '1',
149 'style' => 'solid',
150 'color' => '#e5e5e5',
151 'custom' => [
152 'top' => '1',
153 'right' => '1',
154 'bottom' => '1',
155 'left' => '1',
156 ],
157 ],
158 'content_breaker' => [
159 'component' => 'LineBreaker',
160 ],
161 'content_group_definition' => [
162 'component' => 'GroupDefinition',
163 'title' => 'Content settings',
164 'description' => 'Handle content settings',
165 ],
166 'font_family' => '"Rethink Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
167 'text_color' => '#efedf3',
168 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px;font-weight: 400">My Account</span></p>',
169 ]
170 ),
171 ],
172 ]
173 ),
174 Column::get_object_data(
175 27.76,
176 [
177 'children' => [
178 Text::get_object_data(
179 [
180 'container_group_definition' => [
181 'component' => 'GroupDefinition',
182 'title' => 'Container settings',
183 'description' => 'Handle container layout settings',
184 ],
185 'padding' => [
186 'top' => '15',
187 'right' => 0,
188 'bottom' => '15',
189 'left' => 0,
190 ],
191 'background_color' => '#ffffff00',
192 'border' => [
193 'side' => 'none',
194 'width' => '1',
195 'style' => 'solid',
196 'color' => '#e5e5e5',
197 'custom' => [
198 'top' => '1',
199 'right' => '1',
200 'bottom' => '1',
201 'left' => '1',
202 ],
203 ],
204 'content_breaker' => [
205 'component' => 'LineBreaker',
206 ],
207 'content_group_definition' => [
208 'component' => 'GroupDefinition',
209 'title' => 'Content settings',
210 'description' => 'Handle content settings',
211 ],
212 'font_family' => '"Rethink Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
213 'text_color' => '#efedf3',
214 'rich_text' => '<p style="text-align: center"><span style="font-size: 14px;font-weight: 400">Order Tracking</span></p>',
215 ]
216 ),
217 ],
218 ]
219 ),
220 Column::get_object_data(
221 8.75,
222 [
223 'children' => [
224 Text::get_object_data(
225 [
226 'container_group_definition' => [
227 'component' => 'GroupDefinition',
228 'title' => 'Container settings',
229 'description' => 'Handle container layout settings',
230 ],
231 'padding' => [
232 'top' => '15',
233 'right' => 2,
234 'bottom' => '15',
235 'left' => 0,
236 ],
237 'background_color' => '#ffffff00',
238 'border' => [
239 'side' => 'none',
240 'width' => '1',
241 'style' => 'solid',
242 'color' => '#e5e5e5',
243 'custom' => [
244 'top' => '1',
245 'right' => '1',
246 'bottom' => '1',
247 'left' => '1',
248 ],
249 ],
250 'content_breaker' => [
251 'component' => 'LineBreaker',
252 ],
253 'content_group_definition' => [
254 'component' => 'GroupDefinition',
255 'title' => 'Content settings',
256 'description' => 'Handle content settings',
257 ],
258 'font_family' => '"Rethink Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
259 'text_color' => '#efedf3',
260 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px;font-weight: 400">Contact</span></p>',
261 ]
262 ),
263 ],
264 ]
265 ),
266 ],
267 ]
268 ),
269 ColumnLayout::get_object_data(
270 1,
271 [
272 'column_width' => [],
273 'column_spacing' => '0',
274 'vertical_align' => 'top',
275 'padding' => [
276 'top' => '15',
277 'right' => 50,
278 'bottom' => '15',
279 'left' => 50,
280 ],
281 'border_radius' => [
282 'top_left' => '0',
283 'top_right' => '0',
284 'bottom_left' => '0',
285 'bottom_right' => '0',
286 ],
287 'background_color' => '#5d19e0',
288 'background_image' => [
289 'url' => '',
290 'position' => 'default',
291 'x_position' => 0,
292 'y_position' => 0,
293 'repeat' => 'default',
294 'size' => 'default',
295 ],
296 'inner_border_radius' => [
297 'top_left' => '0',
298 'top_right' => '0',
299 'bottom_left' => '0',
300 'bottom_right' => '0',
301 ],
302 'inner_background_color' => '#ffffff00',
303 'children' => [
304 Column::get_object_data(
305 100,
306 [
307 'children' => [
308 ColumnLayout::get_object_data(
309 1,
310 [
311 'column_width' => [],
312 'column_spacing' => '0',
313 'vertical_align' => 'top',
314 'padding' => [
315 'top' => '15',
316 'right' => 50,
317 'bottom' => '15',
318 'left' => 50,
319 ],
320 'border_radius' => [
321 'top_left' => '0',
322 'top_right' => '0',
323 'bottom_left' => '0',
324 'bottom_right' => '0',
325 ],
326 'background_color' => '#723af5',
327 'background_image' => [
328 'url' => 'https://images.wpbrandy.com/uploads/processing-order-3-img-1.png',
329 'position' => 'center-right',
330 'x_position' => 100,
331 'y_position' => 0,
332 'repeat' => 'no-repeat',
333 'size' => 'cover',
334 ],
335 'inner_border_radius' => [
336 'top_left' => '0',
337 'top_right' => '0',
338 'bottom_left' => '0',
339 'bottom_right' => '0',
340 ],
341 'inner_background_color' => '#ffffff00',
342 'children' => [
343 Column::get_object_data(
344 100,
345 [
346 'children' => [
347 Text::get_object_data(
348 [
349 'container_group_definition' => [
350 'component' => 'GroupDefinition',
351 'title' => 'Container settings',
352 'description' => 'Handle container layout settings',
353 ],
354 'padding' => [
355 'top' => 10,
356 'right' => '50',
357 'bottom' => 0,
358 'left' => 0,
359 ],
360 'background_color' => '#ffffff00',
361 'border' => [
362 'side' => 'none',
363 'width' => '1',
364 'style' => 'solid',
365 'color' => '#e5e5e5',
366 'custom' => [
367 'top' => '1',
368 'right' => '1',
369 'bottom' => '1',
370 'left' => '1',
371 ],
372 ],
373 'content_breaker' => [
374 'component' => 'LineBreaker',
375 ],
376 'content_group_definition' => [
377 'component' => 'GroupDefinition',
378 'title' => 'Content settings',
379 'description' => 'Handle content settings',
380 ],
381 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
382 'text_color' => '#84ff7c',
383 'rich_text' => '<p><span style="font-weight: bold">ORDER CONFIRMED</span></p>',
384 ]
385 ),
386 Heading::get_object_data(
387 [
388 'container_group_definition' => [
389 'component' => 'GroupDefinition',
390 'title' => 'Container settings',
391 'description' => 'Handle container layout settings',
392 ],
393 'padding' => [
394 'top' => 20,
395 'right' => 0,
396 'bottom' => 0,
397 'left' => 0,
398 ],
399 'background_color' => '#ffffff00',
400 'content_breaker' => [
401 'component' => 'LineBreaker',
402 ],
403 'content_group_definition' => [
404 'component' => 'GroupDefinition',
405 'title' => 'Content settings',
406 'description' => 'Handle content settings',
407 ],
408 'font_family' => '"Courier New", Courier, monospace',
409 'text_color' => '#efedf3',
410 'rich_text' => '<p><span style="font-size: 30px;font-weight: 600;line-height: 1.2">New Order Received</span></p><p><span style="font-size: 30px;font-weight: 600;line-height: 1.2">Please Review</span></p>',
411 ]
412 ),
413 Text::get_object_data(
414 [
415 'container_group_definition' => [
416 'component' => 'GroupDefinition',
417 'title' => 'Container settings',
418 'description' => 'Handle container layout settings',
419 ],
420 'padding' => [
421 'top' => '15',
422 'right' => 0,
423 'bottom' => '15',
424 'left' => 0,
425 ],
426 'background_color' => '#ffffff00',
427 'border' => [
428 'side' => 'none',
429 'width' => '1',
430 'style' => 'solid',
431 'color' => '#e5e5e5',
432 'custom' => [
433 'top' => '1',
434 'right' => '1',
435 'bottom' => '1',
436 'left' => '1',
437 ],
438 ],
439 'content_breaker' => [
440 'component' => 'LineBreaker',
441 ],
442 'content_group_definition' => [
443 'component' => 'GroupDefinition',
444 'title' => 'Content settings',
445 'description' => 'Handle content settings',
446 ],
447 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
448 'text_color' => '#efedf3',
449 'rich_text' => '<p style="text-align: left">Order placed on [yaymail_order_date]</p><p style="text-align: left">Order ID #[yaymail_order_id is_plain="true"]</p>',
450 ]
451 ),
452 ],
453 ]
454 ),
455 ],
456 ]
457 ),
458 ],
459 ]
460 ),
461 ],
462 ]
463 ),
464 Text::get_object_data(
465 [
466 'container_group_definition' => [
467 'component' => 'GroupDefinition',
468 'title' => 'Container settings',
469 'description' => 'Handle container layout settings',
470 ],
471 'padding' => [
472 'top' => '15',
473 'right' => '50',
474 'bottom' => 0,
475 'left' => '50',
476 ],
477 'background_color' => '#5d19e0',
478 'border' => [
479 'side' => 'none',
480 'width' => '1',
481 'style' => 'solid',
482 'color' => '#e5e5e5',
483 'custom' => [
484 'top' => '1',
485 'right' => '1',
486 'bottom' => '1',
487 'left' => '1',
488 ],
489 ],
490 'content_breaker' => [
491 'component' => 'LineBreaker',
492 ],
493 'content_group_definition' => [
494 'component' => 'GroupDefinition',
495 'title' => 'Content settings',
496 'description' => 'Handle content settings',
497 ],
498 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
499 'text_color' => '#efedf3',
500 'rich_text' => '<p><span style="font-size: 16px;font-weight: 400">Hi [yaymail_billing_first_name] [yaymail_billing_last_name]<strong>,</strong></span></p><br/><p><span style="font-size: 16px">Thanks for your order!</span></p><p><span style="font-size: 16px">We\'ve successfully received it and it\'s now being processed. We\'ll notify you as soon as your order is shipped.</span></p>',
501 ]
502 ),
503 Text::get_object_data(
504 [
505 'container_group_definition' => [
506 'component' => 'GroupDefinition',
507 'title' => 'Container settings',
508 'description' => 'Handle container layout settings',
509 ],
510 'padding' => [
511 'top' => 40,
512 'right' => '50',
513 'bottom' => 0,
514 'left' => '50',
515 ],
516 'background_color' => '#5d19e0',
517 'border' => [
518 'side' => 'none',
519 'width' => '1',
520 'style' => 'solid',
521 'color' => '#e5e5e5',
522 'custom' => [
523 'top' => '1',
524 'right' => '1',
525 'bottom' => '1',
526 'left' => '1',
527 ],
528 ],
529 'content_breaker' => [
530 'component' => 'LineBreaker',
531 ],
532 'content_group_definition' => [
533 'component' => 'GroupDefinition',
534 'title' => 'Content settings',
535 'description' => 'Handle content settings',
536 ],
537 'font_family' => '"Courier New", Courier, monospace',
538 'text_color' => '#efedf3',
539 'rich_text' => '<p style="text-align: left"><span style="font-size: 24px;font-weight: 800"><strong>Order Summary</strong></span></p>',
540 ]
541 ),
542 OrderDetails::get_object_data(
543 [
544 'rich_text' => '[yaymail_order_details]',
545 'payment_instructions' => '[yaymail_payment_instructions]',
546 'container_group_definition' => [
547 'component' => 'GroupDefinition',
548 'title' => 'Container settings',
549 'description' => 'Handle container layout settings',
550 ],
551 'padding' => [
552 'top' => 0,
553 'right' => '50',
554 'bottom' => 10,
555 'left' => '50',
556 ],
557 'background_color' => '#5d19e0',
558 'border' => [
559 'side' => 'none',
560 'width' => '1',
561 'style' => 'solid',
562 'color' => '#e5e5e5',
563 'custom' => [
564 'top' => '1',
565 'right' => '1',
566 'bottom' => '1',
567 'left' => '1',
568 ],
569 ],
570 'table_setting_breaker' => [
571 'component' => 'LineBreaker',
572 ],
573 'table_group_definition' => [
574 'component' => 'GroupDefinition',
575 'title' => 'Table settings',
576 'description' => 'Handle table settings',
577 ],
578 'layout_type' => 'legacy',
579 'title' => '',
580 'title_color' => '#873EFF',
581 'text_color' => '#efedf3',
582 'border_color' => '#efedf3',
583 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
584 'table_content_font_size' => 16,
585 'table_heading_line_breaker' => [
586 'component' => 'LineBreaker',
587 ],
588 'table_heading_group_definition' => [
589 'component' => 'GroupDefinition',
590 'title' => 'Table heading settings',
591 'description' => 'Handle table heading settings',
592 ],
593 'table_heading_font_size' => 14,
594 'show_table_header' => 1,
595 'product_title' => 'Product',
596 'cost_title' => 'Cost',
597 'quantity_title' => 'Quantity',
598 'price_title' => 'Price',
599 'cart_subtotal_title' => 'Subtotal:',
600 'payment_method_title' => 'Payment method:',
601 'order_total_title' => 'Total:',
602 'order_note_title' => 'Note:',
603 'shipping_title' => 'Shipping: [yaymail_shipping_method]',
604 'discount_title' => 'Discount:',
605 'custom_footer_rows_breaker' => [
606 'component' => 'LineBreaker',
607 ],
608 'custom_footer_rows_group' => [
609 'component' => 'GroupDefinition',
610 'title' => 'Custom Footer Rows',
611 'description' => 'Add custom rows to the order totals footer',
612 ],
613 'custom_footer_rows' => [],
614 ]
615 ),
616 Button::get_object_data(
617 [
618 'container_group_definition' => [
619 'component' => 'GroupDefinition',
620 'title' => 'Container settings',
621 'description' => 'Handle container layout settings',
622 ],
623 'padding' => [
624 'top' => 10,
625 'right' => '50',
626 'bottom' => 15,
627 'left' => '50',
628 ],
629 'background_color' => '#5d19e0',
630 'button_setting_breaker' => [
631 'component' => 'LineBreaker',
632 ],
633 'button_group_definition' => [
634 'component' => 'GroupDefinition',
635 'title' => 'Button settings',
636 'description' => 'Handle button settings',
637 ],
638 'button_type' => 'default',
639 'align' => 'left',
640 'width' => '50%',
641 'custom_width' => '50',
642 'height' => '21',
643 'button_padding' => [
644 'top' => '12',
645 'right' => '20',
646 'bottom' => '12',
647 'left' => '20',
648 ],
649 'button_background_color' => '#84ff7c',
650 'text_color' => '#3d1889',
651 'border' => [
652 'side' => 'none',
653 'width' => '1',
654 'style' => 'solid',
655 'color' => '#e5e5e5',
656 'custom' => [
657 'top' => '1',
658 'right' => '1',
659 'bottom' => '1',
660 'left' => '1',
661 ],
662 ],
663 'border_radius' => [
664 'top_left' => 0,
665 'top_right' => 0,
666 'bottom_right' => 0,
667 'bottom_left' => 0,
668 ],
669 'button_content_group_definition' => [
670 'component' => 'GroupDefinition',
671 'title' => 'Button content',
672 'description' => 'Handle button content',
673 ],
674 'text' => 'View Your Order',
675 'url' => '[yaymail_order_url]',
676 'font_size' => 16,
677 'weight' => 'normal',
678 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
679 ]
680 ),
681 ColumnLayout::get_object_data(
682 2,
683 [
684 'column_width' => [],
685 'column_spacing' => 20,
686 'vertical_align' => 'top',
687 'container_setting_breaker' => [
688 'component' => 'LineBreaker',
689 ],
690 'container_setting_group_definition' => [
691 'component' => 'GroupDefinition',
692 'title' => 'Container layout settings',
693 'description' => 'Handle container layout settings',
694 ],
695 'padding' => [
696 'top' => 30,
697 'right' => 50,
698 'bottom' => 30,
699 'left' => 50,
700 ],
701 'border_radius' => [
702 'top_left' => '0',
703 'top_right' => '0',
704 'bottom_left' => '0',
705 'bottom_right' => '0',
706 ],
707 'background_color' => '#5d19e0',
708 'background_image' => [
709 'url' => '',
710 'position' => 'default',
711 'x_position' => 0,
712 'y_position' => 0,
713 'repeat' => 'default',
714 'size' => 'default',
715 ],
716 'inner_setting_breaker' => [
717 'component' => 'LineBreaker',
718 ],
719 'inner_setting_group_definition' => [
720 'component' => 'GroupDefinition',
721 'title' => 'Inner layout settings',
722 'description' => 'Handle inner layout settings',
723 ],
724 'inner_border_radius' => [
725 'top_left' => '0',
726 'top_right' => '0',
727 'bottom_left' => '0',
728 'bottom_right' => '0',
729 ],
730 'inner_background_color' => '#ffffff00',
731 'column_borders' => [
732 'component' => 'ColumnBorders',
733 'title' => 'Column borders',
734 ],
735 'children' => [
736 Column::get_object_data(
737 50,
738 [
739 'children' => [
740 Text::get_object_data(
741 [
742 'padding' => [
743 'top' => 15,
744 'right' => 0,
745 'bottom' => 0,
746 'left' => 0,
747 ],
748 'background_color' => '#0000000d',
749 'border' => [
750 'side' => 'none',
751 'width' => '1',
752 'style' => 'solid',
753 'color' => '#e5e5e5',
754 'custom' => [
755 'top' => '1',
756 'right' => '1',
757 'bottom' => '1',
758 'left' => '1',
759 ],
760 ],
761 'font_family' => '"Courier New", Courier, monospace',
762 'text_color' => '#efedf3',
763 'rich_text' => '<p style="text-align: center"><strong style="font-size: 20px;text-align: center">Shipping Address</strong></p>',
764 ]
765 ),
766 ShippingAddress::get_object_data(
767 [
768 'container_group_definition' => [
769 'component' => 'GroupDefinition',
770 'title' => 'Container settings',
771 'description' => 'Handle container layout settings',
772 ],
773 'padding' => [
774 'top' => 0,
775 'right' => 30,
776 'bottom' => 30,
777 'left' => 30,
778 ],
779 'background_color' => '#0000000d',
780 'content_breaker' => [
781 'component' => 'LineBreaker',
782 ],
783 'content_group_definition' => [
784 'component' => 'GroupDefinition',
785 'title' => 'Content settings',
786 'description' => 'Handle content settings',
787 ],
788 'layout_type' => 'modern',
789 'title_color' => '#1a1a1a',
790 'text_color' => '#efedf3',
791 'border_color' => '#c7ccc7',
792 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
793 'title' => '',
794 'shipping_content_font_size' => '14',
795 'shipping_content_alignment' => 'center',
796 'shipping_content_text_format' => [
797 'bold' => false,
798 'italic' => false,
799 'underline' => false,
800 ],
801 'rich_text' => '[yaymail_shipping_address]',
802 ]
803 ),
804 ],
805 ]
806 ),
807 Column::get_object_data(
808 50,
809 [
810 'children' => [
811 Text::get_object_data(
812 [
813 'padding' => [
814 'top' => '15',
815 'right' => 0,
816 'bottom' => 0,
817 'left' => 0,
818 ],
819 'background_color' => '#0000000d',
820 'border' => [
821 'side' => 'none',
822 'width' => '1',
823 'style' => 'solid',
824 'color' => '#e5e5e5',
825 'custom' => [
826 'top' => '1',
827 'right' => '1',
828 'bottom' => '1',
829 'left' => '1',
830 ],
831 ],
832 'font_family' => '"Courier New", Courier, monospace',
833 'text_color' => '#efedf3',
834 'rich_text' => '<p style="text-align: center"><strong style="font-size: 20px;text-align: center">Billing Address</strong></p>',
835 ]
836 ),
837 BillingAddress::get_object_data(
838 [
839 'container_group_definition' => [
840 'component' => 'GroupDefinition',
841 'title' => 'Container settings',
842 'description' => 'Handle container layout settings',
843 ],
844 'padding' => [
845 'top' => 0,
846 'right' => 30,
847 'bottom' => 30,
848 'left' => 30,
849 ],
850 'background_color' => '#0000000d',
851 'content_breaker' => [
852 'component' => 'LineBreaker',
853 ],
854 'content_group_definition' => [
855 'component' => 'GroupDefinition',
856 'title' => 'Content settings',
857 'description' => 'Handle content settings',
858 ],
859 'layout_type' => 'modern',
860 'title_color' => '#1a1a1a',
861 'text_color' => '#efedf3',
862 'border_color' => '#23661b33',
863 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
864 'title' => '',
865 'billing_content_font_size' => '14',
866 'billing_content_alignment' => 'center',
867 'billing_content_text_format' => [
868 'bold' => false,
869 'italic' => false,
870 'underline' => false,
871 ],
872 'rich_text' => '[yaymail_billing_address]',
873 ]
874 ),
875 ],
876 ]
877 ),
878 ],
879 ]
880 ),
881 Divider::get_object_data(
882 [
883 'align' => 'center',
884 'padding' => [
885 'top' => '15',
886 'right' => '50',
887 'bottom' => '15',
888 'left' => '50',
889 ],
890 'width' => '100',
891 'height' => 1,
892 'background_color' => '#5d19e0',
893 'divider_color' => '#723af5',
894 'divider_type' => 'solid',
895 ]
896 ),
897 Text::get_object_data(
898 [
899 'container_group_definition' => [
900 'component' => 'GroupDefinition',
901 'title' => 'Container settings',
902 'description' => 'Handle container layout settings',
903 ],
904 'padding' => [
905 'top' => 20,
906 'right' => 50,
907 'bottom' => 24,
908 'left' => 50,
909 ],
910 'background_color' => '#5d19e0',
911 'border' => [
912 'side' => 'none',
913 'width' => '1',
914 'style' => 'solid',
915 'color' => '#e5e5e5',
916 'custom' => [
917 'top' => '1',
918 'right' => '1',
919 'bottom' => '1',
920 'left' => '1',
921 ],
922 ],
923 'content_breaker' => [
924 'component' => 'LineBreaker',
925 ],
926 'content_group_definition' => [
927 'component' => 'GroupDefinition',
928 'title' => 'Content settings',
929 'description' => 'Handle content settings',
930 ],
931 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
932 'text_color' => '#efedf3',
933 'rich_text' => '<p><span style="font-size: 16px">Thanks again for shopping with us!</span></p><p><span style="font-size: 16px">Have any questions? Feel free to contact us anytime <u>here</u>. We\'re happy to help.</span></p>',
934 ]
935 ),
936 Text::get_object_data(
937 [
938 'container_group_definition' => [
939 'component' => 'GroupDefinition',
940 'title' => 'Container settings',
941 'description' => 'Handle container layout settings',
942 ],
943 'padding' => [
944 'top' => 0,
945 'right' => 50,
946 'bottom' => 30,
947 'left' => 50,
948 ],
949 'background_color' => '#5d19e0',
950 'border' => [
951 'side' => 'none',
952 'width' => '1',
953 'style' => 'solid',
954 'color' => '#e5e5e5',
955 'custom' => [
956 'top' => '1',
957 'right' => '1',
958 'bottom' => '1',
959 'left' => '1',
960 ],
961 ],
962 'content_breaker' => [
963 'component' => 'LineBreaker',
964 ],
965 'content_group_definition' => [
966 'component' => 'GroupDefinition',
967 'title' => 'Content settings',
968 'description' => 'Handle content settings',
969 ],
970 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
971 'text_color' => '#efedf3',
972 'rich_text' => '<p><span style="font-size: 16px;font-weight: 400">Best regards,</span></p><p><span style="font-size: 16px;font-weight: 400">The <strong>[yaymail_site_name]</strong> Team</span></p>',
973 ]
974 ),
975 ColumnLayout::get_object_data(
976 1,
977 [
978 'column_width' => [],
979 'column_spacing' => '0',
980 'vertical_align' => 'top',
981 'container_setting_breaker' => [
982 'component' => 'LineBreaker',
983 ],
984 'container_setting_group_definition' => [
985 'component' => 'GroupDefinition',
986 'title' => 'Container layout settings',
987 'description' => 'Handle container layout settings',
988 ],
989 'padding' => [
990 'top' => 30,
991 'bottom' => 30,
992 'left' => 30,
993 'right' => 30,
994 ],
995 'border_radius' => [
996 'top_left' => '0',
997 'top_right' => '0',
998 'bottom_left' => '0',
999 'bottom_right' => '0',
1000 ],
1001 'background_color' => '#723af5',
1002 'background_image' => [
1003 'url' => '',
1004 'position' => 'default',
1005 'x_position' => 0,
1006 'y_position' => 0,
1007 'repeat' => 'default',
1008 'size' => 'cover',
1009 'custom_size' => 100,
1010 ],
1011 'inner_setting_breaker' => [
1012 'component' => 'LineBreaker',
1013 ],
1014 'inner_setting_group_definition' => [
1015 'component' => 'GroupDefinition',
1016 'title' => 'Inner layout settings',
1017 'description' => 'Handle inner layout settings',
1018 ],
1019 'inner_border_radius' => [
1020 'top_left' => '0',
1021 'top_right' => '0',
1022 'bottom_left' => '0',
1023 'bottom_right' => '0',
1024 ],
1025 'inner_background_color' => '#ffffff00',
1026 'column_borders' => [
1027 'component' => 'ColumnBorders',
1028 'title' => 'Column borders',
1029 ],
1030 'children' => [
1031 Column::get_object_data(
1032 100,
1033 [
1034 'children' => [
1035 SocialIcon::get_object_data(
1036 [
1037 'container_group_definition' => [
1038 'component' => 'GroupDefinition',
1039 'title' => 'Container settings',
1040 'description' => 'Handle container layout settings',
1041 ],
1042 'padding' => [
1043 'top' => 10,
1044 'right' => 50,
1045 'bottom' => 10,
1046 'left' => 0,
1047 ],
1048 'background_color' => '#ffffff00',
1049 'align' => 'center',
1050 'content_breaker' => [
1051 'component' => 'LineBreaker',
1052 ],
1053 'content_group_definition' => [
1054 'component' => 'GroupDefinition',
1055 'title' => 'Content settings',
1056 'description' => 'Handle content settings',
1057 ],
1058 'width_icon' => 36,
1059 'spacing' => 25,
1060 'theme' => 'Colorful',
1061 'icon_list' => [
1062 '0' => [
1063 'icon' => 'facebook',
1064 'url' => '#',
1065 ],
1066 '1' => [
1067 'icon' => 'instagram',
1068 'url' => '#',
1069 ],
1070 '2' => [
1071 'icon' => 'tiktok',
1072 'url' => '#',
1073 ],
1074 '3' => [
1075 'icon' => 'youtube',
1076 'url' => '#',
1077 ],
1078 ],
1079 ]
1080 ),
1081 Text::get_object_data(
1082 [
1083 'container_group_definition' => [
1084 'component' => 'GroupDefinition',
1085 'title' => 'Container settings',
1086 'description' => 'Handle container layout settings',
1087 ],
1088 'padding' => [
1089 'top' => 0,
1090 'right' => 50,
1091 'bottom' => 0,
1092 'left' => 50,
1093 ],
1094 'background_color' => '#ffffff00',
1095 'border' => [
1096 'side' => 'none',
1097 'width' => '1',
1098 'style' => 'solid',
1099 'color' => '#e5e5e5',
1100 'custom' => [
1101 'top' => '1',
1102 'right' => '1',
1103 'bottom' => '1',
1104 'left' => '1',
1105 ],
1106 ],
1107 'content_breaker' => [
1108 'component' => 'LineBreaker',
1109 ],
1110 'content_group_definition' => [
1111 'component' => 'GroupDefinition',
1112 'title' => 'Content settings',
1113 'description' => 'Handle content settings',
1114 ],
1115 'font_family' => '"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif',
1116 'text_color' => '#ffffff',
1117 'rich_text' => '<p style="margin: 0px;font-weight: 400;text-align: center"><span style="font-size: 12px">© 2025 YayCommerce.com</span></p>',
1118 ]
1119 ),
1120 ],
1121 ]
1122 ),
1123 ],
1124 ]
1125 ),
1126 ];
1127 }
1128 }
1129