Okay
  Public Ticket #2516205
Woocommerce order emails
Closed

Comments

  •  5
    João started the conversation

    Hi,

    I want to know how to edit the output of the order details in the Woocommerce emails (customer new order, customer on hold order, etc).  More specifically, there are some fields that I don't want to show (number of people in the appointment and possibly some custom fields also).

    Thanks in advance,

    João

  • [deleted] replied

    Hello João, 

    There isn't a possibility in Amelia to choose these information, unfortunately. I assume the information sent to the WooCommerce checkout page are the ones added to the emails as well.

    You can try removing this directly in the code of the plugin if you want, but please note that this change will be lost when you update Amelia so you would need to apply it after each update. 

    You can access these information in the file WooCommerceService.php at location

    src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php

    method 

    getItemData

    If you have any further questions feel free to ask.