• Resolved squcsg

    (@squcsg)


    Hi,
    Am using the Masterstudy theme, and I want to skip the cart page.

    I used “code snippets” to add those code to my website:

    add_filter( ‘woocommerce_add_to_cart_redirect’, ‘skip_woo_cart’ );

    function skip_woo_cart() {
    return wc_get_checkout_url();
    }

    but it didn’t solve my problem.

    and I tried again from woocomarce setting, but there is no result.

    I used also a plugin called “Direct Checkout for WooCommerce” but nothing happened.

    please help me.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support supportstylemix

    (@supportstylemix)

    Hello,
    Thank you for reaching out to us!
    Skipping the cart page, you do not need to use code snippets. Go to STM LMS Settings and make sure that the Enable WooCommerce Checkout toggle button is disabled.[Screenshot] If it enabled, the user is redirected to the cart page, then to the checkout page. If it is disabled, a user is directly forwarded to the LMS checkout page to finish the purchase process.
    Please feel free to give any further requests in our support platform as the premium user if you are in trouble.

    Best regards

Viewing 1 replies (of 1 total)

The topic ‘skip cart’ is closed to new replies.