PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.6
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.6
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 / subscription / past_due / customer.php

customer.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.6, at app/Views/emails/subscription/past_due/customer.php

46 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 \FluentCart\App\Models\Subscription $subscription
5 * @var \FluentCart\App\Models\Order $order
6 */
7 ?>
8
9 <div class="space_bottom_30">
10 <p>
11 <?php
12 printf(
13 /* translators: %s is the customer's full name */
14 esc_html__( 'Hello %s,', 'fluent-cart' ),
15 esc_html($subscription->customer->full_name)
16 );
17 ?>
18 </p>
19
20 <p>
21 <?php
22 printf(
23 /* translators: %s is the subscription item name */
24 esc_html__( 'Your subscription to %s is now past due. An unpaid renewal order has exceeded the grace period. Please complete the payment as soon as possible to reactivate your subscription.', 'fluent-cart' ),
25 esc_html( $subscription->item_name )
26 );
27 ?>
28 </p>
29 </div>
30
31 <?php
32
33 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
34 'order' => $order,
35 'formattedItems' => $order->order_items,
36 'heading' => __('Unpaid Renewal', 'fluent-cart'),
37 ]);
38
39 echo '<hr />';
40
41 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
42 'content' => __('Please complete the payment to reactivate your subscription.', 'fluent-cart'),
43 'link' => $order->getViewUrl('customer'),
44 'button_text' => __('Pay Now', 'fluent-cart'),
45 ]);
46