| 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\Logo; |
| 12 |
use YayMail\Elements\SocialIcon; |
| 13 |
use YayMail\Elements\Text; |
| 14 |
use YayMail\Utils\SingletonTrait; |
| 15 |
|
| 16 |
/** |
| 17 |
* Processing 8 template for customer_processing_order email. |
| 18 |
* Generated by tools/yaymail-template-gen — review/tweak values as needed. |
| 19 |
*/ |
| 20 |
// class Processing8 extends BaseTemplate { |
| 21 |
// use SingletonTrait; |
| 22 |
|
| 23 |
// public function __construct() { |
| 24 |
// parent::__construct(); |
| 25 |
// $this->id = 'processing_order_v8'; |
| 26 |
// $this->email_type = 'customer_processing_order'; |
| 27 |
// $this->name = 'Processing 8'; |
| 28 |
// $this->description = 'Processing 8 template for Processing Order email.'; |
| 29 |
// $this->access = 'free'; |
| 30 |
// $this->elements = [ |
| 31 |
// ColumnLayout::get_object_data( |
| 32 |
// 4, |
| 33 |
// [ |
| 34 |
// 'children' => [ |
| 35 |
// Column::get_object_data( |
| 36 |
// 29, |
| 37 |
// [ |
| 38 |
// 'children' => [ |
| 39 |
// Logo::get_object_data( |
| 40 |
// [ |
| 41 |
// 'padding' => [ |
| 42 |
// 'top' => '10', |
| 43 |
// 'right' => '10', |
| 44 |
// 'bottom' => '10', |
| 45 |
// 'left' => '0', |
| 46 |
// ], |
| 47 |
// 'background_color' => '#00000000', |
| 48 |
// 'src' => 'https://images.wpbrandy.com/uploads/woo-green-logo-1.png', |
| 49 |
// 'align' => 'left', |
| 50 |
// 'width' => '116', |
| 51 |
// 'alt' => 'Store logo', |
| 52 |
// ] |
| 53 |
// ), |
| 54 |
// ], |
| 55 |
// ] |
| 56 |
// ), |
| 57 |
// Column::get_object_data( |
| 58 |
// 34.49, |
| 59 |
// [ |
| 60 |
// 'children' => [ |
| 61 |
// Text::get_object_data( |
| 62 |
// [ |
| 63 |
// 'padding' => [ |
| 64 |
// 'top' => '15', |
| 65 |
// 'right' => '0', |
| 66 |
// 'bottom' => '15', |
| 67 |
// 'left' => '0', |
| 68 |
// ], |
| 69 |
// 'background_color' => '#000000', |
| 70 |
// 'font_family' => '"Lucida Console", Monaco, monospace', |
| 71 |
// 'text_color' => '#ffffff', |
| 72 |
// 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px;font-weight: 400">My Account</span></p>', |
| 73 |
// ] |
| 74 |
// ), |
| 75 |
// ], |
| 76 |
// ] |
| 77 |
// ), |
| 78 |
// Column::get_object_data( |
| 79 |
// 27.76, |
| 80 |
// [ |
| 81 |
// 'children' => [ |
| 82 |
// Text::get_object_data( |
| 83 |
// [ |
| 84 |
// 'padding' => [ |
| 85 |
// 'top' => '15', |
| 86 |
// 'right' => '0', |
| 87 |
// 'bottom' => '15', |
| 88 |
// 'left' => '0', |
| 89 |
// ], |
| 90 |
// 'background_color' => '#000000', |
| 91 |
// 'font_family' => '"Lucida Console", Monaco, monospace', |
| 92 |
// 'text_color' => '#ffffff', |
| 93 |
// 'rich_text' => '<p style="text-align: center"><span style="font-size: 14px;font-weight: 400">Order Tracking</span></p>', |
| 94 |
// ] |
| 95 |
// ), |
| 96 |
// ], |
| 97 |
// ] |
| 98 |
// ), |
| 99 |
// Column::get_object_data( |
| 100 |
// 8.75, |
| 101 |
// [ |
| 102 |
// 'children' => [ |
| 103 |
// Text::get_object_data( |
| 104 |
// [ |
| 105 |
// 'padding' => [ |
| 106 |
// 'top' => '15', |
| 107 |
// 'right' => '2', |
| 108 |
// 'bottom' => '15', |
| 109 |
// 'left' => '0', |
| 110 |
// ], |
| 111 |
// 'background_color' => '#000000', |
| 112 |
// 'font_family' => '"Lucida Console", Monaco, monospace', |
| 113 |
// 'text_color' => '#ffffff', |
| 114 |
// 'rich_text' => '<p style="text-align: right"><span style="font-size: 14px;font-weight: 400">Contact</span></p>', |
| 115 |
// ] |
| 116 |
// ), |
| 117 |
// ], |
| 118 |
// ] |
| 119 |
// ), |
| 120 |
// ], |
| 121 |
// 'padding' => [ |
| 122 |
// 'top' => '20', |
| 123 |
// 'right' => '50', |
| 124 |
// 'bottom' => '20', |
| 125 |
// 'left' => '50', |
| 126 |
// ], |
| 127 |
// 'background_color' => '#000000', |
| 128 |
// ] |
| 129 |
// ), |
| 130 |
// ColumnLayout::get_object_data( |
| 131 |
// 1, |
| 132 |
// [ |
| 133 |
// 'children' => [ |
| 134 |
// Column::get_object_data( |
| 135 |
// 100, |
| 136 |
// [ |
| 137 |
// 'children' => [ |
| 138 |
// Heading::get_object_data( |
| 139 |
// [ |
| 140 |
// 'padding' => [ |
| 141 |
// 'top' => 60, |
| 142 |
// 'right' => '0', |
| 143 |
// 'bottom' => 160, |
| 144 |
// 'left' => '0', |
| 145 |
// ], |
| 146 |
// 'background_color' => '#1A1A1A00', |
| 147 |
// 'font_family' => 'Georgia, serif', |
| 148 |
// 'text_color' => '#d5f381', |
| 149 |
// 'rich_text' => '<p style="font-size: 56px;font-weight: bold;line-height: 1 !important;margin: 0"><span style="font-size: 120px">BLACK</span><br /><span style="font-size: 120px">FRIDAY</span></p>', |
| 150 |
// ] |
| 151 |
// ), |
| 152 |
// Text::get_object_data( |
| 153 |
// [ |
| 154 |
// 'padding' => [ |
| 155 |
// 'top' => '0', |
| 156 |
// 'right' => 30, |
| 157 |
// 'bottom' => 0, |
| 158 |
// 'left' => '0', |
| 159 |
// ], |
| 160 |
// 'background_color' => '#1A1A1A00', |
| 161 |
// 'font_family' => '"Arial Black", Gadget, sans-serif', |
| 162 |
// 'text_color' => '#ffffff', |
| 163 |
// 'rich_text' => '<p style="text-align: right"><span style="font-size: 96px;font-weight: 800">-50%</span></p>', |
| 164 |
// ] |
| 165 |
// ), |
| 166 |
// Button::get_object_data( |
| 167 |
// [ |
| 168 |
// 'padding' => [ |
| 169 |
// 'top' => '0', |
| 170 |
// 'right' => '0', |
| 171 |
// 'bottom' => '0', |
| 172 |
// 'left' => '0', |
| 173 |
// ], |
| 174 |
// 'background_color' => '#1A1A1A00', |
| 175 |
// 'align' => 'right', |
| 176 |
// 'width' => '50%', |
| 177 |
// 'height' => 19, |
| 178 |
// 'button_background_color' => '#d5f381', |
| 179 |
// 'text_color' => '#000000', |
| 180 |
// 'border_radius' => [ |
| 181 |
// 'top_left' => '0', |
| 182 |
// 'top_right' => '0', |
| 183 |
// 'bottom_right' => '0', |
| 184 |
// 'bottom_left' => '0', |
| 185 |
// ], |
| 186 |
// 'text' => 'SHOP NOW', |
| 187 |
// 'font_size' => 16, |
| 188 |
// 'weight' => '700', |
| 189 |
// 'font_family' => 'Georgia, serif', |
| 190 |
// ] |
| 191 |
// ), |
| 192 |
// ], |
| 193 |
// ] |
| 194 |
// ), |
| 195 |
// ], |
| 196 |
// 'padding' => [ |
| 197 |
// 'top' => 0, |
| 198 |
// 'right' => '50', |
| 199 |
// 'bottom' => 27, |
| 200 |
// 'left' => '50', |
| 201 |
// ], |
| 202 |
// 'background_color' => '#1A1A1A', |
| 203 |
// 'background_image' => [ |
| 204 |
// 'url' => 'https://images.wpbrandy.com/uploads/processing-8-img-3.webp', |
| 205 |
// 'position' => 'bottom_left', |
| 206 |
// 'x_position' => -1, |
| 207 |
// 'y_position' => 100, |
| 208 |
// 'repeat' => 'no-repeat', |
| 209 |
// 'size' => 'custom', |
| 210 |
// 'custom_size' => 83, |
| 211 |
// ], |
| 212 |
// ] |
| 213 |
// ), |
| 214 |
// ColumnLayout::get_object_data( |
| 215 |
// 1, |
| 216 |
// [ |
| 217 |
// 'children' => [ |
| 218 |
// Column::get_object_data( |
| 219 |
// 100, |
| 220 |
// [ |
| 221 |
// 'children' => [ |
| 222 |
// FeaturedProducts::get_object_data( |
| 223 |
// [ |
| 224 |
// 'padding' => [ |
| 225 |
// 'top' => 0, |
| 226 |
// 'right' => '0', |
| 227 |
// 'bottom' => 0, |
| 228 |
// 'left' => '0', |
| 229 |
// ], |
| 230 |
// 'background_color' => '#00000000', |
| 231 |
// 'text_color' => '#ffffff', |
| 232 |
// 'font_family' => 'Georgia, serif', |
| 233 |
// 'showing_items' => [ |
| 234 |
// 'product_image', |
| 235 |
// 'product_name', |
| 236 |
// 'product_price', |
| 237 |
// 'top_content', |
| 238 |
// ], |
| 239 |
// 'top_content' => '<p style="text-align: center;"><span style="font-size: 24px;"><strong>You might also like to try</strong></span></p> |
| 240 |
// <p style="text-align: center;"><span style="font-weight: 400;">Check out other products in our store that you might like</span></p>', |
| 241 |
// 'sale_price_color' => '#ffffff', |
| 242 |
// 'regular_price_color' => '#B0B0B0', |
| 243 |
// 'products_per_row' => '2', |
| 244 |
// 'number_of_products' => 4, |
| 245 |
// ] |
| 246 |
// ), |
| 247 |
// Button::get_object_data( |
| 248 |
// [ |
| 249 |
// 'padding' => [ |
| 250 |
// 'top' => 10, |
| 251 |
// 'right' => '0', |
| 252 |
// 'bottom' => 10, |
| 253 |
// 'left' => '0', |
| 254 |
// ], |
| 255 |
// 'background_color' => '#0F162900', |
| 256 |
// 'button_background_color' => '#d5f381', |
| 257 |
// 'text_color' => '#1a1a1a', |
| 258 |
// 'border_radius' => [ |
| 259 |
// 'top_left' => '0', |
| 260 |
// 'top_right' => '0', |
| 261 |
// 'bottom_right' => '0', |
| 262 |
// 'bottom_left' => '0', |
| 263 |
// ], |
| 264 |
// 'text' => 'View all products', |
| 265 |
// 'font_size' => '14', |
| 266 |
// 'weight' => '700', |
| 267 |
// 'font_family' => '"Rethink Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif', |
| 268 |
// ] |
| 269 |
// ), |
| 270 |
// ], |
| 271 |
// ] |
| 272 |
// ), |
| 273 |
// ], |
| 274 |
// 'padding' => [ |
| 275 |
// 'top' => '48', |
| 276 |
// 'right' => '50', |
| 277 |
// 'bottom' => '48', |
| 278 |
// 'left' => '50', |
| 279 |
// ], |
| 280 |
// 'background_color' => '#0F1629', |
| 281 |
// 'background_image' => [ |
| 282 |
// 'url' => 'https://images.wpbrandy.com/uploads/processing-8-img-2.png', |
| 283 |
// 'position' => 'center_center', |
| 284 |
// 'size' => 'cover', |
| 285 |
// 'repeat' => 'repeat', |
| 286 |
// ], |
| 287 |
// ] |
| 288 |
// ), |
| 289 |
// ColumnLayout::get_object_data( |
| 290 |
// 1, |
| 291 |
// [ |
| 292 |
// 'children' => [ |
| 293 |
// Column::get_object_data( |
| 294 |
// 100, |
| 295 |
// [ |
| 296 |
// 'children' => [ |
| 297 |
// Text::get_object_data( |
| 298 |
// [ |
| 299 |
// 'padding' => [ |
| 300 |
// 'top' => '0', |
| 301 |
// 'right' => '0', |
| 302 |
// 'bottom' => '0', |
| 303 |
// 'left' => '0', |
| 304 |
// ], |
| 305 |
// 'background_color' => '#ffffff', |
| 306 |
// 'font_family' => 'Georgia, serif', |
| 307 |
// 'text_color' => '#1a1a1a', |
| 308 |
// 'rich_text' => '<p style="text-align: center"><span style="font-size: 14px">For questions, contact <u>hi@yourwoostore.com</u>, visit our <u>FAQs</u>, or <u>chat</u> with us during operating hours for account support</span></p>', |
| 309 |
// ] |
| 310 |
// ), |
| 311 |
// SocialIcon::get_object_data( |
| 312 |
// [ |
| 313 |
// 'padding' => [ |
| 314 |
// 'top' => '20', |
| 315 |
// 'right' => '0', |
| 316 |
// 'bottom' => '16', |
| 317 |
// 'left' => '0', |
| 318 |
// ], |
| 319 |
// 'background_color' => '#ffffff', |
| 320 |
// 'width_icon' => '32', |
| 321 |
// 'spacing' => '12', |
| 322 |
// 'icon_list' => [ |
| 323 |
// [ |
| 324 |
// 'icon' => 'facebook', |
| 325 |
// 'url' => '#', |
| 326 |
// ], |
| 327 |
// [ |
| 328 |
// 'icon' => 'instagram', |
| 329 |
// 'url' => '#', |
| 330 |
// ], |
| 331 |
// [ |
| 332 |
// 'icon' => 'tiktok', |
| 333 |
// 'url' => '#', |
| 334 |
// ], |
| 335 |
// [ |
| 336 |
// 'icon' => 'youtube', |
| 337 |
// 'url' => '#', |
| 338 |
// ], |
| 339 |
// ], |
| 340 |
// ] |
| 341 |
// ), |
| 342 |
// Text::get_object_data( |
| 343 |
// [ |
| 344 |
// 'padding' => [ |
| 345 |
// 'top' => '0', |
| 346 |
// 'right' => '0', |
| 347 |
// 'bottom' => '0', |
| 348 |
// 'left' => '0', |
| 349 |
// ], |
| 350 |
// 'background_color' => '#ffffff', |
| 351 |
// 'font_family' => 'Georgia, serif', |
| 352 |
// 'text_color' => '#1a1a1a', |
| 353 |
// 'rich_text' => '<p style="text-align: center"><span style="font-size: 12px">© 2021 WooCommerce</span></p>', |
| 354 |
// ] |
| 355 |
// ), |
| 356 |
// ], |
| 357 |
// ] |
| 358 |
// ), |
| 359 |
// ], |
| 360 |
// 'padding' => [ |
| 361 |
// 'top' => '32', |
| 362 |
// 'right' => '50', |
| 363 |
// 'bottom' => '32', |
| 364 |
// 'left' => '50', |
| 365 |
// ], |
| 366 |
// 'background_color' => '#ffffff', |
| 367 |
// ] |
| 368 |
// ), |
| 369 |
// ]; |
| 370 |
// } |
| 371 |
// } |
| 372 |
|