id = 'processing_order_classic';
$this->email_type = 'customer_processing_order';
$this->name = 'Classic';
$this->description = 'Clean layout with plenty of whitespace';
$this->elements = [
Logo::get_object_data(
[
'align' => 'center',
'padding' => [
'top' => '15',
'right' => '50',
'bottom' => '15',
'left' => '50',
],
'src' => YAYMAIL_PLUGIN_URL . 'assets/images/woocommerce-logo.png',
'width' => '172',
'background_color' => '#f9f9f9',
'url' => '#',
'alt' => '',
]
),
Heading::get_object_data(
[
'global_header' => '',
'padding' => [
'top' => '40',
'right' => '50',
'bottom' => '40',
'left' => '50',
],
'background_color' => '#873EFF',
'text_color' => '#ffffff',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'rich_text' => '
Thank you for your order
',
]
),
Text::get_object_data(
[
'padding' => [
'top' => '15',
'right' => '50',
'bottom' => '15',
'left' => '50',
],
'background_color' => '#fff',
'text_color' => '#636363',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'rich_text' => 'Hi [yaymail_billing_first_name],
Just to let you know — we've received your order #[yaymail_order_number], and it is now being processed:
',
]
),
OrderDetails::get_object_data(
[
'padding' => [
'top' => '15',
'right' => '50',
'bottom' => '15',
'left' => '50',
],
'background_color' => '#fff',
'title_color' => '#873EFF',
'text_color' => '#636363',
'border_color' => '#e5e5e5',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'rich_text' => '[yaymail_order_details]',
'payment_instructions' => '[yaymail_payment_instructions]',
'title' => 'Order #[yaymail_order_number] ([yaymail_order_date])',
'product_title' => 'Product',
'cost_title' => 'Cost',
'quantity_title' => 'Quantity',
'price_title' => 'Price',
'cart_subtotal_title' => 'Subtotal:',
'payment_method_title' => 'Payment method:',
'order_total_title' => 'Total:',
'order_note_title' => 'Note:',
'shipping_title' => 'Shipping:',
'discount_title' => 'Discount:',
]
),
BillingShippingAddress::get_object_data(
[
'padding' => [
'top' => '15',
'right' => '50',
'bottom' => '15',
'left' => '50',
],
'background_color' => '#fff',
'title_color' => '#873EFF',
'text_color' => '#636363',
'border_color' => '#e5e5e5',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'billing_title' => 'Billing Address',
'shipping_title' => 'Shipping Address',
'shipping_address_content' => '[yaymail_shipping_address]',
'billing_address_content' => '[yaymail_billing_address]',
]
),
Text::get_object_data(
[
'padding' => [
'top' => '0',
'right' => '50',
'bottom' => '38',
'left' => '50',
],
'background_color' => '#fff',
'text_color' => '#636363',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'rich_text' => 'Thanks for using [yaymail_site_url]!
',
]
),
Footer::get_object_data(
[
'padding' => [
'top' => '15',
'right' => '50',
'bottom' => '15',
'left' => '50',
],
'background_color' => '#f9f9f9',
'text_color' => '#8a8a8a',
'font_family' => 'Helvetica,Roboto,Arial,sans-serif',
'rich_text' => '[yaymail_site_name] - Built with WooCommerce
',
]
),
];
}
}