File "waitlist-subscribe-email.php"
Full Path: /home/aiclgcwq/photonindustriespvt.com/wp-content/themes/woodmart/woocommerce/emails/waitlist-subscribe-email.php
File size: 1.96 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Waitlist emails html template.
*
* @package XTS
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
<p>
<?php
echo esc_html(
sprintf(
// translators: %s User name.
__(
'Hi, %s!',
'woodmart'
),
$email->user_name
)
);
?>
</p>
<p><?php esc_html_e( 'We confirm that you have been added to the waitlist for the following item:', 'woodmart' ); ?></p>
<table class="td xts-prod-table" cellspacing="0" cellpadding="6" border="1">
<thead>
<tr>
<th class="td" scope="col"></th>
<th class="td xts-align-start" scope="col"><?php esc_html_e( 'Product', 'woodmart' ); ?></th>
<th class="td xts-align-end" scope="col"><?php esc_html_e( 'Price', 'woodmart' ); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="td xts-tbody-td xts-img-col xts-align-start">
<a href="<?php echo esc_url( $email->object->get_permalink() ); ?>">
<?php echo wp_kses( $email->product_image, true ); ?>
</a>
</td>
<td class="td xts-tbody-td xts-align-start">
<a href="<?php echo esc_url( $email->object->get_permalink() ); ?>">
<?php echo esc_html( $email->object->get_name() ); ?>
</a>
</td>
<td class="td xts-tbody-td xts-align-end">
<?php
echo wp_kses( $email->product_price, true );
?>
</td>
</tr>
</tbody>
</table>
<p><?php _e( 'Stay tuned because we\'ll notify you when the product is available.', 'woodmart' ); // phpcs:ignore. ?></p>
<p><?php esc_html_e( 'Best regards,', 'woodmart' ); ?></p>
<p><?php echo esc_html( $email->get_blogname() ); ?></p>
<p>
<small>
<?php
echo wp_kses(
sprintf(
// translators: %s Unsubscribe link html.
esc_html__( 'If you don\'t want to receive any further notification, please %s', 'woodmart' ),
'<a href="' . esc_url( $unsubscribe_link ) . '">' . esc_html__( 'unsubscribe', 'woodmart' ) . '</a>'
),
true
);
?>
</small>
</p>
<?php do_action( 'woocommerce_email_footer', $email ); ?>