• Resolved juanchovega

    (@juanchovega)


    Hello guys, I am trying to build a page with divi + vik rent car plugin.

    I have managed to add the form to the homepage with the shortcode. But when trying to do a test search it gives me this error:

    “Wrong Date Format. Right Format is: DD/MM/YYYY”

    But as you can see in this screenshot the date format is correct.

    Please help. Thanks so much!!

    • This topic was modified 9 months, 3 weeks ago by juanchovega.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    Thanks for your message. The issue may just be related to cache, actually to the PHP Session that caches most configuration settings. In case you have recently changed the date format, it may be possible that the datepicker calendars are still using a different format, and that would explain why you are getting that error message. It should be sufficient to test the form on a private window with your browser where no cached settings will be applied.

    However, we just opened the link of your website home page, and we noticed that the datepicker calendars are not actually the default ones of VikRentCar (jQuery UI Datepicker which natively ships with WordPress), but they are rather being controlled by the “bootstrap datepicker” library.
    This would indicate a conflict with a third-party plugin or with some default settings of your Theme. Our suggestion in this case is to turn off any possible conflicting feature with the Theme or with third-party plugins so that only VikRentCar will handle the loading of the datepicker calendars that will use the proper date format.

    Lastly, our suggestion is to only use Widgets (blocks) in the home page, and to use Shortcodes on any other page of your website except the home page. This is because the home page has got no permalink, and so the URL routing functions during the booking process may not work as expected. Instead, widgets like the “Search Form” will let you choose the landing page URL from which the booking process will start (i.e. /book-now).

    We hope this helps!

    The VikWP Team

    Hi there,

    I got an issue With Divi too : My search form shortcode isn’t redirecting on result page.

    [vikrentcar view=”vikrentcar” lang=”*”]

    rcontreras16

    (@rcontreras16)

    I have the same problem in dive page, redirect from homapage, and not show the car rental

    Plugin Author e4jvikwp

    (@e4jvikwp)

    @kidjani @rcontreras16 redirects to the home page only occurs when your home page is using a Shortcode rather than a widget/block of type “Search Form”. Shortcodes should be set up first, before the widgets/blocks, but they should never be used on the home page, or the routing functions for the booking process will not work for the simple reason that the home page has got an empty Post ID. For this reason, the form would not have a landing page URL to route. This is why the home page should only use widgets/blocks from which you can use the apposite settings to choose the landing page, which will be a Shortcode published on a specific post ID with its own URL, which will be used as the “action” of the form (landing page where the booking process will start).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vik Rent Car + DIVI Theme’ is closed to new replies.