Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. <?php
  2. /**
  3. * Customer processing order email
  4. *
  5. * @author WooThemes
  6. * @package WooCommerce/Templates/Emails
  7. * @version 2.4.0
  8. */
  9.  
  10. if ( ! defined( 'ABSPATH' ) ) {
  11. exit; // Exit if accessed directly
  12. }
  13.  
  14. ?>
  15.  
  16. <?php do_action('woocommerce_email_header', $email_heading); ?>
  17.  
  18. <p><?php _e( "Your order has been received and is now being processed. Your order details are shown below for your reference:", 'woocommerce' ); ?></p>
  19.  
  20. <?php do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text ); ?>
  21.  
  22. <h2><?php printf( __( 'Order #%s', 'woocommerce' ), $order->get_order_number() ); ?></h2>
  23. <!-- ENTER CONTENT BELOW THIS LINE -->
  24.  
  25.  
  26.  
  27. <!-- STOP CUSTOM NOTICE CONTENT -->
  28. <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
  29. <thead>
  30. <tr>
  31. <th class="td" scope="col" style="text-align:left;"><?php _e( 'Product', 'woocommerce' ); ?></th>
  32. <th class="td" scope="col" style="text-align:left;"><?php _e( 'Quantity', 'woocommerce' ); ?></th>
  33. <th class="td" scope="col" style="text-align:left;"><?php _e( 'Price', 'woocommerce' ); ?></th>
  34. </tr>
  35. </thead>
  36. <tbody>
  37. <?php echo $order->email_order_items_table( $order->is_download_permitted(), true, $order->has_status( 'processing' ) ); ?>
  38. </tbody>
  39. <tfoot>
  40. <?php
  41. if ( $totals = $order->get_order_item_totals() ) {
  42. $i = 0;
  43. foreach ( $totals as $total ) {
  44. $i++;
  45. ?><tr>
  46. <th class="td" scope="row" colspan="2" style="text-align:left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th>
  47. <td class="td" style="text-align:left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td>
  48. </tr><?php
  49. }
  50. }
  51. ?>
  52. </tfoot>
  53. </table>
  54.  
  55. <?php do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text ); ?>
  56.  
  57. <?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text ); ?>
  58.  
  59. <?php do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text ); ?>
  60.  
  61. <?php do_action( 'woocommerce_email_footer' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement