> For the complete documentation index, see [llms.txt](https://ova-themes.gitbook.io/qomfort/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ova-themes.gitbook.io/qomfort/how-to-access-to-checkout-page-when-click-booking-now-button.md).

# How to access to checkout page when click "Booking Now" button

if you want to in Tour Detail page: When you click Booking button, the system will redirect to Checkout page.&#x20;

Please add bellow code to functions.php file in child theme

```
add_filter('woocommerce_add_to_cart_redirect', 'skip_cart_go_checkout');
function skip_cart_go_checkout() {
    return wc_get_checkout_url();
}

```
