Support » Plugin: WooCommerce » Back to store-button on empty Cart page, and translation

  • Resolved govus


    Hello, I’ve used the function below to change the link where the titled button takes the user:

    function wc_empty_cart_redirect_url() {
    return ‘’;
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_empty_cart_redirect_url’ );

    Now I’m translating the website with WPML (Finnish -> English) and the button is in the empty cart both Finnish and English, linking to the Finnish store page. Is there any way to make the link “” when the user is on the english cart page? Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Andrew


    Automattic Happiness Engineer

    Hey there!

    Since this is a few weeks old, and about customization, I am going to mark as resolved. A lot of people have found help in the Advanced WooCommerce group with things like this, so I would recommend checking there, or we highly recommend contacting one of the services on our Customizations page (

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.