New Landing How can we help? Atelier add to cart / basket

Viewing 15 posts - 1 through 15 (of 20 total)
  • Posted in: Atelier
  • #286563
    micheal_w
    Member
    Post count: 498

    Hi Guys,

    For some reason the button on product pages called “add to basket” but I am 100% sure that it was “add to cart” before.

    Any idea how to change it back to “cart”?
    it is maybe in front of my eyes, but I cannot find anything related to this…

    Cheers!

    #286595
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

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

    add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' );    // 2.1 +
     
    function woo_custom_cart_button_text() {
     
            return __( 'My Button Text', 'woocommerce' );
     
    }

    Thanks
    Mohammad

    #286606
    micheal_w
    Member
    Post count: 498

    Hi Mohammad, don’t have child theme unfortunately ๐Ÿ™

    Can you please advise why am I seeing ‘basket’ and not cart?
    I use Atelier with another site, it shows ‘cart’ and even your Uplift demo page shows ‘cart’ too..

    I just don’t understand where this word come from ๐Ÿ™

    #286609
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Just provide me login detail to inspect and resolve.
    Thanks
    Mohammad

    #286613
    micheal_w
    Member
    Post count: 498
    This reply has been marked as private.
    #286639
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    May i deactivate the plugins to check?
    Thanks
    Mohammad

    #286642
    micheal_w
    Member
    Post count: 498

    Sure, go ahead!

    #286721
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

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

    #286722
    micheal_w
    Member
    Post count: 498

    Hi Mohammad,

    Can you please advise why am I seeing ‘basket’ and not cart? Is this something to do with your theme?

    I use Atelier with another site, it shows ‘cart’ and even your Uplift demo page shows ‘cart’ too..
    I just don’t understand where this word come from ?

    Thanks for the plugin recommendation…

    #286723
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I debugged it but i did not find it. Have you made any changes in theme?

    Thanks
    Mohammad

    #286724
    micheal_w
    Member
    Post count: 498

    No I haven’t and that’s annoys me too, because didn’t do any manual code updates.
    Although I installed couple of plugins, but they shouldn’t change that as when all plugins are deactivated, the basket word still stays there…

    soooo strange…

    #286725
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its very strange. Just use the plugin to resolve it.
    Thanks
    Mohammad

    #286726
    micheal_w
    Member
    Post count: 498

    Want to avoid installing extra plugin, I might delete and reinstall Woocommerce and see what may happen…
    cheers!

    #286732
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can try this out. Let me know the feedback.
    Thanks ๐Ÿ™‚
    Mohammad

    #286823
    micheal_w
    Member
    Post count: 498

    Just done it, didn’t help… ๐Ÿ™

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

You must be logged in to reply to this topic.