✨
tripgo
  • Global
    • Install Theme
  • Update Theme/Plugin
    • Automatic Update
    • Manual Update
  • Support Theme
  • Basic
    • Header Settings
    • Footer Settings
    • Create A Page
    • Typography
    • Color
    • Blog
    • ReviewX
    • WooCommerce
    • Additional CSS
    • Header Footer Elements
    • Tripgo Elements in Elementor
  • Destination
    • Settings
    • Create Destination Category
    • Create Destination
    • Destination Elements
  • Tour
    • Create Tour
    • Create Category
    • Custom Taxonomy
    • Custom Checkout Field
    • Create Manual Order
    • Manage Order
    • Check Tour
    • Build Product template in Elementor
    • Deposit Feature
    • Insurance Feature
    • Settings
    • Tour Elements in Elementors
  • Event
    • Create Event
    • Create Event Categories
    • Create Tags
    • Event Settings
    • Event Elements in Elementor
  • Other Settings
    • Google Map
    • Mega Menu
    • Mailchimp
    • Contact Form
    • Translation
    • Icons
  • FAQs
    • Create Cart and Checkout Page
    • How to access to checkout page when click "Booking Now" button
    • How to create Multiple Currency
    • How to change check-out in Booking Form
    • How to setup Tax in product
    • Enable Register User Form
    • Hide Scroll To Page
Powered by GitBook
On this page
  1. FAQs

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();
}
PreviousCreate Cart and Checkout PageNextHow to create Multiple Currency

Last updated 7 months ago