code for thumbnail print
-
Hi,
I made a customized template.
After upgrading WooCommerce PDF Invoices & Packing Slips to 1.6.5 and WooCommerce to 3.0.4 I have a line code that makes the PDF generation crash.
The code should print the thumbnail of a product.<td class="thumbnail"> <?php $_product = $wpo_wcpdf->export->order->get_product_from_item( $item ); if ($item['product_id'] > 0) { echo $_product->get_image( array(30, 50) ) . "<br>"; // does not work anymore } ?> </td>I substitute $wpo_wcpdf->export with WPO_WCPDF()->export but it does not solve the issue.
What do I miss ?
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘code for thumbnail print’ is closed to new replies.