Support » Theme: Easy Store » Changing “Shopping item” TEXT

  • candy2012

    (@candy2012)


    Hi there,
    I am trying to change the text for the basket (called “Shopping item” in your theme) but you seem to have hard-coded it somewhere and nothing seems to work!
    So could you please provide the solution for changing that Shopping item text?

    BTW: nobody every calls the cart “shopping item” – it is called basket, or cart, but never “shopping item”

    Waiting for the solution!

    Thanks!

Viewing 1 replies (of 1 total)
  • AddWeb Solution Pvt. Ltd.

    (@addweb-solution-pvt-ltd)

    Hello candy2012,

    Add the following code in end of functions.php

    function wpfi_change_text( $translated_text ) {
    if ( $translated_text == ‘Shopping Item’ ) {
    $translated_text = ‘NEW TEXT’;
    }
    return $translated_text;
    }
    add_filter( ‘gettext’, ‘wpfi_change_text’, 20);

    Hope this will helps you.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing “Shopping item” TEXT’ is closed to new replies.