Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Dear Horscht,
    I am very sorry to hear your templates are deleted, but if you followed instructions on the settings page and in the FAQ for making custom templates, this is not possible.

    How do I create my own custom template?
    Copy the files from wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple/ to wp-content/themes/yourtheme/woocommerce/pdf/yourtemplate and customize them there. The new template will shop up as ‘yourtemplate’ (the folder name) in the settings panel.

    Using a child theme is the most secure way of protecting changes to get overwritten on updates.

    The message you get on the page when you try to see a invoice is:

    Template not found! Check if the following file exists:
    wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/stock/invoice.php

    with the directory “stock” being the custom template folder I made.

    Edit: Nevermind figure out you needed to copy to your own folder inside your own child themes folder not the plugin folder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘upldate deletes my own templates :-(’ is closed to new replies.