• Resolved kevinstevenson

    (@kevinstevenson)


    Custom action when you submit the form or when you click an event: make a reservation, ★ add a product to cart, redirect to a URL

    How please?

    On booking (through Woo product) it defaults to my home page – I want to direct to the cart instad.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Hello,

    If you have bound a booking form to a WooCommerce product, you shouldn’t use this feature.
    Use WooCommerce’s feature to redirect to cart instead:
    – Go to WooCommerce > Settings > Products tab
    – In the “Add to cart behaviour” option, check “Redirect to the cart page after successful addition”
    – Save changes

    And in your booking form, in the “Calendar” field settings > “Actions” tab, set the “Form action” option to “Default behaviour”.
    In the form settings, make sure that the “Redirect URL” is also empty.

    The Booking Activities feature you mentionned is meant to be used when you display the booking form with a shortcode (e.g.: [bookingactivities_form form="1"]). For example, if you want to display a global calendar on your homepage and redirect the customers to the product page corresponding to the selected event, or directly add a product to cart according to the selected event.
    Here is a blog post, a demo, and a documentation if you want to learn more about that feature.

    Regards,
    Yoan Cutillas

Viewing 1 replies (of 1 total)

The topic ‘Redirect on booking’ is closed to new replies.