• Resolved lorndal

    (@lorndal)


    Hi, I´ve copied the files of the folder ‘simple’ to my childtheme-folder /woocommerce/pdf/ and add just one text-line to the custom-template.

    But this text-line doesn´t show up in the generated invoices.
    Also, in the plugin-settings, no additional template is available for choosing.

    I´ve checked all the file-permissions.

    So, is this only possible with the pro-version?

    Thank you,
    Nice greetings

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    Hi @lorndal,

    No, this is possible in the free version as well. 🙂
    Could you post the full path you have? It should be:
    wp-content/themes/yourtheme/woocommerce/pdf/yourtemplate
    https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/creating-a-custom-pdf-template/

    Thread Starter lorndal

    (@lorndal)

    Hi,
    my path is correct, tried it in all those ways:

    wp-content/themes/mytheme/woocommerce/pdf/invoice.php
    wp-content/themes/mytheme/woocommerce/pdf/mypersonal-invoice.php

    tried it also with double copy in the woocommerce-germanized folder:
    wp-content/themes/mytheme/woocommerce-germanized/pdf/invoice.php
    wp-content/themes/mytheme/woocommerce-germanized/pdf/mypersonal-invoice.php

    Cleared the cache each time, no template-selection in the plugin-options available, just the “simple”-original-Template. When I make the changes in the original-template, everything works fine.

    HMMM, well must be a cache problem.

    Plugin Contributor Darren Peyou

    (@dpeyou)

    @lorndal,

    Your path isn’t quite correct, but close 🙂
    You are missing the actual template folder, inside the “pdf/” folder:

    wp-content/themes/mytheme/woocommerce/pdf/your-template-folder/template-files-here

    custom-template-structure

    • This reply was modified 2 years, 11 months ago by Darren Peyou.
    Thread Starter lorndal

    (@lorndal)

    ah, perfect.
    Thank you. It´s working 🙂
    nice greetings

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘copy to child theme only with the pro-version possible?’ is closed to new replies.