id = 'completed_order_v6'; $this->email_type = 'customer_completed_order'; $this->name = 'Completed Order v6'; $this->description = 'Clean layout with plenty of whitespace'; $this->elements = [ ColumnLayout::get_object_data( 1, [ 'column_width' => [], 'column_spacing' => '0', 'vertical_align' => 'top', 'container_setting_breaker' => [ 'component' => 'LineBreaker', ], 'container_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container layout settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => '0', 'bottom' => '15', 'left' => '0', ], 'border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'background_color' => '#ffffff00', 'background_image' => [ 'url' => 'https://images.wpbrandy.com/uploads/completed-6-img-2.png', 'position' => 'default', 'x_position' => 0, 'y_position' => 0, 'repeat' => 'no-repeat', 'size' => 'cover', ], 'inner_setting_breaker' => [ 'component' => 'LineBreaker', ], 'inner_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Inner layout settings', 'description' => 'Handle inner layout settings', ], 'inner_border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'inner_background_color' => '#ffffff00', 'column_borders' => [ 'component' => 'ColumnBorders', 'title' => 'Column borders', ], 'children' => [ Column::get_object_data( 100, [ 'children' => [ ColumnLayout::get_object_data( 4, [ 'column_width' => [], 'column_spacing' => '0', 'vertical_align' => 'top', 'container_setting_breaker' => [ 'component' => 'LineBreaker', ], 'container_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container layout settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => 50, 'bottom' => '15', 'left' => 50, ], 'border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'background_color' => '#ffffff00', 'background_image' => [ 'url' => '', 'position' => 'default', 'x_position' => 0, 'y_position' => 0, 'repeat' => 'default', 'size' => 'default', ], 'inner_setting_breaker' => [ 'component' => 'LineBreaker', ], 'inner_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Inner layout settings', 'description' => 'Handle inner layout settings', ], 'inner_border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'inner_background_color' => '#ffffff00', 'column_borders' => [ 'component' => 'ColumnBorders', 'title' => 'Column borders', ], 'children' => [ Column::get_object_data( 29, [ 'children' => [ Logo::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 10, 'right' => 10, 'bottom' => 10, 'left' => 0, ], 'background_color' => '#ffffff00', 'image_breaker' => [ 'component' => 'LineBreaker', ], 'image_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Image settings', 'description' => 'Handle image settings', ], 'src' => YAYMAIL_PLUGIN_URL . 'assets/images/woocommerce-logo.png', 'align' => 'left', 'width' => 116, 'url' => '#', 'alt' => '', ] ), ], ] ), Column::get_object_data( 25.59, [ 'children' => [ Text::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => '15', 'right' => 0, 'bottom' => '15', 'left' => 0, ], 'background_color' => '#ffffff00', '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' => '"Fraunces", serif', 'text_color' => '#000000', 'rich_text' => '
Order ID: #[yaymail_order_id is_plain="true"]
', ] ), Heading::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => 50, 'bottom' => 0, 'left' => 50, ], 'background_color' => '#ffffff00', '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' => '"Fraunces", serif', 'text_color' => '#0d0d25', 'rich_text' => 'Hi [yaymail_billing_first_name] [yaymail_billing_last_name],
Great news! Your order is about to ship. It should be delivered to you within 7 working days.
', ] ), ], ] ), ], ] ), 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' => '#fbfdff', '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' => 'Shipping Address
', ] ), ShippingAddress::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => 0, 'bottom' => 0, 'left' => 0, ], 'background_color' => '#fafafa1a', 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'layout_type' => 'modern', 'title_color' => '#1a1a1a', 'text_color' => '#0d0d25', 'border_color' => '#0d0d25', 'font_family' => '"Fraunces", serif', 'title' => '', 'shipping_content_font_size' => 18, 'shipping_content_alignment' => 'center', 'shipping_content_text_format' => [ 'bold' => false, 'italic' => false, 'underline' => false, ], 'rich_text' => '[yaymail_shipping_address]', ] ), ], ] ), Column::get_object_data( 50, [ 'children' => [ Text::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => '50', 'bottom' => 0, 'left' => 0, ], 'background_color' => '#ffffff00', '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' => '"Fraunces", serif', 'text_color' => '#0d0d25', 'rich_text' => 'Billing Address
', ] ), BillingAddress::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => 0, 'bottom' => 0, 'left' => 0, ], 'background_color' => '#fafafa00', 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'layout_type' => 'modern', 'title_color' => '#1a1a1a', 'text_color' => '#0d0d25', 'border_color' => '#1a1a1a', 'font_family' => '"Fraunces", serif', 'title' => '', 'billing_content_font_size' => 18, 'billing_content_alignment' => 'center', 'billing_content_text_format' => [ 'bold' => false, 'italic' => false, 'underline' => false, ], 'rich_text' => '[yaymail_billing_address]', ] ), ], ] ), ], ] ), ColumnLayout::get_object_data( 1, [ 'column_width' => [], 'column_spacing' => '0', 'vertical_align' => 'top', 'container_setting_breaker' => [ 'component' => 'LineBreaker', ], 'container_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container layout settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 30, 'bottom' => 0, 'left' => 50, 'right' => 50, ], 'border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'background_color' => '#fafafa', 'background_image' => [ 'url' => '', 'position' => 'default', 'x_position' => 0, 'y_position' => 0, 'repeat' => 'default', 'size' => 'default', ], 'inner_setting_breaker' => [ 'component' => 'LineBreaker', ], 'inner_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Inner layout settings', 'description' => 'Handle inner layout settings', ], 'inner_border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'inner_background_color' => '#ffffff00', 'column_borders' => [ 'component' => 'ColumnBorders', 'title' => 'Column borders', ], 'children' => [ Column::get_object_data( 100, [ 'children' => [ Text::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => 0, 'bottom' => 0, 'left' => 0, ], 'background_color' => '#ffffff00', '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' => '"Outfit", "DM Sans", sans-serif', 'text_color' => '#0d0d25', 'rich_text' => 'For questions, contact hi@yaycommerce.com, visit our FAQs, or chat with us during operating hours for account support
', ] ), Divider::get_object_data( [ 'align' => 'center', 'padding' => [ 'top' => 30, 'right' => 0, 'bottom' => 20, 'left' => 0, ], 'width' => '100', 'height' => 1, 'background_color' => '#ffffff00', 'divider_color' => '#ceccd3', 'divider_type' => 'solid', ] ), ColumnLayout::get_object_data( 2, [ 'column_width' => [], 'column_spacing' => '0', 'vertical_align' => 'top', 'container_setting_breaker' => [ 'component' => 'LineBreaker', ], 'container_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container layout settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => '0', 'bottom' => 0, 'left' => '0', ], 'border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'background_color' => '#ffffff00', 'background_image' => [ 'url' => '', 'position' => 'default', 'x_position' => 0, 'y_position' => 0, 'repeat' => 'default', 'size' => 'default', ], 'inner_setting_breaker' => [ 'component' => 'LineBreaker', ], 'inner_setting_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Inner layout settings', 'description' => 'Handle inner layout settings', ], 'inner_border_radius' => [ 'top_left' => '0', 'top_right' => '0', 'bottom_left' => '0', 'bottom_right' => '0', ], 'inner_background_color' => '#ffffff00', 'column_borders' => [ 'component' => 'ColumnBorders', 'title' => 'Column borders', ], 'children' => [ Column::get_object_data( 50, [ 'children' => [ Text::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 15, 'right' => 0, 'bottom' => 20, 'left' => 0, ], 'background_color' => '#ffffff00', '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' => '"Outfit", "DM Sans", sans-serif', 'text_color' => '#0d0d25', 'rich_text' => '© 2025 YayCommerce.com
', ] ), ], ] ), Column::get_object_data( 50, [ 'children' => [ SocialIcon::get_object_data( [ 'container_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Container settings', 'description' => 'Handle container layout settings', ], 'padding' => [ 'top' => 0, 'right' => 0, 'bottom' => 20, 'left' => 0, ], 'background_color' => '#ffffff00', 'align' => 'center', 'content_breaker' => [ 'component' => 'LineBreaker', ], 'content_group_definition' => [ 'component' => 'GroupDefinition', 'title' => 'Content settings', 'description' => 'Handle content settings', ], 'width_icon' => 36, 'spacing' => 25, 'theme' => 'SolidDark', 'icon_list' => [ '0' => [ 'icon' => 'facebook', 'url' => '#', ], '1' => [ 'icon' => 'instagram', 'url' => '#', ], '2' => [ 'icon' => 'tiktok', 'url' => '#', ], '3' => [ 'icon' => 'twitter', 'url' => '#', ], ], ] ), ], ] ), ], ] ), ], ] ), ], ] ), ]; } }