/templates/emails/customer-preview-submitted.php

  1. <?php 
  2. /** 
  3. * Customer request texts email 
  4. * 
  5. * @author Isikom 
  6. * @package WooCommerce/Templates/Emails/HTML 
  7. * @version 2.0.0 
  8. */ 
  9.  
  10. if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
  11. $order_id = $order->get_order_number(); 
  12. $text_page_id = get_option('woocommerce_texts_page_id'); 
  13. $text_page_permalink = get_permalink( $text_page_id ) . '?order=' . ltrim ($order_id, '#'); 
  14. ?> 
  15.  
  16. <?php do_action('woocommerce_email_header', $email_heading); ?> 
  17.  
  18. <h2><?php echo __( 'Order:', 'woocommerce' ) . ' ' . $order_id ?></h2> 
  19. <p><?php echo __( "A preview of your items was uploaded in your personal area", 'woo_af2p' ); ?></p> 
  20. <p><a href="<?php echo $text_page_permalink; ?>" target="_blank"><?php echo __( "see the preview", 'woo_af2p' ); ?></a></p> 
  21.  
  22. <?php do_action('woocommerce_email_footer'); ?> 
.