✨
qomfort
  • Requirements for our theme
  • Global
    • Install Theme
    • 1: Download Theme
    • 2: Install Theme
    • 3: Import Demo Date
      • Automatic Import
      • Manual Import
  • Update Theme/Plugin
    • Automatic Update
    • Manual Update
  • Support Theme
  • Basic
    • Theme Options
      • Typography
      • Color
      • Layout
      • Header
      • Footer
      • Blog
      • Site Identity
  • Update Header
  • Update Footer
  • Mailchimp
  • Contact Form
  • Translate Words
  • Icons
  • Room
    • Change Slug to Room
    • Create Room
    • Custom Checkout Field
    • Manage Order
    • Create Manual Order
    • Check available Room
    • Settings
    • Build Room Template
  • 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();
}
PreviousBuild Room Template

Last updated 7 months ago