Support » Plugin: WooCommerce » Can not override WooCommerce Subscription emails

  • Resolved Mole_LR

    (@mole_lr)


    Hi!

    Using latest WooCommerce and WooCommerce Subscriptions and WooCommerce Membership plugins!

    When trying to override email template, for example, /wp-content/themes/child-theme/woocommerce-subscriptions/emails/subscription-info.php
    override does not work…

    So – is this impossible to override subscription template via child theme as normally it’s doing?

Viewing 5 replies - 1 through 5 (of 5 total)
  • dansperfect

    (@dansperfect)

    No you have don’t it correctly. I would make sure you have the correct ownership and file permission on the file. If all that is correct are you using a caching plugin? If so delete cache and see if problem still exists. When you do get the email has it changed at all from the original email? What are you actually changing in the file, what’s your code your changing or adding? There could be many reasons why it’s not changing. If the email doesn’t look much different then the original your code may be incorrect. But this usually will break the email some how. More information is needed to really give you correct help.

    Thread Starter Mole_LR

    (@mole_lr)

    nope, no cache plugin. Nothing is changed in the received email when using override. About what code – it’s not the issue of wrong code because I can even put simple line break of just empty file, it still sends default email. When changing directly in plugin file, everything works fine!

    Therefore I’m asking here why it’s not working when it should work! 😉

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hi @mole_lr,

    Does this happen only with Subscription emails, or also with the core WooCommerce emails?

    If it’s only happening with emails generated by Subscription, could you please submit a ticket request at the following link?

    https://woocommerce.com/my-account/create-a-ticket/?form=ticket

    You’ll need to be logged in to the account you used to purchase Subscriptions. Once there, select “Help with my purchased products”, and under the “I need help with:” menu, make sure that you select WooCommerce Subscriptions. That will allow you to send a ticket request that is forwarded to the correct team for support.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter Mole_LR

    (@mole_lr)

    This is resolved! Problem was that I used wrong template rewrite urls…instead of /wp-content/themes/child-theme/woocommerce/emails I tried to override /wp-content/themes/child-theme/woocommerce-subscriptions/emails

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can not override WooCommerce Subscription emails’ is closed to new replies.