Okay
  Public Ticket #4557327
Different mail
Closed

Comments

  •  1
    Tabard started the conversation

    Hi,

    I would like the email sent when a team member is added ("You have been added as a member, here are your login details") to be different from the email sent when a seller is created by the administrator ("Your shop has been created, please finish setting it up"). How can I do this?

    Thank you in advance for your help.

  •  2,725
    WebWizards replied

    Hi Tabard,

    Thanks for reaching out!

     

    By default, MarketKing sends a specific, separate email when a team member is created. The default content for that email is:

    "Your vendor team member account for %s has been created! Here are your login details:..."

    Are you perhaps seeing a different email being sent, or would you simply like to customize this specific text to say something else?

     

    If you would like to change the text, please let me know what you want it to say, and I can provide you with a code snippet to modify this text.

    Or do you mean to change the email in terms of design? it would help if you can share more info.

     

    Kind regards,
    Stefan

  •  1
    Tabard replied

    Hi,

    When a shop is created, an email is sent to the seller. The default content was:

    Subject: [site_title] Your username and password info.

    Content:
    Username: Test
    To configure your password, go to the following address:

    Using an extension, I was able to change it to something like "Good news: your online shop has just been activated".

    The problem arises when adding a team member, because the same email is sent as when a shop is created.

    I would like two different emails because the content is not the same:

    - when creating a shop -> to the vendor "Good news: your online shop has just been activated"
    - when adding a team member -> to the team member "Your username and password info"

    Thanks

  •  2,725
    WebWizards replied

    Hi again,

    Thanks for explaining. After some testing, it seems the other extension you're using completely overrides the default email behavior, which made it difficult to separate the two cases cleanly.

    As a solution, I've pushed a plugin update on your site and added the following snippet to overwrite the default mail for team members:

    https://www.touten1.club/wp-admin/admin.php?page=wpcode-snippet-manager&snippet_id=1376

    To modify the email content, please modify that code snippet directly.

     

    Kind regards,
    Stefan