# subscription/1.4.1/templates/emails/subscription-cancelled-html.php

Subscriptions for WooCommerce with Stripe Recurring Payments, version 1.4.1. 59 lines.

- Page: https://pluginprobe.com/plugins/subscription/1.4.1/code/templates/emails/subscription-cancelled-html.php
- Raw: https://pluginprobe.com/plugins/subscription/1.4.1/raw/templates/emails/subscription-cancelled-html.php
- Modified: 2025-05-13T14:25:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/1.4.1/code/templates/emails/subscription-cancelled-html.php#L10-L20`.

```php
<?php
/**
 * Mail template for Subscription status changed (Admin).
 *
 * @var string $email_heading Email Heading.
 * @var int $id Subscription id.
 * @var string $product_name Product name.
 * @var int $qty Subscription Quantity.
 * @var string $amount Subscription Amount with price format.
 */

?>

<?php do_action( 'woocommerce_email_header', $email_heading ); ?>

<p>
	<?php
	// translators: <b></b> tag.
	echo wp_kses_post( sprintf( __( 'Your subscription is %1$s Cancelled! %2$s', 'sdevs_subscrpt' ), '<b>', '</b>' ) );
	?>
</p>

<table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
	<tbody>
	<tr>
		<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Subscription Id', 'sdevs_subscrpt' ); ?></th>
		<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $id ); ?></td>
	</tr>
	<tr>
		<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Product', 'sdevs_subscrpt' ); ?></th>
		<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $product_name ); ?></td>
	</tr>
	<tr>
		<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Qty', 'sdevs_subscrpt' ); ?></th>
		<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $qty ); ?></td>
	</tr>
	<tr>
		<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Amount', 'sdevs_subscrpt' ); ?></th>
		<td style="text-align:left; border: 1px solid #eee;"><?php echo wp_kses_post( $amount ); ?></td>
	</tr>
	</tbody>
</table>
<br>
<p>
	<?php
	echo wp_kses_post(
		make_clickable(
			sprintf(
			// translators: subscription id.
				__( 'You can view and edit this subscription in the dashboard here: %s', 'sdevs_subscrpt' ),
				admin_url( 'post.php?post=' . $id . '&action=edit' )
			)
		)
	);
	?>
</p>

<?php do_action( 'woocommerce_email_footer' ); ?>

```
