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

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

488 lines 10.9 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\Button;
7 use YayMail\Elements\Column;
8 use YayMail\Elements\ColumnLayout;
9 use YayMail\Elements\FeaturedProducts;
10 use YayMail\Elements\Heading;
11 use YayMail\Elements\Image;
12 use YayMail\Elements\Logo;
13 use YayMail\Elements\SocialIcon;
14 use YayMail\Elements\Text;
15 use YayMail\Utils\SingletonTrait;
16
17 /**
18 * Processing 10 template for customer_processing_order email.
19 * Generated by tools/yaymail-template-gen — review/tweak values as needed.
20 */
21 // class Processing10 extends BaseTemplate {
22 // use SingletonTrait;
23
24 // public function __construct() {
25 // parent::__construct();
26 // $this->id = 'processing_order_v10';
27 // $this->email_type = 'customer_processing_order';
28 // $this->name = 'Processing 10';
29 // $this->description = 'Dark flash sale hero with lavender product grid and new arrivals gallery';
30 // $this->access = 'free';
31 // $this->elements = [
32 // ColumnLayout::get_object_data(
33 // 4,
34 // [
35 // 'children' => [
36 // Column::get_object_data(
37 // 29,
38 // [
39 // 'children' => [
40 // Logo::get_object_data(
41 // [
42 // 'padding' => [
43 // 'top' => '10',
44 // 'right' => '10',
45 // 'bottom' => '10',
46 // 'left' => '0',
47 // ],
48 // 'background_color' => '#080808',
49 // 'src' => 'https://images.wpbrandy.com/uploads/woo-green-logo-1.png',
50 // 'align' => 'left',
51 // 'width' => 94,
52 // 'alt' => 'Store logo',
53 // ]
54 // ),
55 // ],
56 // ]
57 // ),
58 // Column::get_object_data(
59 // 34.49,
60 // [
61 // 'children' => [
62 // Text::get_object_data(
63 // [
64 // 'padding' => [
65 // 'top' => '15',
66 // 'right' => '0',
67 // 'bottom' => '15',
68 // 'left' => '0',
69 // ],
70 // 'background_color' => '#080808',
71 // 'font_family' => 'Tahoma, Geneva, sans-serif',
72 // 'text_color' => '#ffffff',
73 // 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px">My Account</span></p>',
74 // ]
75 // ),
76 // ],
77 // ]
78 // ),
79 // Column::get_object_data(
80 // 27.76,
81 // [
82 // 'children' => [
83 // Text::get_object_data(
84 // [
85 // 'padding' => [
86 // 'top' => '15',
87 // 'right' => '0',
88 // 'bottom' => '15',
89 // 'left' => '0',
90 // ],
91 // 'background_color' => '#080808',
92 // 'font_family' => 'Tahoma, Geneva, sans-serif',
93 // 'text_color' => '#ffffff',
94 // 'rich_text' => '<p style="text-align: center"><span style="font-size: 14px">Order Tracking</span></p>',
95 // ]
96 // ),
97 // ],
98 // ]
99 // ),
100 // Column::get_object_data(
101 // 8.75,
102 // [
103 // 'children' => [
104 // Text::get_object_data(
105 // [
106 // 'padding' => [
107 // 'top' => '15',
108 // 'right' => '2',
109 // 'bottom' => '15',
110 // 'left' => '0',
111 // ],
112 // 'background_color' => '#080808',
113 // 'font_family' => 'Tahoma, Geneva, sans-serif',
114 // 'text_color' => '#ffffff',
115 // 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px">Contact</span></p>',
116 // ]
117 // ),
118 // ],
119 // ]
120 // ),
121 // ],
122 // 'padding' => [
123 // 'top' => '20',
124 // 'right' => '50',
125 // 'bottom' => '20',
126 // 'left' => '50',
127 // ],
128 // 'background_color' => '#080808',
129 // ]
130 // ),
131 // ColumnLayout::get_object_data(
132 // 1,
133 // [
134 // 'children' => [
135 // Column::get_object_data(
136 // 100,
137 // [
138 // 'children' => [
139 // Heading::get_object_data(
140 // [
141 // 'padding' => [
142 // 'top' => '0',
143 // 'right' => '0',
144 // 'bottom' => '16',
145 // 'left' => '0',
146 // ],
147 // 'background_color' => '#08080800',
148 // 'font_family' => 'Tahoma, Geneva, sans-serif',
149 // 'rich_text' => '<h1 style="font-size: 56px;font-weight: 800;color: #ffffff;margin: 0px;line-height: 1 !important;text-align: left"><span style="font-size: 96px">FLASH⚡</span></h1>',
150 // ]
151 // ),
152 // Heading::get_object_data(
153 // [
154 // 'padding' => [
155 // 'top' => '0',
156 // 'right' => '0',
157 // 'bottom' => '16',
158 // 'left' => '0',
159 // ],
160 // 'background_color' => '#08080800',
161 // 'font_family' => 'Tahoma, Geneva, sans-serif',
162 // 'rich_text' => '<h1 style="font-size: 56px;font-weight: 800;color: #ffffff;margin: 0px;line-height: 1 !important;text-align: left"><span style="font-size: 120px">FRIDAY</span></h1>',
163 // ]
164 // ),
165 // Text::get_object_data(
166 // [
167 // 'padding' => [
168 // 'top' => '0',
169 // 'right' => '0',
170 // 'bottom' => 0,
171 // 'left' => '0',
172 // ],
173 // 'background_color' => '#1a1a1a',
174 // 'font_family' => 'Tahoma, Geneva, sans-serif',
175 // 'text_color' => '#ffffff',
176 // 'rich_text' => '<p style="text-align: left"><span style="font-size: 20px;font-weight: 400">UP TO 70% OFF - BEST FASHION COLLECTION</span></p>',
177 // ]
178 // ),
179 // Text::get_object_data(
180 // [
181 // 'padding' => [
182 // 'top' => 15,
183 // 'right' => '0',
184 // 'bottom' => 20,
185 // 'left' => '0',
186 // ],
187 // 'background_color' => '#1a1a1a',
188 // 'font_family' => 'Tahoma, Geneva, sans-serif',
189 // 'text_color' => '#ffffff',
190 // 'rich_text' => '<p style="text-align: left"><span style="font-size: 16px">Promotion 12 May - 1 Jun</span></p>',
191 // ]
192 // ),
193 // ],
194 // ]
195 // ),
196 // ],
197 // 'padding' => [
198 // 'top' => 35,
199 // 'right' => '50',
200 // 'bottom' => '0',
201 // 'left' => '50',
202 // ],
203 // 'background_color' => '#1A1A1A',
204 // ]
205 // ),
206 // ColumnLayout::get_object_data(
207 // 2,
208 // [
209 // 'children' => [
210 // Column::get_object_data(
211 // 50,
212 // [
213 // 'children' => [
214 // Image::get_object_data(
215 // [
216 // 'padding' => [
217 // 'top' => '0',
218 // 'right' => '0',
219 // 'bottom' => '0',
220 // 'left' => '0',
221 // ],
222 // 'background_color' => '#1A1A1A00',
223 // 'src' => 'https://images.wpbrandy.com/uploads/processing-10-img-1.png',
224 // 'full_width' => true,
225 // 'alt' => 'Fashion model trench coat',
226 // ]
227 // ),
228 // ],
229 // ]
230 // ),
231 // Column::get_object_data(
232 // 50,
233 // [
234 // 'children' => [
235 // Image::get_object_data(
236 // [
237 // 'padding' => [
238 // 'top' => '0',
239 // 'right' => '0',
240 // 'bottom' => '0',
241 // 'left' => '0',
242 // ],
243 // 'background_color' => '#1A1A1A00',
244 // 'src' => 'https://images.wpbrandy.com/uploads/processing-10-img-2.png',
245 // 'full_width' => true,
246 // 'alt' => 'Fashion model puffer jacket',
247 // ]
248 // ),
249 // ],
250 // ]
251 // ),
252 // ],
253 // 'column_spacing' => 0,
254 // 'padding' => [
255 // 'top' => 2,
256 // 'right' => 0,
257 // 'bottom' => 2,
258 // 'left' => 0,
259 // ],
260 // 'background_color' => '#1A1A1A',
261 // ]
262 // ),
263 // Text::get_object_data(
264 // [
265 // 'padding' => [
266 // 'top' => 25,
267 // 'right' => '50',
268 // 'bottom' => 25,
269 // 'left' => '50',
270 // ],
271 // 'background_color' => '#1A1A1A',
272 // 'font_family' => 'Tahoma, Geneva, sans-serif',
273 // 'text_color' => '#ffffff',
274 // 'rich_text' => '<p style="text-align: center"><span style="font-size: 30px;font-weight: 400">2026 SPRING / SUMMER COLLECTION</span></p>',
275 // ]
276 // ),
277 // ColumnLayout::get_object_data(
278 // 1,
279 // [
280 // 'children' => [
281 // Column::get_object_data(
282 // 100,
283 // [
284 // 'children' => [
285 // FeaturedProducts::get_object_data(
286 // [
287 // 'padding' => [
288 // 'top' => '0',
289 // 'right' => '0',
290 // 'bottom' => '24',
291 // 'left' => '0',
292 // ],
293 // 'background_color' => '#868ed4',
294 // 'text_color' => '#ffffff',
295 // 'font_family' => 'Tahoma, Geneva, sans-serif',
296 // 'showing_items' => [
297 // 'product_image',
298 // 'product_name',
299 // 'product_price',
300 // 'product_original_price',
301 // 'top_content',
302 // ],
303 // 'top_content' => '<p style="text-align: center;"><span style="font-size: 30px;"><strong>You might also like to try</strong></span></p>
304 // <p style="text-align: center;">Check out other products in our store that you might like</p>
305 // <br>',
306 // 'sale_price_color' => '#ffffff',
307 // 'regular_price_color' => '#E0E0E0',
308 // 'products_per_row' => '2',
309 // 'product_type' => 'on_sale',
310 // 'number_of_products' => 4,
311 // ]
312 // ),
313 // Button::get_object_data(
314 // [
315 // 'padding' => [
316 // 'top' => '0',
317 // 'right' => '0',
318 // 'bottom' => '0',
319 // 'left' => '0',
320 // ],
321 // 'background_color' => '#929AD300',
322 // 'button_background_color' => '#d5f381',
323 // 'text_color' => '#1A1A1A',
324 // 'border' => [
325 // 'side' => 'custom',
326 // 'width' => '1',
327 // 'style' => 'solid',
328 // 'color' => '#000000',
329 // 'custom' => [
330 // 'top' => '1',
331 // 'right' => 3,
332 // 'bottom' => 3,
333 // 'left' => '1',
334 // ],
335 // ],
336 // 'border_radius' => [
337 // 'top_left' => '0',
338 // 'top_right' => '0',
339 // 'bottom_right' => 0,
340 // 'bottom_left' => '0',
341 // ],
342 // 'text' => 'View all products',
343 // 'font_size' => '14',
344 // 'weight' => '700',
345 // 'font_family' => 'Tahoma, Geneva, sans-serif',
346 // ]
347 // ),
348 // ],
349 // ]
350 // ),
351 // ],
352 // 'padding' => [
353 // 'top' => '40',
354 // 'right' => '50',
355 // 'bottom' => '40',
356 // 'left' => '50',
357 // ],
358 // 'background_color' => '#868ed4',
359 // ]
360 // ),
361 // ColumnLayout::get_object_data(
362 // 1,
363 // [
364 // 'children' => [
365 // Column::get_object_data(
366 // 100,
367 // [
368 // 'children' => [
369 // FeaturedProducts::get_object_data(
370 // [
371 // 'padding' => [
372 // 'top' => '15',
373 // 'right' => 0,
374 // 'bottom' => '15',
375 // 'left' => 0,
376 // ],
377 // 'background_color' => '#1a1a1a',
378 // 'text_color' => '#ffffff',
379 // 'font_family' => 'Tahoma, Geneva, sans-serif',
380 // 'showing_items' => [
381 // 'top_content',
382 // 'product_image',
383 // ],
384 // 'top_content' => '<p style="text-align: center;"><span style="font-weight: bold;">The best of</span></p>
385 // <p style="text-align: center;"><span style="font-size: 30px; font-weight: bold;"><strong style="text-align: center;">New arrivals</strong></span></p>
386 // </br>',
387 // 'products_per_row' => 6,
388 // 'number_of_products' => 6,
389 // ]
390 // ),
391 // ],
392 // ]
393 // ),
394 // ],
395 // 'column_spacing' => 0,
396 // 'padding' => [
397 // 'top' => 25,
398 // 'right' => '50',
399 // 'bottom' => 25,
400 // 'left' => '50',
401 // ],
402 // 'background_color' => '#1A1A1A',
403 // ]
404 // ),
405 // ColumnLayout::get_object_data(
406 // 1,
407 // [
408 // 'children' => [
409 // Column::get_object_data(
410 // 100,
411 // [
412 // 'children' => [
413 // Text::get_object_data(
414 // [
415 // 'padding' => [
416 // 'top' => '0',
417 // 'right' => '0',
418 // 'bottom' => '0',
419 // 'left' => '0',
420 // ],
421 // 'background_color' => '#929AD3',
422 // 'font_family' => 'Tahoma, Geneva, sans-serif',
423 // 'text_color' => '#ffffff',
424 // 'rich_text' => '<p style="text-align: center"><span style="font-size: 16px">For questions, contact hi@yourwoostore.com, visit our <u>FAQs</u>, or <u>chat</u> with us during operating hours for account support</span></p>',
425 // ]
426 // ),
427 // SocialIcon::get_object_data(
428 // [
429 // 'padding' => [
430 // 'top' => '20',
431 // 'right' => '0',
432 // 'bottom' => '16',
433 // 'left' => '0',
434 // ],
435 // 'background_color' => '#929AD3',
436 // 'width_icon' => '32',
437 // 'spacing' => '12',
438 // 'icon_list' => [
439 // [
440 // 'icon' => 'facebook',
441 // 'url' => '#',
442 // ],
443 // [
444 // 'icon' => 'instagram',
445 // 'url' => '#',
446 // ],
447 // [
448 // 'icon' => 'tiktok',
449 // 'url' => '#',
450 // ],
451 // [
452 // 'icon' => 'youtube',
453 // 'url' => '#',
454 // ],
455 // ],
456 // ]
457 // ),
458 // Text::get_object_data(
459 // [
460 // 'padding' => [
461 // 'top' => '0',
462 // 'right' => '0',
463 // 'bottom' => '0',
464 // 'left' => '0',
465 // ],
466 // 'background_color' => '#929AD3',
467 // 'font_family' => 'Tahoma, Geneva, sans-serif',
468 // 'text_color' => '#ffffff',
469 // 'rich_text' => '<p style="text-align: center"><span style="font-size: 12px;font-weight: 400">© 2026 WooCommerce</span></p>',
470 // ]
471 // ),
472 // ],
473 // ]
474 // ),
475 // ],
476 // 'padding' => [
477 // 'top' => '32',
478 // 'right' => '50',
479 // 'bottom' => '32',
480 // 'left' => '50',
481 // ],
482 // 'background_color' => '#929AD3',
483 // ]
484 // ),
485 // ];
486 // }
487 // }
488