PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.1
1.6.6 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 All 49 releases
fluent-cart / app / Views / emails / order / shipped / customer.php

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

51 lines 1.5 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>
10 <?php
11 printf(
12 /** translators: %s is the customer name */
13 esc_html__( 'Hello %s,', 'fluent-cart' ),
14 esc_html( $order->customer->full_name )
15 );
16 ?>
17 </p>
18 <p>
19 <?php echo esc_html__( 'Great news! Your order is on its way to you 📦.', 'fluent-cart' ); ?>
20 </p>
21 </div>
22
23 <?php
24
25 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
26 'order' => $order,
27 'formattedItems' => $order->order_items,
28 'heading' => esc_html__('Order Summary', 'fluent-cart'),
29 ]);
30
31 $downloads = $order->getDownloads();
32 if($downloads) {
33 \FluentCart\App\App::make('view')->render('emails.parts.downloads', [
34 'order' => $order,
35 'heading' => esc_html__('Downloads', 'fluent-cart'),
36 'downloadItems' => $downloads,
37 ]);
38 }
39
40 echo '<hr />';
41
42 \FluentCart\App\App::make('view')->render('emails.parts.addresses', [
43 'order' => $order,
44 ]);
45
46 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
47 'content' => esc_html__('Thank you for choosing us! We hope you’re excited about your order. If you have any questions, feel free to reach out.', 'fluent-cart'),
48 'link' => $order->getViewUrl('customer'),
49 'button_text' => esc_html__('View Details', 'fluent-cart'),
50 ]);
51