Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Golfer,
    Are you using EDD? All systems except EDD link to their shop page, but since EDD doesn’t have a default ‘shop page’ there’s nothing to link to. Either way, you can change the link by adding the following filter to you theme’s functions.php (just change the url value):

    add_filter('wpmenucart_emptyurl', 'change_wpmenucart_emptyurl', 1, 1);
    function change_wpmenucart_emptyurl ($url) {
        $url = 'https://yoursite.com/yourlink';
        return $url;
    }

    Let me know if that works for you!

    Ewout

    Thread Starter golfer300

    (@golfer300)

    Thanks for the response. I am using WooCommerce and my shopping cart doesn’t link to any specific page. When clicked it simply takes the visitor to the page they are currently on.

    Plugin Contributor Ewout

    (@pomegranate)

    Hey Golfer,
    I see you asked the same question a few months back, have you tried that solution?
    ‘go into WooCommerce Settings -> Pages make sure you set the “Shop Base Page” to the page you want the plugin to point to.’
    https://www.ads-software.com/support/topic/menu-cart-link-problem?replies=14

    If for some reason that doesn’t work, the filter should still do the trick for you.

    Let us know if that works for you!

    Ewout

    Thread Starter golfer300

    (@golfer300)

    Just tried that filter and it didn’t work. I implement my domain name where it says https://yoursite.com/yourlink right?

    P.S. I am now getting a blank white screen when trying to access my site. What should I do?

    Plugin Contributor Ewout

    (@pomegranate)

    Not just the domain name, but the complete URL of the page you want to link to.

    Are you using the latest version of WP Menu Cart?
    (not WooCommerce Menu Cart)

    What is your shop base page set to in the WooCommerce settings?

    Thread Starter golfer300

    (@golfer300)

    I am using the latest version of WP Menu Cart and my shop base page is set to the cart but my shop page is actually a category as you can see but the URL. https://www.codingmadesimple.com/product-category/courses

    Plugin Contributor Ewout

    (@pomegranate)

    Just to make sure: have you closed & re-opened the browser window/tab after adding the filter? WooCommerce AJAX cache is a bit persistent sometimes.

    If it still doesn’t work, you could create a (temporary) admin account and send us the details at [email protected]. Right now codingmadesimple.com is blank for me.

    Thread Starter golfer300

    (@golfer300)

    Thanks for all your help. I sent you an email.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Shopping Cart Link’ is closed to new replies.