Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. <?php
  2. /**
  3. * Customer processing order email
  4. *
  5. * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php.
  6. *
  7. * HOWEVER, on occasion WooCommerce will need to update template files and you
  8. * (the theme developer) will need to copy the new files to your theme to
  9. * maintain compatibility. We try to do this as little as possible, but it does
  10. * happen. When this occurs the version of the template file will be bumped and
  11. * the readme will list any important changes.
  12. *
  13. * @see https://docs.woocommerce.com/document/template-structure/
  14. * @author WooThemes
  15. * @package WooCommerce/Templates/Emails
  16. * @version 2.5.0
  17. */
  18.  
  19. if ( ! defined( 'ABSPATH' ) ) {
  20. exit;
  21. }
  22.  
  23. /**
  24. * @hooked WC_Emails::email_header() Output the email header
  25. */
  26. do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
  27.  
  28. <p><?php _e ( "Kære Kastaniestrik kunde,\n
  29. Vi har nu gennemført ordren og din pakke er på vej til dig og udleveres hos den valgte pakkeshop.\n
  30. Har du yderligere spørgsmål til din ordre er du velkommen til at skrive til os via kontaktformularen på vores hjemmeside under menupunktet ”kontakt”. Angiv dit ordrenummer og spørgsmål i beskeden, så sørger vi for at hjælpe dig.\n
  31. Vi håber at du bliver glad for dit køb. Rigtig god fornøjelse og god strikkelyst.", 'woocommerce' ); ?></p>
  32.  
  33. <?php
  34.  
  35. /**
  36. * @hooked WC_Emails::order_details() Shows the order details table.
  37. * @hooked WC_Structured_Data::generate_order_data() Generates structured data.
  38. * @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
  39. * @since 2.5.0
  40. */
  41. do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
  42.  
  43. /**
  44. * @hooked WC_Emails::order_meta() Shows order meta data.
  45. */
  46. do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
  47.  
  48. /**
  49. * @hooked WC_Emails::customer_details() Shows customer details
  50. * @hooked WC_Emails::email_address() Shows email address
  51. */
  52. do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
  53.  
  54. /**
  55. * @hooked WC_Emails::email_footer() Output the email footer
  56. */
  57. do_action( 'woocommerce_email_footer', $email );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement