Home Forums WoodMart support forum Return to shop link

Return to shop link

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #423308

    roket.agency
    Participant

    Hello,
    I want return to shop link to be changed to my main home page. How do I do it?

    I tried function noted below but did not manage to fix it with it:

    function wc_empty_cart_redirect_url() {
    return ‘http://mywebsite.com/sample-page/’;
    }
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_empty_cart_redirect_url’ );

    #423309

    roket.agency
    Participant

    To clarify this button needs to be changed both in mini cart and on cart page.

    #423592

    roket.agency
    Participant

    Did you access and do something with site? I see errors over whole site cart function

    #423718

    Hello,

    Unfortunately, Woocommerce does not have this option and no WordPress theme has it either.

    Our support does not cover fixing third parties code or customization of Woocommerce. This button is the Woocommerce functionality.

    When I try to insert the code you provide I see the warning of the syntactic error. Please check and make sure you have copied it correctly. Perhaps it would work.

    If you have any questions please feel free to contact us.

    Best Regards

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