• Logo is not showing. I have tried lots of time. But still not work. So switch other plugins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @dealmega,

    I’m sorry to hear that you had issues displaying your logo.

    Although this issue is not common, we have received similar reports from other users. These cases were often related to hotlink protection or the use of external servers for offloading images, which can result in a similar problem. Please note that the documents are rendered using a PDF engine (dompdf), which tends to be strict regarding such matters.

    That said, we have introduced the wpo_wcpdf_header_logo_img_element filter that allows you to manually set a logo URL, providing a potential workaround for this issue:

    /**
    * PDF Invoices & Packing Slips for WooCommerce:
    * Set a shop logo manually (this will override the shop logo in the plugin's settings)
    */
    add_filter( 'wpo_wcpdf_header_logo_img_element', function( $img_element, $attachment) {
    // Set the URL of your shop logo below:
    $shop_logo_url = 'https://img.logoipsum.com/288.svg';
    return "<img src='{$shop_logo_url}'/>";
    }, 10, 2 );

    That said, and if the above doesn’t work, I can still provide you with more help in case you give our plugin another try.

    I will be looking forward to your reply!

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @dealmega,

    This is a follow-up message to ask you if you managed to fix the issue with the shop logo. In the case that you are still having issues, please let me know, and I will do my best to help you with this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this review.