When cart is empty.. redirect user.. - by Louis

This topic has 6 replies, 2 voices, and was last updated 4 years, 10 months ago ago by Rose Tyler

  • Avatar: Louis
    Louis
    Participant
    May 17, 2019 at 15:36

    Hello!

    I try to add this snipet to redirect user to their panel instead of retrun to shop.

    function wc_empty_cart_redirect_url() {
    return ‘https://mywebsite/thepage/’;
    }
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_empty_cart_redirect_url’ );

    But, that dont work.

    Anysuggestion?

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 17, 2019 at 15:42

    Hello,

    Please read this topic https://www.8theme.com/topic/cart-page-4/

    Regards

    Avatar: Louis
    Louis
    Participant
    May 17, 2019 at 15:46

    Thanks!

    Fantastik support…!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 17, 2019 at 15:52

    You’re welcome!
    Would you mind to rate our product: https://prnt.sc/d256m6 https://themeforest.net/downloads
    That would be much appreciated ?

    Regards

    Avatar: Louis
    Louis
    Participant
    May 17, 2019 at 17:40

    Already do… 2 years ago. I have more than one lisence 😉

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 18, 2019 at 07:41

    Hello,

    Thanks for using our theme 🙂

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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