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

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

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