New Landing How can we help? Themeforest Theme Support Dante Redirect to Checkout Woocomm issues versus suggested tutorials

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #112388
    mhote
    Member
    Post count: 394

    hi, there’s lots of woocommerce and other tutorials about redirecting (from both shop page and product page) directly to check-out, and skipping the ‘Cart’ page step. But I don’t see a ‘Catalog’ setting tab inside the Dante woocommerce setup, to tick the box that enables this. How can we sort this in the dante theme? Thanks!

    #112458
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not sure what your asking? Do you want to skip the cart page, or do you want to enable catalog mode on your site?

    – Kyle

    #112470
    mhote
    Member
    Post count: 394

    Seeking to 1) send user from clicking Add to Cart (whether on shop or single product page) directly to Checkout page and 2) then somehow inserting a ‘Continue shopping’ link on the Checkout page just in case.

    Don’t need ‘catalog mode’.

    Thanks!

    #112472
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok well as this is not a theme request, you would need to contact woocommerce support team

    – Kyle

    #112500
    mhote
    Member
    Post count: 394

    Thks Kyle – finally found a working option. This works…

    function mm_redirect_checkout($url)
    {
        global $woocommerce;
        $checkout_url = $woocommerce->cart->get_checkout_url();
        return $checkout_url;
    }
    add_filter('add_to_cart_redirect', 'mm_redirect_checkout');
    
    #112506
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great! I am glad that you found a solution and thank you to share this code.
    Thanks 🙂
    With Best Regards
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register