How to edit vendor "Welcome" email header

WooCommerce Multivendor Marketplace – Home Forums WCFM – Membership How to edit vendor "Welcome" email header

This topic contains 8 replies, has 2 voices, and was last updated by WCfM Forum WCfM Forum 4 months, 1 week ago.

  • Author
    Posts
  • #24297

    Kristin

    Where can I edit the header text on the vendor “welcome” email? (The part in the solid colored box that currently says “Welcome to the store!”)

  • #24321
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Welcome email subject and content can be modified from WCFM Dashboard -> Membership -> Settings -> Welcome Email

    Are you looking for something else, then please know me!

    Thank You

  • #24375

    Kristin

    It is the email header I am trying to modify, not the email subject or content. It’s the part that currently says “Welcome to the store!”.

  • #24434
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Can you please show me screenshot for the same?

    Thank You

  • #24510

    Kristin

    This is the welcome email sent when a member subscribes to a new subscription – I have edited the content & subject line via the WCFM dashbaord Memberships Account Settings, but cannot figure out where to change the text on the header (the part with the orange background that says “Welcome to the store!”).

    Example: https://www.dropbox.com/s/12e9wyilzr77qap/Screen%20Shot%202018-06-08%20at%208.48.30%20AM.png?dl=0

  • #24528
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Thanks for the screenshot.

    Add this to your site to change this.

    function wcfm_custom_translate_text( $translated ) { 
    	$translated = str_ireplace( 'Welcome to the store!', 'YOUR TEXT', $translated ); 
    	return $translated; 
    }
    add_filter('gettext', 'wcfm_custom_translate_text'); 
    add_filter('ngettext', 'wcfm_custom_translate_text');

    Set “YOUR TEXT” to change this.

    You may use Translation to change this as well.

    Thank You

  • #24540

    Kristin

    I’ll give that a try… thanks!

  • #24752

    arsalan

    hello..
    function wcfm_custom_translate_text( $translated ) {
    $translated = str_ireplace( ‘Welcome to the store!’, ‘YOUR TEXT’, $translated );
    return $translated;
    }
    add_filter(‘gettext’, ‘wcfm_custom_translate_text’);
    add_filter(‘ngettext’, ‘wcfm_custom_translate_text’);
    where i can add this code ?? in which file ??

  • #24753
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Add this in your child theme’s functions.php

    Or you may use plugin like this to add custom codes – https://wordpress.org/plugins/code-snippets/

    Thank You

The topic ‘How to edit vendor "Welcome" email header’ is closed to new replies.