✨
vedhak
  • Global
    • Install Theme
    • Update Theme/Plugin
      • Automatic Update
      • Manual Update
    • Support Theme
  • Basic
  • Header Settings
  • Footer Settings
  • Create A Page
  • Typography
  • Color
  • Blog
  • Shop
  • Mailchimp
  • Contact Form
  • Translation
  • Icons
  • Header Footer Elements
  • Vedhak Elements in Elementor
  • Product Elements
  • Product Template Elements
  • Accommodation
    • Create Accommodation
      • Rental Type
        • Rental Type: Day
        • Rental Type: Hour
        • Rental Type: Period of Time
      • General Fields
      • Deposit
      • Features
      • Resources
      • Service
      • Unavailable Time (UT)
      • Advanced Options
      • Other Fields
    • Create Category
    • Settings
    • Custom Taxonomy
    • Custom Checkout Field
    • Create Order in backend
    • Manage Order
    • Check available accommodation
    • Make Product Template with Elementor
  • 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();
}
PreviousMake Product Template with Elementor

Last updated 7 months ago