PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.5.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.5.1
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
fluent-cart / app / Views / emails / order / placed / customer.php

customer.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.5.1, at app/Views/emails/order/placed/customer.php

38 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined('ABSPATH')) exit; ?>
2 <?php
3 /**
4 * @var $order \FluentCart\App\Models\Order
5 */
6 ?>
7
8 <div class="space_bottom_30">
9 <p><?php
10 printf(
11 /* translators: %s is the customer's full name */
12 esc_html__('Hello %s,', 'fluent-cart'),
13 esc_html($order->customer->full_name)
14 );
15 ?></p>
16 <p><?php esc_html_e('Thank you for your order! We have received your order placed with offline payment method. We will process your order once payment is confirmed. Here are the details of your order:', 'fluent-cart'); ?></p>
17 </div>
18
19 <?php
20
21 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
22 'order' => $order,
23 'formattedItems' => $order->order_items,
24 'heading' => __('Order Summary', 'fluent-cart'),
25 ]);
26
27 echo '<hr />';
28
29 \FluentCart\App\App::make('view')->render('emails.parts.addresses', [
30 'order' => $order,
31 ]);
32
33 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
34 'content' => __('To view your order details, please visit the order details page. Payment information is included in the email.', 'fluent-cart'),
35 'link' => $order->getViewUrl('customer'),
36 'button_text' => __('View Order Details', 'fluent-cart')
37 ]);
38