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!