Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Modified templates in child theme are ignored

  • Resolved gmwp1111

    (@gmwp1111)


    Hi,

    I have copied the files
    “packing-slip.php” and
    “style.css” to

    wp-content/themes/flatsome-child/woocommerce/pdf/yourtemplate

    and did some modifications. This worked fine until I updated to the latest version 2.4.10. I have copied the files again and repeated the modifications but they are still ignored. If I modify the files directly in the plugin folder I get the expected results.
    Could you please check?

    Thanks!

    Best,
    Georg

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

    (@pomegranate)

    Hello Georg,
    If modifying the files in the plugin folder affects the appearance but modifying the ones in your child theme folder doesn’t, it means that you have still selected the old ‘Simple’ template in the plugin settings, rather than your custom template (which will have the same name as your folder).

    Thread Starter gmwp1111

    (@gmwp1111)

    You are right! The update has set the selection back to “simple” and I didn’t realize that. Thanks! Problem solved!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modified templates in child theme are ignored’ is closed to new replies.