• Resolved educyberbrian

    (@educyberbrian)


    When a customer buys tickets, the tickets are sent as an attachment with the email. We want to get rid of the pdf – since they can view / print their tickets as soon as they buy them. How do I get rid of the pdf attachment?

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi @educyberbrian.

    If you want avoid the pdf display on emails, you can simply comments the following line from the next file…:

    yith-event-tickets-for-woocommerce.premium/includes/class.yith-event-tickets-frontend.php:74

    The code to comments is:

    add_action('yith_order_item_meta_end', array( $this, 'add_view_pdf_and_gcalendar_button'), 10, 3);

    With this line commented, the button not should be appears on emails. Please try it and let me know.

    Regards ??

    • This reply was modified 7 years, 7 months ago by YITHEMES.
    • This reply was modified 7 years, 7 months ago by YITHEMES.
    • This reply was modified 7 years, 7 months ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘remove pdf from email’ is closed to new replies.