• Hello, I am using Your plugin and also Quotes for Woocommerce. It has built in 3 e-mail templates, that I had to modify to my needs manually. When Kadence is disabled, it sends e-mails using modified template from plugin folder. When Kadence is enabled, it overrides plugin template, so few required data is missing. Can You please assist?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Are you overriding the templates in a child theme, this plugin would defer to your theme for template control.

    What templates are you editing?

    Ben

    Thread Starter klaszewski

    (@klaszewski)

    Those are aditional templates from Quotes for Woocommerce, they are default in plugin template folder. Somehow Kadence overrides it’s content anyway, there ain’t no templates copied to theme itself from there. When I disable Kadence, it sends those templates, when I enable it again, it overrides them. The main issue is, those modified templates include clients company address, it is used for b2b orders only. All other mandatory emails from Woocommerce itself are fine.

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Hey,

    So the way this plugin works is it will override templates in plugins so that you can style them and edit the content. But if you want to edit the template then that template needs to be in your theme. That is how the hierarchy works. But this is best practice as well. If you edit templates inside a plugin folder they will be overridden when you update the plugin.

    So my suggestion is to move your edits into a child theme so you can preserve them from being changed when you update plugins and then you wouldn’t have any issue with this plugin overriding that.

    I hope that helps and clarifies.

    Ben

    Thread Starter klaszewski

    (@klaszewski)

    When I copy emails to my theme, it also ignores them. This is not the way it should work, is it?

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Which folder are you adding to your theme? Are you placing in the woocommerce/emails folder in your theme?

    Ben

    Thread Starter klaszewski

    (@klaszewski)

    Woocommerce has an option to copy template to local theme, which I used, and it copied them to plugin named folder inside of theme. I now manually moved them to woocommerce/emails to check.

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Let me know,

    Is this your plugin so I can take a look at what it’s doing: https://ww.wp.xz.cn/plugins/quotes-for-woocommerce/

    Ben

    Thread Starter klaszewski

    (@klaszewski)

    Yes, this is exactly this plugin.

    Thread Starter klaszewski

    (@klaszewski)

    It ignores my custom email.

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Can you send me your template files so I can experiment? I test and this plugin didn’t override the three templates from that plugin.

    new-request-sent-customer.php was used from the plugin folder not this plugin folder. Same with request-new-quote.php and send-quote.php

    So I’m not sure I understand what you are experiencing. If you can send me your templates that would help.

    [email protected]

    Ben

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Template edit for additional e-mails’ is closed to new replies.