Changing Cart Title - by antiguanice - on WordPress WooCommerce support

This topic has 13 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp

  • Avatar: antiguanice
    antiguanice
    Participant
    January 21, 2015 at 16:45

    Hi,
    Is it possible to change the name of the Cart to “Shopping Bag” so that is what is displayed all over the site?

    Thanks!

    12 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 21, 2015 at 17:00

    Hello,

    This requires significant amount of additional customization.
    Could you please clarify with more details where you want to change text and show us screenshots?

    Regards,
    Robert Hall.

    Avatar: antiguanice
    antiguanice
    Participant
    January 23, 2015 at 16:23

    Hello Robert,

    An example is in the top right hand corner of the Home page.

    Can you tell me how to send you a screenshot please?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 23, 2015 at 16:34

    Hello,

    You can change text ‘Cart’ in \themes\royal\framework\woo.php file on line 1213.
    To make screenshot you can use LightShot program.

    Regards,
    Robert Hall.

    Avatar: antiguanice
    antiguanice
    Participant
    January 23, 2015 at 19:08

    Hello Robert,

    Thanks for the quick response.

    Your colleague Eva also gave me some advice about how to send a screenshot; I’ve added a link in the Private Content section just to ensure that we’re talking about the same thing.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 23, 2015 at 19:38

    Hello,

    Yes, Robert gave you the correct file to change “Cart” text – wp-content/themes/royal/framework/woo.php (line 1213).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: antiguanice
    antiguanice
    Participant
    January 26, 2015 at 20:11

    Thank you Eva & Robert.

    I have a related question that I have added in the Private Content section for your perusal.

    Thanks again.

    Please, contact administrator
    for this information.
    Avatar: antiguanice
    antiguanice
    Participant
    January 26, 2015 at 20:23

    Incidentally, I changed the Top Cart Widget and that worked well.
    Do I also need to change the title in the Shopping Cart Modal?

    Thanks!

    Avatar: Eva
    Eva Kemp
    Support staff
    January 27, 2015 at 10:27

    Hello,

    Could you please clarify with more details?
    Please show a screenshot where you want to change “Cart” text.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: antiguanice
    antiguanice
    Participant
    January 27, 2015 at 20:28

    Hello Eva,

    Here’s an extract of the file in question:

    // **********************************************************************//
    // ! Shopping cart modal
    // **********************************************************************//

    add_action(‘after_page_wrapper’, ‘etheme_cart_modal’);
    if(!function_exists(‘etheme_cart_modal’)) {
    function etheme_cart_modal( $product_id = ” ) {
    global $woocommerce, $product,$post;

    echo ‘<div id=”cartModal” class=”mfp-hide modal-type-1 zoom-anim-dialog”><div id=”shopping-cart-modal”>’;

    ?>
    <h3 class=”title”><span><?php _e(‘Cart’, ETHEME_DOMAIN); ?></span></h3>
    <?php

    ?>
    <div class=”shopping-cart-modal a-right” >
    <?php
    etheme_cart_items(150);
    ?>
    </div>

    <?php

    echo ‘</div></div>’;
    }
    }

    Avatar: Eva
    Eva Kemp
    Support staff
    January 27, 2015 at 20:55

    Hello,

    If the desired text is changed then you don’t need edit that section.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: antiguanice
    antiguanice
    Participant
    January 29, 2015 at 18:37

    Hello Eva,

    Thanks for the clarification.

    Regards!

    Avatar: Eva
    Eva Kemp
    Support staff
    January 29, 2015 at 18:46

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘Changing Cart Title’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.