dwpriv
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Cannot open PDF fileGerard,
It appears you’re using the MPDF addon, which is likely causing the error. We’d recommend you use the updated version first and take it from there. Get it here.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Cannot open PDF fileHi Gerard,
Can you open the PDF in any other program? Do you get a PDF in your email or is that the PDF doesn’t get generated at all?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Two digits from 0-10Hi,
Are you possibly entering 0 as prefix, under WooCommerce > PDF Invoices > Documents > Invoice > Number format? If so, you can just enter 2 as padding to achieve the format you want.
See this example:

Best regards
- This reply was modified 3 years, 10 months ago by dwpriv.
Hi Edy,
It seems that this issue is related to a price suffix setting in Woocommerce, or possibly a third party plugin.
The below code snippet should help you:
<?php /** * Hide the tax label in line subtotal */ add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 ); function wpo_wcpdf_custom_styles ( $document_type, $document ) { if ( $document_type == 'invoice' ) { ?> table.order-details .price .woocommerce-Price-taxLabel { display: none; } <?php } }Also, Premium Templates extension to the free plugin lets you configure the price columns independently from the WooCommerce, so this gives you more control over whether the including or excluding tax price is shown (by default without any suffix).
Best regards
Hey there,
You can try using this code snippet:
<?php /** * Hide SKU for specific products on packing slips */ add_filter( 'wpo_wcpdf_order_item_data', 'wpo_wcpdf_hide_products_sku_packing_slip', 10, 3 ); function wpo_wcpdf_hide_products_sku_packing_slip( $data, $order, $document_type ) { $products_ids_to_hide_sku = array(123, 321); // include here your product IDs if ($document_type == 'packing-slip') { // you can replace with 'invoice' or any other document type if( in_array($data['product_id'], $products_ids_to_hide_sku) ) { $data['sku'] = null; } } return $data; }Best regards
Yes, you can.
However, you’ll need to use the Order Notification Email Settings with our Professional extension. Check out this screenshot here. You will also need to select this option here in order to use it. You can find the option in WooCommerce > PDF Invoices > Attach To
We can’t provide support for paid extensions here, as WordPress doesn’t allow it. So, please email us a support@wpovernight.com for more info.
Displaying categories is available in our paid plugin Premium Templates See this example from the customizer in the Premium Templates here
We can’t however, provide support for paid plugins on the forums, as WordPress doesn’t allow us to. You’d have to email us at support@wpovernight.com, for more information regarding the Premium Templates.