• kurtgschumacher

    (@kurtgschumacher)


    I would like to change the text “Shopping Item” on the mini cart to “Shopping Cart”. I have tried a number of things but none of them have worked.

    – I edited the easystore.pot file to add a msgstr value:
    #: inc/woocommerce.php:209
    msgid “Shopping Item”
    msgstr “Shopping Cart”

    This did not change the display at all.

    2. I edited the /inc/wooocommerce.php file to hard-code the cart label value.
    When I displayed the page the mini cart briefly flashed “Shopping Cart”, then changed it to “Shopping Item”.

    Can someone help with this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author Mystery Themes

    (@mysterythemes)

    Hello @kurtgschumacher

    If you just want to change the text then please add the following code in the functions.php file.

    add_filter( 'easy_store_shopping_cart_label', 'easy_store_new_cart_label' );
    function easy_store_new_cart_label() {
    	$new_label = __( 'Shopping Cart', 'easy-store' );
    	return $new_label;
    }

    or if you want to translate the text please create a local language .po and .mo file using the loco translate plugin.

    Thanks,

Viewing 1 replies (of 1 total)
  • The topic ‘Need help changing text’ is closed to new replies.