• Hello,

    I copied the “New account” email template to my child theme as follows:

    wp-content/themes/customify-child-theme/kadence-woocommerce-email-designer/templates/woo/emails/customer-new-account.php

    However, editing this file does not apply any changes. If I edit the original file in Plugins folder, it gets the job done but then gets overwritten whenever I update the plugin / or change settings.

    Any ideas why the child theme file doesn’t seem to overrdie the original?

    Much thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, you need to use the same structure woocommerce uses our plugin will automatically defer to that if you’ve put a custom template in your child theme.

    For example
    wp-content/themes/customify-child-theme/woocommerce/emails/customer-new-account.php

    Ben

    I’ve tried editing my child theme templates for woocommerce but when the preview emails it shows the changes but when I send the emails I am not receiving the changes I’ve made.
    When I use the woocommerce preview emails it doesn’t show the emails I’ve changed with the email customeizer. It shows that the plugin is using these instead of the child theme templates. :
    wp-content/themes/customify-child-theme/kadence-woocommerce-email-designer/templates/woo/emails/
    The only time the changes are seen is in the preview of the customizer, but it doesn’t change the child theme templates at all.

    How do I force it to use the child theme templates I edit?

    • This reply was modified 2 years, 5 months ago by sddarkman619.
    • This reply was modified 2 years, 5 months ago by sddarkman619.
    hannah

    (@hannahritner)

    Hey @sddarkman619,
    Can you confirm that all your cache has been cleared?

    Kindly,
    Hannah

    we don’t use a cache.
    how does one “override” the child theme email templates so that the system used the kadence ones?

    Hi @sddarkman619

    If you are overriding email templates in your child theme those will always be used. You must remove the template files from your child theme if you want the Kadence Plugin files to be used.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Overriding template files via child theme’ is closed to new replies.