Okay
  Public Ticket #2236590
QR Code in E-Mails
Closed

Comments

  •  1
    Patrick started the conversation

    Hey there,
    how can I hide the QR-Code in the E-Mails that are sent out through WooCommerce?
    Thanks and best regards

    Patrick

  •  877
    Zhivko replied

    Hi,

    Add this filter in your theme functions.php file:

    add_filter('stec_ticket_qr_code_url', function(){
       return null; 
    });

    Stachethemes Developer

  •  1
    Patrick replied

    Hi Zhivko,

    this is now killing my emails.
    When I now make a booking the email I get as an admin looks like you see in the attachment.

    So apart from the invoicing details everything is missing.
    I am working with the email customizing plugin "Kadence WooCommerce Email Designer".

    I hope you can help!

    Best regards, Patrick

  •  877
    Zhivko replied

    Okay, I'll look at this issue. The filter does not accept empty values.

    Meanwhile you can stop the qr core by opening file

    stachethemes_event_calendar\assets\php\class.wc.booking.php

    and comment lines 217 and 223 like this:

    // self::add_book_filters_insert_qc_code($order)

    Stachethemes Developer