Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

Translate Email Recipient field on Shop Email notifications #143

@Jon007

Description

@Jon007

The email notifications sent to the Shop have a recipient field which could be translatable by hooking:
$recipient = apply_filters( 'woocommerce_email_recipient_' . $this->id, $this->recipient, $this->object );

This would have the benefit of allowing a shop to have different email addresses for different languages, so orders in different languages can be automatically routed to different staff.

This affects the email types:

  • New Order
  • Cancelled Order
  • Failed Order

In order to set up different email addresses for different languages, these would need to be entered in the strings translation table, otherwise the emails will continue to be sent to the same address.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions