• Resolved Saad Ahyat Hasan

    (@saadahsan)


    I have an issue with the booking on my site: https://balkannomads.com/our-rooms/

    When I select Room 1, I can’t proceed with the booking process and the book now button is inactive. I’ve tried creating a new room with a new ID but with the same name, Room 1, and the result is the same. Unable to book.

    Meanwhile, for other rooms, it’s fine. Where do you think the problem might be? And how should I debug this issue?

    The page I need help with: [log in to see the link]

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

    (@e4jvikwp)

    Hi,

    Thanks for your message. We just followed your link and tried to book the room called “Room 1” to see the problem. After selecting the stay dates, the “Book Now” button does not work as you also said, while (strangely) for another room (i.e. “Room 4”) the button works fine.

    The “Book Now” button displayed in the second-last step of the booking process is actually a submit button inside a regular HTML form. If you use the browser inspector tool, you will notice that when booking the “Room 1”, the submit button is outside the <form></form> tag, and this explains why clicking on that button does nothing. Instead, by inspecting the same source code when booking another room, like the “Room 4”, the submit button is correctly placed inside the HTML form.

    The strange thing is that the PHP code of that page is exactly the same for any room type you are trying to book. It’s the same “View” (page) of VikBooking, and so this behavior must be caused by a third-party plugin on your website that is somehow manipulating the source code of the page.

    Please make sure there are no overrides for those pages of VikBooking (you can use the “Overrides Manager” tool in the page “Global – Configuration” of VikBooking), and we suggest trying to temporarily disable some plugins that may be causing this issue. We noticed several logs in the browser console that belong to the Litespeed plugin. You should try to disable to see if that’s actually a caching issue.

    In any case, the native source code of VikBooking always places the “Book Now” submit button inside the form element, or proceeding to the last step of the booking process would never be possible. As long as you can fix the HTML manipulation issue on your website, the “Book Now” button will be placed inside the form element and clicking on it will regularly submit the form to the next page of the booking process.

    The VikWP Team

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.