id = 'processing_order_modern'; $this->email_type = 'customer_processing_order'; $this->name = 'Modern'; $this->description = 'Clean layout with plenty of whitespace'; $this->elements = [ Text::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 15, 'right' => '50', 'bottom' => 0, 'left' => '50', ], 'background_color' => '#fff', 'border' => [ 'side' => 'none', 'width' => '1', 'style' => 'solid', 'color' => '#e5e5e5', 'custom' => [ 'top' => '1', 'right' => '1', 'bottom' => '1', 'left' => '1', ], ], 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'font_family' => 'Helvetica,Roboto,Arial,sans-serif', 'text_color' => '#720eec', 'rich_text' => '
[yaymail_site_name]
', ] ), Heading::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => '50', 'bottom' => '15', 'left' => '50', ], 'background_color' => '#fff', 'border' => [ 'side' => 'none', 'width' => '1', 'style' => 'solid', 'color' => '#e5e5e5', 'custom' => [ 'top' => '1', 'right' => '1', 'bottom' => '1', 'left' => '1', ], ], 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'font_family' => 'Helvetica,Roboto,Arial,sans-serif', 'text_color' => '#3c3c3c', 'rich_text' => 'Hi [yaymail_billing_first_name],
Just to let you know — we’ve received your order, and it is now being processed.
Here\'s a reminder of what you\'ve ordered:
', ] ), OrderDetails::get_object_data( [ 'rich_text' => '[yaymail_order_details]', 'payment_instructions' => '[yaymail_payment_instructions]', 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => '50', 'bottom' => '15', 'left' => '50', ], 'background_color' => '#fff', 'border' => [ 'side' => 'none', 'width' => '1', 'style' => 'solid', 'color' => '#e5e5e5', 'custom' => [ 'top' => '1', 'right' => '1', 'bottom' => '1', 'left' => '1', ], ], 'table_setting_breaker' => [ 'component' => 'LineBreaker', ], 'table_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Table settings', 'description' => 'Handle table settings', ], 'layout_type' => 'modern', 'title' => 'Order summary
Order #[yaymail_order_number is_plain="true"] ([yaymail_order_date])
', 'title_color' => '#3c3c3c', 'text_color' => '#636363', 'border_color' => '#e5e5e5', 'font_family' => 'Helvetica,Roboto,Arial,sans-serif', 'table_content_font_size' => 16, 'table_heading_line_breaker' => [ 'component' => 'LineBreaker', ], 'table_heading_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Table heading settings', 'description' => 'Handle table heading settings', ], 'table_heading_font_size' => 16, 'show_table_header' => 1, '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: [yaymail_shipping_method]', 'discount_title' => 'Discount:', 'custom_footer_rows_breaker' => [ 'component' => 'LineBreaker', ], 'custom_footer_rows_group' => [ 'component' => 'GroupDefinition', 'title' => 'Custom Footer Rows', 'description' => 'Add custom rows to the order totals footer', ], 'custom_footer_rows' => [], ] ), BillingShippingAddress::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => '50', 'bottom' => '15', 'left' => '50', ], 'background_color' => '#fff', 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'layout_type' => 'modern', 'title_color' => '#3c3c3c', '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( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '0', 'right' => '50', 'bottom' => 15, 'left' => '50', ], 'background_color' => '#fff', 'border' => [ 'side' => 'none', 'width' => '1', 'style' => 'solid', 'color' => '#e5e5e5', 'custom' => [ 'top' => '1', 'right' => '1', 'bottom' => '1', 'left' => '1', ], ], 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'font_family' => 'Helvetica,Roboto,Arial,sans-serif', 'text_color' => '#636363', 'rich_text' => 'Thanks again! If you need any help with your order, please contact us at [yaymail_store_email]
', ] ), Divider::get_object_data( [ 'align' => 'center', 'padding' => [ 'top' => '15', 'right' => 0, 'bottom' => '15', 'left' => 0, ], 'width' => '100', 'height' => 1, 'background_color' => '#ffffff', 'divider_color' => '#00000033', 'divider_type' => 'solid', ] ), Footer::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => '50', 'bottom' => '15', 'left' => '50', ], 'background_color' => '#ffffff', 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'text_color' => '#8a8a8a', 'font_family' => 'Helvetica,Roboto,Arial,sans-serif', 'rich_text' => '[yaymail_site_name] - Built with WooCommerce
', ] ), ]; } }