Hello @comodo87,
Can you please check which template you have selected under WooCommerce > PDF Invoices > General > Choose a template?
Thanks.
Can you send a screenshot of a PDF invoice?
Do you remember if you added a code snippet in your site? If so, please comment the code or remove it, and try again.
If this is not the case, please try to append output=html at the end of the URL of the document, in order to see the HTML output and figure out the CSS selector of the image.
For example:
Original URL: example.com/[…]&_wpnonce=b1ce0a1b6d
HTML output URL: example.com/[…]&_wpnonce=b1ce0a1b6d&output=html
If you don’t know how to find the image CSS selector, please save the HTML output view, open the file with a text processor (like the Notepad), copy & paste the code in pastebin.com, and share the link of the paste with us.
Last was wrong copy. Now it is right: https://pastebin.com/MBzzcFz4
Thanks for sharing the correct code.
Please add this code snippet to your site to hide the product image from your documents:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
function wpo_wcpdf_custom_styles ( $document_type, $document ) {
?>
.item-name img {
display: none;
}
<?php
}
Let me know if it worked 🙂