PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.9.5
Subscriptions for WooCommerce with Stripe Recurring Payments v1.9.5
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / templates / emails / renew-reminder-html.php

renew-reminder-html.php in Subscriptions for WooCommerce with Stripe Recurring Payments 1.9.5, at templates/emails/renew-reminder-html.php

71 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Mail template for Subscription status changed (Admin).
4 *
5 * @var string $email_heading Email Heading.
6 * @var int $id Subscription id.
7 * @var string $product_name Product name.
8 * @var int $qty Subscription Quantity.
9 * @var string $amount Subscription Amount with price format.
10 * @var string $view_subscription_url Subscription view URL.
11 * @var int $num_of_days_before Number of days before.
12 */
13
14 // Exit if accessed directly.
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18 ?>
19
20 <?php do_action( 'woocommerce_email_header', $email_heading ); ?>
21
22 <p>
23 <?php
24 echo esc_html(
25 sprintf(
26 // translators: Number of days before & day|days.
27 __( 'You have only %1$s %2$s left! Please renew the subscription before expired', 'subscription' ),
28 $num_of_days_before,
29 $num_of_days_before > 1 ? 'days' : 'day'
30 )
31 );
32 ?>
33 </p>
34
35 <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
36 <tbody>
37 <tr>
38 <th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Subscription Id', 'subscription' ); ?></th>
39 <td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $id ); ?></td>
40 </tr>
41 <tr>
42 <th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Product', 'subscription' ); ?></th>
43 <td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $product_name ); ?></td>
44 </tr>
45 <tr>
46 <th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Qty', 'subscription' ); ?></th>
47 <td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $qty ); ?></td>
48 </tr>
49 <tr>
50 <th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Amount', 'subscription' ); ?></th>
51 <td style="text-align:left; border: 1px solid #eee;"><?php echo wp_kses_post( $amount ); ?></td>
52 </tr>
53 </tbody>
54 </table>
55 <br>
56 <p>
57 <?php
58 echo wp_kses_post(
59 make_clickable(
60 sprintf(
61 // translators: subscription url.
62 __( 'You can view the subscription here: %s', 'subscription' ),
63 $view_subscription_url
64 )
65 )
66 );
67 ?>
68 </p>
69
70 <?php do_action( 'woocommerce_email_footer' ); ?>
71