PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.3.19
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.3.19
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 / paid / admin.php

admin.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.3.19, at app/Views/emails/order/paid/admin.php

41 lines 1.0 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's full name */
13 esc_html__('%s just placed an order. Here are the details:', 'fluent-cart'),
14 esc_html($order->customer->full_name)
15 );
16 ?>
17 </p>
18 </div>
19
20 <?php
21
22 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
23 'order' => $order,
24 'formattedItems' => $order->order_items,
25 'heading' => __('Order Summary', 'fluent-cart'),
26 ]);
27
28 echo '<hr />';
29
30 \FluentCart\App\App::make('view')->render('emails.parts.addresses', [
31 'order' => $order,
32 ]);
33
34 echo '<hr />';
35
36 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
37 'content' => __('To view more details of this order, please check the order detail page.', 'fluent-cart'),
38 'link' => $order->getViewUrl('admin'),
39 'button_text' => __('View Details', 'fluent-cart')
40 ]);
41