New Landing How can we help? Themeforest Theme Support Neighborhood WooCommerce – Change text

Viewing 15 posts - 1 through 15 (of 15 total)
  • #254520
    riasbedankjes
    Member
    Post count: 34

    Hello,

    How can I change the text “Item added to bag” on my website ?
    Shop on my website (Dutch): http://www.wesketemp1.pkrhosting.co.uk/winkel/
    Shop of the theme: http://neighborhood.swiftideas.com/shop/

    When you click on “Ad to shopping bag”, there come some text like “Item added to bag”. I want to change that text. I have done this before with the editor, but I dont know how to do this again.. Hopefully you can help me with this problem.

    Kind regards,
    Wesley

    #254640
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    function sf_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Item added to bag' :
    			$translated_text = __( 'Insert your text', $domain ); //just change it
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'sf_text_strings', 20, 3 );

    Thanks
    Mohammad

    #254649
    riasbedankjes
    Member
    Post count: 34

    How can I create an child theme ?

    #254661
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    The child theme is provided in the download files from Theme Forest

    – Kyle

    #254665
    riasbedankjes
    Member
    Post count: 34

    it doenst works

    #254685
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I see that its working fine. Can you please attach screenshot.
    Thanks
    Mohammad

    #254701
    David Martin – Support
    Moderator
    Post count: 20834

    @weske01 – we supply the child theme for you. It’s within the main zip file from ThemeForest.

    Thanks.

    #254712
    riasbedankjes
    Member
    Post count: 34

    @Mohammad

    When you click on this page: http://www.wesketemp1.pkrhosting.co.uk/winkel/
    And then click on the product. You see the text: ‘Artikel toegevoegd aan de winkelwagen’ . But that’s not the right text. It must be this: ‘Insert your text’.


    @David
    Martin
    Im using that child theme what you mean ๐Ÿ™‚

    #254718
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please refer this article http://www.swiftideas.com/knowledgebase/translating-the-theme-using-poedit/. It will help you to change the text as you want.
    Thanks
    Mohammad

    #254797
    riasbedankjes
    Member
    Post count: 34

    I cant find the text ‘Artikel’ toegevoegd aan de winkelwagen’.

    Can you help me with this, please ?

    #254851
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this plugin https://wordpress.org/plugins/real-time-find-and-replace/ to change this text.
    Thanks
    Mohammad

    #254865
    riasbedankjes
    Member
    Post count: 34

    It doenst works with that plugin. Already tried with this.

    #254878
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have managed to resolve the issue so please check it now. Just go to Admin > Tools > Realtime find and replace > Just Change the TEST and update settings.
    Thanks
    Mohammad

    #254898
    riasbedankjes
    Member
    Post count: 34

    Problem resolved. Thanks Mohammad for your support again !!! ๐Ÿ™‚

    #254960
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. Glad ๐Ÿ™‚ to help you.
    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register