New Landing How can we help? Themeforest Theme Support Neighborhood Empty shopping cart says "Your shopping GAG is empty"

Viewing 7 posts - 1 through 7 (of 7 total)
  • #113549
    janet_hildegard
    Member
    Post count: 12

    The empty shopping cart says GAG instead of BAG. I’ve looked everywhere, and I don’t see where I can change this in the backend. Would you please kindly point me to the where this text is (in the Editor or the file on my sever), so I can correct this typo? Thanks.

    #113561
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert given below code at bootm of functions.php file of child theme.

    function sf_text_strings( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
    case 'Your shopping GAG is empty' :
    $translated_text = __( 'Your shopping bag is empty', 'woocommerce' );
    break;
    }
    return $translated_text;
    }
    add_filter( 'gettext', 'sf_text_strings', 20, 3 );

    With Best Regards
    Swift Ideas

    #114252
    janet_hildegard
    Member
    Post count: 12

    Okay, dude. I added that code, and now my website is a blank white page no matter what page I go to on the front end or the back end. What the hell…

    Attachments:
    You must be logged in to view attached files.
    #114271
    janet_hildegard
    Member
    Post count: 12

    I did some searching and found instructions on my host’s site on dealing with the “white screen of death”. Basically, I went into the files on the host’s server and changed the theme there. Once I did that I was able to get into the backend again and remove the code that precipitated the problem. So… I have my site back. Sorry if I was snippy – that caused some tears.

    Anyway, the empty shopping “bag” is still says “shopping gag”. Isn’t this text in a line of code where I can just change the “g” to a “b”???

    #114274
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    This reply has been marked as private.
    #114692
    cmdm
    Member
    Post count: 8

    Hi Ed, I’m having the exact same trouble as above, are you able to send me the fix as the fix is marked as private, thankyou.

    #114713
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @cmdm
    – Please create a new topic so i can sent it to you.
    Thanks

Viewing 7 posts - 1 through 7 (of 7 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