PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.2
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.2
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 / refunded / customer.php

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

38 lines 1.4 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 <div class="space_bottom_30">
8 <p><?php
9 printf(
10 /* translators: %s is the customer's full name */
11 esc_html__('Hello %s,', 'fluent-cart'),
12 esc_html($order->customer->full_name)
13 );
14 ?></p>
15 <p>
16 <?php esc_html_e('We have processed a refund for your recent order', 'fluent-cart'); ?>
17 <a href="<?php echo esc_url($order->getViewUrl('customer')); ?>">
18 #<?php echo esc_html($order->invoice_no); ?>
19 </a>.
20 <?php echo esc_html__('Thank you for your understanding, and we truly value your trust in us. Below are the details of your refund.', 'fluent-cart'); ?>
21 </p>
22 </div>
23 <?php
24
25 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
26 'order' => $order,
27 'formattedItems' => $order->order_items,
28 'heading' => __('Summary', 'fluent-cart'),
29 ]);
30
31 echo '<hr />';
32
33 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
34 'content' => __('The refund should appear in your account within 5-10 business days, depending on your payment provider.', 'fluent-cart'),
35 'link' => $order->getViewUrl('customer'),
36 'button_text' => __('View Details', 'fluent-cart')
37 ]);
38