• Resolved ltrihan

    (@ltrihan)


    Hello,

    Thanks a lot for this useful plugin ! ??

    I’m trying from a while to overwrite emails templates which are located in /plugins/quotes-for-woocommerce/templates/emails so I’ve built the path /quotes-for-woocommerce/templates/emails with all files needed inside my child-theme, just like I did it for exemple to overwrite some of woocommerce templates.

    But whatever I do on these templates in my child-themes, changes are not taken into account. I’ve tried to edit emails templates in the plugin directly and it works. But of course I don’t want to do this or my changes will be overwritten at next plugin update.

    So, do you have any idea how can I fix this issue ?

    Thank you very much ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pinal.shah

    (@pinalshah)

    Hi @ltrihan,

    You’ve named the folder incorrectly. It should be quotes-for-wc. Please change the folder name and things should start working fine.

    Tip: Next time you want to customize an email template from any plugin present in WooCommerce > Settings > Emails, please use the Copy file to theme button present in the Manage Email settings to ensure the file is setup correctly.

    I hope this helps.

    Thanks,

    Pinal

    Thread Starter ltrihan

    (@ltrihan)

    Hi @pinalshah and thanks a lot for your help. ??

    I thought I tried this (rename the folder as quotes-for-wc), I will retry it when I will have the time. So the path in my child theme is supposed to be /wp-content/themes/mychildtheme/quotes-for-wc/templates/emails ?

    About the tip, I don’t know why but I haven’t this “Copy file to theme” button like the one mentionned here https://help.designmodo.com/article/postcards-woocommerce/#:~:text=In%20the%20WooCommerce%20setting’s%20page,file%20in%20your%20theme’s%20folder.

    I won’t forget to post here when I’ve had time to fix my problem.

    Have a nice day,

    Lo?c

    • This reply was modified 1 year, 9 months ago by ltrihan.
    • This reply was modified 1 year, 9 months ago by ltrihan.
    Thread Starter ltrihan

    (@ltrihan)

    Hi @pinalshah,

    I confirm that my changes are not taken into account while the path of my files at the root of my theme are: /quotes-for-wc/templates/emails

    • /quotes-for-wc/templates/emails/plain/new-quote-request-sent-customer.php
    • /quotes-for-wc/templates/emails/plain/request-new-quote.php
    • /quotes-for-wc/templates/emails/plain/send-quote.php
    • /quotes-for-wc/templates/emails/new-quote-request-sent-customer.php
    • /quotes-for-wc/templates/emails/request-new-quote.php
    • /quotes-for-wc/templates/emails/send-quote.php

    Do you have any idea of what could cause this issue ?

    Plugin Author pinal.shah

    (@pinalshah)

    Hi @ltrihan,

    Sorry, I missed your earlier message. The path is incorrect. It should be

    /quotes-for-wc/emails/request-new-quote.php for normal HTML templates.

    For plain text emails it would then be /quotes-for-wc/emails/plain/request-new-quote.php

    This should work. Please let me know how it goes.

    Thanks,

    Pinal

    Thread Starter ltrihan

    (@ltrihan)

    Hi @pinalshah, thanks a lot, now it works well ??

    Have a nice day,

    Lo?c

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to overwrite emails templates’ is closed to new replies.