dwpriv
Forum Replies Created
-
You have to saved the new data to the order itself. Our plugin prints the data from the order, so you can’t update order information directly from the invoice. Also, if you’re printing custom data, you can use this guide here to do so.
Certainly. I will mark this topic as resolved. Feel free to reopen it if you require further help.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Taxes not listed on pdfAre your taxes printed in your order data? Our plugin will only print the taxes if they are available in the order data.
Do you have the invoices attached to the Woocommerce emails under PDF Invoices > Documents > Invoice > “Attach to”? As for notification, our plugin doesn’t sent these emails – Woocommerce does. Our plugin only attaches the PDFs to them. So if the emails aren’t being sent, there’s an issue somewhere related to Woocommerce or another plugin that handles your emails, if you’re using any.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Remove SKUCould you share the code snippets you copied here, please, as well as the method you used to add them to your site?
@tommy83 you can delete individual invoices by using the “PDF document data” panel on the Edit Order page, like this example here
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] remove company details@shaar7 Since the snippet worked for you, I will mark this topic as resolved. Feel free to open a new topic if you need help with something else.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Tax ExemptSine we haven’t heard back from you, I will mark this topic as resolved. Feel free to reopen it if you need further help.
Sine we haven’t heard back from you, I will mark this topic as resolved. Feel free to reopen it if you need further help.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] remove company detailsGive this updated snippet a try
/**
* WPO PDF Invoices & Packing Slips - Hide shop name & address
*/
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
if ( $order = $document->order ) {
?>
div.shop-name,
div.shop-address {
display: none;
}
<?php
}
}, 10, 2 );Many of those attachments options are from third party plugins. However, you can try the “New renewal order” as it seems to be added by the subscription plugin.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] remove company detailsGive this code snippet a try
/**
* WPO PDF Invoices & Packing Slips - Hide shop address
*/
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
if ( $order = $document->order ) {
?>
td.shop-info {
display: none;
}
<?php
}
}, 10 , 2 );If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets.
We also have a blog post here that you may find helpful about adding custom code to your site.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] remove company detailsYou can do this by removing those details from the settings under PDF Invoices > General > Shop information
You can use the “Attach to” setting to attach the invoice to the Woocommerce email notification that corresponds with your order status.
You can give this code snippet a try
/**
* Disable the packing slip action button
*/
add_filter( 'wpo_wcpdf_listing_actions', 'wpo_wcpdf_hide_action_buttons_order_overview', 10, 2 );
function wpo_wcpdf_hide_action_buttons_order_overview( $listing_actions, $order ) {
unset( $listing_actions['packing-slip'] );
unset( $listing_actions['invoice'] );
return $listing_actions;
}If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets.
We also have a blog post here that you may find helpful about adding custom code to your site.