✨
qomfort
  • Global
    • Install Theme
  • Update Theme/Plugin
    • Automatic Update
    • Manual Update
  • Support Theme
  • Header Settings
  • Footer Settings
  • Create A Page
  • Typography
  • Color
  • Blog
  • Mailchimp
  • Contact Form
  • Translate Words
  • Icons
  • Header Footer Elements
  • Qomfort Elements in Elementor
  • Room
    • Change Slug to Room
    • Create Room
    • Custom Checkout Field
    • Manage Order
    • Create Manual Order
    • Check available Room
    • Settings
    • Build Room Template
    • Room Elements in Elementor
    • Room Detail Template Elements
  • How to access to checkout page when click "Booking Now" button
Powered by GitBook
On this page

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.

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();
}
PreviousRoom Detail Template Elements

Last updated 7 months ago