Hi,
Thanks for your message. It sounds like most of the issues you are having are caused by the fact that your home page is using a Shortcode of VikRentCar rather than the apposite “Search Form” widget. I just visited your website, and it looks like this is exactly the case. The booking form on your home page is not the widget, it is rather the Shortcode of type “Search Form”, and that’s not supposed to be in your home page.
In order for the routing functions and landing pages to work properly during the booking process, the home page, which is a special page of WordPress with an empty “page ID”, should not contain any Shortcode of VikRentCar, which would render a page. In your website home page you are only supposed to publish widgets of VikRentCar. Not sure how you manage your WordPress pages, but any content builder plugin would let you publish the widget “Search Form” of Vik Rent Car in that same exact position where you currently have the Shortcode.
Widgets come with a few parameters, including one called “Page”. This setting of the widget will determine the action of the form, hence the landing page URL from which the booking process will start. This page should contain a Shortcode of Vik Rent Car, possibly one of the type “Search Form” so that you can control the friendly URL the booking process should get (i.e. “/book-now”).
We recommend publishing at least 2/3 Shortcodes of Vik Rent Car to one respective WordPress page:
- Search Form (what you currently have in the home page should be moved to a different page than the home)
- Order Details (fundamental to be able to access the rental order details page link in the front-end for email messages, Cron Jobs or even the wp-admin section)
- Cars List (useful to display a fleet of your vehicles, optionally filtered by category)
This correct configuration of the Shortcodes and widget(s) should solve all your problems, including the third, because if you visit the official demo website of Vik Rent Car (front-end), you will see that after selecting the rental dates you should land onto the search results page. Instead, if you start booking a vehicle from a “Car Details” page, the booking process will skip the search results to take you directly to the page to choose the “Type of Price” (Rate Plan/Insurance Type/Rental Cost) and eventually some extra services or options (Pro version).
We invite you to get in touch with our technical support team through our website should you need any help setting up the Shortcodes and widgets properly.
Thank you!
The VikWP Team