PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.11.2
Subscriptions for WooCommerce with Stripe Recurring Payments v1.11.2
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 / subscription-expired-html.php

subscription-expired-html.php in Subscriptions for WooCommerce with Stripe Recurring Payments 1.11.2, at templates/emails/subscription-expired-html.php

63 lines 2.9 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 expired (Customer).
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 *
12 * @package SpringDevs\Subscription
13 */
14
15 // Exit if accessed directly.
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit;
18 }
19 ?>
20
21 <?php do_action( 'woocommerce_email_header', $email_heading ); ?>
22
23 <p>
24 <?php
25 // translators: <b></b> tag.
26 echo wp_kses_post( sprintf( __( 'Your subscription is %1$s Expired! %2$s', 'subscription' ), '<b>', '</b>' ) );
27 ?>
28 </p>
29
30 <table cellspacing="0" cellpadding="0" border="0" style="width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e3e3e8;border-radius:6px;overflow:hidden;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;">
31 <tbody>
32 <tr>
33 <th scope="row" style="width:40%;padding:10px 14px;text-align:left;vertical-align:top;font-weight:600;color:#50575e;background-color:#f6f7f7;"><?php esc_html_e( 'Subscription Id', 'subscription' ); ?></th>
34 <td style="padding:10px 14px;text-align:left;vertical-align:top;color:#1d2327;"><?php echo esc_html( $id ); ?></td>
35 </tr>
36 <tr>
37 <th scope="row" style="width:40%;padding:10px 14px;text-align:left;vertical-align:top;font-weight:600;color:#50575e;background-color:#f6f7f7;border-top:1px solid #e3e3e8;"><?php esc_html_e( 'Product', 'subscription' ); ?></th>
38 <td style="padding:10px 14px;text-align:left;vertical-align:top;color:#1d2327;border-top:1px solid #e3e3e8;"><?php echo esc_html( $product_name ); ?></td>
39 </tr>
40 <tr>
41 <th scope="row" style="width:40%;padding:10px 14px;text-align:left;vertical-align:top;font-weight:600;color:#50575e;background-color:#f6f7f7;border-top:1px solid #e3e3e8;"><?php esc_html_e( 'Qty', 'subscription' ); ?></th>
42 <td style="padding:10px 14px;text-align:left;vertical-align:top;color:#1d2327;border-top:1px solid #e3e3e8;"><?php echo esc_html( $qty ); ?></td>
43 </tr>
44 <tr>
45 <th scope="row" style="width:40%;padding:10px 14px;text-align:left;vertical-align:top;font-weight:600;color:#50575e;background-color:#f6f7f7;border-top:1px solid #e3e3e8;"><?php esc_html_e( 'Amount', 'subscription' ); ?></th>
46 <td style="padding:10px 14px;text-align:left;vertical-align:top;color:#1d2327;border-top:1px solid #e3e3e8;"><?php echo wp_kses_post( $amount ); ?></td>
47 </tr>
48 </tbody>
49 </table>
50
51 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin:24px 0;">
52 <tr>
53 <td align="center">
54 <a href="<?php echo esc_url( $view_subscription_url ); ?>"
55 style="display:inline-block;padding:12px 24px;background-color:#7f54b3;color:#ffffff;text-decoration:none;font-size:14px;font-weight:600;border-radius:4px;">
56 <?php esc_html_e( 'View subscription', 'subscription' ); ?>
57 </a>
58 </td>
59 </tr>
60 </table>
61
62 <?php do_action( 'woocommerce_email_footer' ); ?>
63