New Landing How can we help? Atelier Cart Edit Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Atelier
  • #307896
    juliensalanave
    Member
    Post count: 125

    Hello, support team! Can you help me where can I navigate to change text from “return to homepage” instead of “return to shop” and also I would like to relink that to the homepage from shop page? and that gray borderline below I would like to remove that one also. Your help will me much appreciated. Please see attached photos for perusal. Thank you.

    -Billy

    Attachments:
    You must be logged in to view attached files.
    #307899
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    To change the url to the homepage, just add the code below in your functions.php of the child theme.

    function sf_custom_change_empty_cart_button_url() {
    	return get_site_url();
    }
    add_filter( 'woocommerce_return_to_shop_redirect', 'sf_custom_change_empty_cart_button_url' );

    To change the text you need to translate it, in this specific case you can use this plugin.
    https://wordpress.org/plugins/real-time-find-and-replace/

    -Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.