Hi @alexroes
We are really sorry for the inconvenience caused by the updation.
The template file has changed due to the React version update and the new template structure. However, it is possible to override the template in the new version too.
Here are the steps for the template override:
Open your active theme folder: wp-content/themes/your-theme/
Create a folder named woocommerce-delivery-notes inside it
- Find the template file you want to change inside the plugin:
wp-content/plugins/woocommerce-delivery-notes/templates/
- Copy that file into the folder you created in step 2, keeping the same filename
- Edit the copied file in your theme — the plugin will use it automatically
Available template files:
invoice.php — Invoice
receipt.php — Receipt
deliverynote.php — Delivery Note
packingslip.php — Packing Slip
creditnote.php — Credit Note
base.php — Shared layout used by all documents
Override styles
Find the CSS file you want to change inside the plugin: wp-content/plugins/woocommerce-delivery-notes/templates/css/
- Copy it into your theme, recreating the same folder structure under
woocommerce-delivery-notes/css/
- Edit the copied file — your styles will be loaded instead of the plugin’s
Available CSS files:
css/style.css — Applies to all documents
css/html/style.css — Applies to browser print only
css/pdf/style.css — Applies to PDF output only
Notes
- If using a child theme, create the folder in the child theme — not the parent
- The override affects only the live print preview and the document PDF generation. The frontend preview on the admin page isn’t affected.
Please try from your end and let us know if there are any queries further.
We will be happy to assist you.