Support » Plugins and Hacks » WooCommerce » Skip shopping cart in Woocommerce

Skip shopping cart in Woocommerce

  • Hi there,

    In my shop I’m selling only virtual products and a lot of them are free (just sign in). It’s not likely that people will buy or sign in for more than 1 product at the time, so I don’t need the shopping cart.

    I would like that when people ‘buy’ the product, they go immediately to ‘checkout’ (leave name& address). Little steps to conversion.

    Is it possible to skip the shopping cart? And how do I do that?




Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi mlloes, you can add this to your functions.php

    hope this will help

    add_filter ('add_to_cart_redirect', 'redirect_to_checkout');
    function redirect_to_checkout() {
        global $woocommerce;
        $checkout_url = $woocommerce->cart->get_checkout_url();
        return $checkout_url;

    Thanks, but I tried this one, I found it already by another search string (sorry).

    I already found a more simple solution. In Settings > Pages I made the shoppingcart page the pay page! For now, it works for me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Skip shopping cart in Woocommerce’ is closed to new replies.
Skip to toolbar