I’d be glad to help out. Could you let me know what code you pasted into wp-config.php?
Thread Starter
mag
(@modernartgraph)
Thanks for the prompt response!
I used the code in the FAQ.
define( 'WC_CART_PDF_THUMBNAIL_COMPATIBILITY', true );
Could you try and add the following to your child theme functions.php file? This code snippet has worked for some other users:
add_filter( 'wc_cart_pdf_mpdf', function( $mpdf ) {
$mpdf->curlUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36';
return $mpdf;
} );
If that doesn’t work I can do some more digging.
Thread Starter
mag
(@modernartgraph)
Yes! that worked.
thank you so much for the amazing plugin and even more amazing support!