• Resolved Catalin B

    (@catalinbaciu)


    Hi,

    We have an issue with Booster conflicting with a PDF invoices plugin

    After a previous Booster for WC plugin update we noticed a very annoying issue with our PDF invoices. For some reason, due to a conflict between the 2 plugins, the PDF invoices have html code added next to the meta field displayed on the PDF as shown here:
    https://i.imgur.com/ap198lI.png (Screenshot from PDF. The highlighted text is from the META field added in WooCommerce Order screen).

    The issue disappears when we turn off the Booster for WC plugin.

    We’re using the following modules:
    – Cart Customization
    – Checkout Custom Info
    – More Button Labels
    – Order Numbers
    – Template Editor (only 1 template edited: single-product/add-to-cart/variation-add-to-cart-button.php)

    Appreciate any help you can provide with this issue. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support David G

    (@gravid7)

    Hi @beachholiday

    Thanks for reaching out to us.

    Can you please contact us from our website? So, we can take a deeper look and help you.

    Thread Starter Catalin B

    (@catalinbaciu)

    OK. Done, waiting for a reply.

    Plugin Author ronyp

    (@ronyp)

    Hello @catalinbaciu,

    I am Rony from the support team. I have received your ticket and will come back to you.

    Kind Regards,
    RonyP – Support Team

    • This reply was modified 2 years, 2 months ago by ronyp.
    Thread Starter Catalin B

    (@catalinbaciu)

    Thank you @ronyp . I got your original reply via email. I guess you figured out you can update the PDF invoice after replying.

    Plugin Author ronyp

    (@ronyp)

    Hello @catalinbaciu,

    Thank you for your patience. I got the issue and it’s not with the Booster for Woocommerce plugin. Actually, the PDF Invoice plugin you are using has a deprecated integration. We have implemented security vulnerability fixes on our plugin and because of that deprecated function, you are seeing the wrong output.

    You can use the below fix for now but I would like you to reach “Invoices for WooCommerce” for help.

    File Path: woocommerce-pdf-invoices/includes/class-template.php
    Function : display_item_meta
    Line no: 190
    Before :
    echo '<li><strong class="wc-item-meta-label">' . esc_html( wp_filter_nohtml_kses( $meta->display_key ) ) . ':</strong> ' . esc_html( wp_filter_nohtml_kses( $meta->display_value ) ) . '</li>';

    After :

    echo '<li><strong class="wc-item-meta-label">' . esc_html( wp_filter_nohtml_kses( $meta->display_key ) ) . ':</strong> ' . strip_tags( $meta->display_value ) . '</li>';

    Kind Regards,
    RonyP – Support Team

    Thread Starter Catalin B

    (@catalinbaciu)

    Hi Rony,

    Thanks for investigating the issue. Will look into implementing the fix on our end and will try to get in touch with the invoices PDF plugin author.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conflict with [Invoices for WooCommerce] Plugin’ is closed to new replies.