Support » Plugin: Hyyan WooCommerce Polylang Integration » Change new order email by country

  • Resolved WeDesIn

    (@josif201)


    Dear plugin author,

    first of all, thank you for your plugin, I am using it on multiple websites.

    However, now I am going to need some help. The clients wants to receive new order emails from woocommerce based on order delivery location. So for that I am using this filter:

    woocommerce_email_recipient_new_order, described for instance here: Order location filter

    The problem is, that when your plugin is turned on, this filter does not work.

    Can you please advice on how to solve this?

    Thank you!

    Best Regards,

    Josef

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor jonathanmoorebcsorg

    (@jonathanmoorebcsorg)

    this plugin is filtering with priority 10, and if not in shop base langauge it checks to see if the recipient string is translated in the polylang string translation table. If the email is in base language or if there is no translation, the original string should be returned.

    So, you could try using a higher priority in your filter.

    You could also turn off the email module of this plugin altogether using Settings WooPoly, Features.

    If the behaviour of the plugin needs adjusting further, you are welcome to commend and contribute on https://github.com/hyyan/woo-poly-integration

    Thanks for the info, that solved it.

    Cheers,

    Josef

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change new order email by country’ is closed to new replies.