Home Forums WoodMart support forum Return to shop link in mini cart link to an URL with my site's IP

Return to shop link in mini cart link to an URL with my site's IP

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #332302

    Juan Pablo
    Participant

    Hey,

    i found the issue that the “Return to shop” link in mini cart link to an URL with my site’s IP, can you help me check why this happen? how can I reolve it? it happens only in mini cart.

    Thanks

    #332305

    Juan Pablo
    Participant

    .

    #332494

    Hello,

    Please update the theme and check if the problem remains, deactivate all the plugins except these ones:

    Slider Revolution
    WPBakery Page Builder or Elementor
    Woodmart Core
    Contact Form 7
    MailChimp for WordPress
    WooCommerce
    Safe SVG

    Switch to to the parent theme.

    If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    In case, the problem remains, even after all the plugins are deactivated, confirm the permission for plugins deactivation, switching to the parent or default theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.

    Best Regards

    #333526

    Juan Pablo
    Participant

    problem persists…
    finally i add the snippet:

    function wc_empty_cart_redirect_url() {
    return ‘https://www.page.com/shop/’;
    }
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_empty_cart_redirect_url’ );

    #333645

    Hello,

    Please advise if this snippet has solved your issue?

    Best Regards

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