• Resolved billysgtr

    (@billysgtr)


    Hi,

    I am testing the plugin before purchase. I am using the search form in my homepage. Every time I click the button to check availability, I am getting a list of blog articles instead of cars. Is this a known issue? How can I fix that?

    ps: When I am trying the same thing from any other page, I am getting the right results.

    Thank you

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

    (@e4jvikwp)

    Hi,

    Thanks for your message. This is probably happening because your home page is using the Shortcode of type “Search Form” rather than the apposite widget/block of type “Search Form”. Shortcodes should be used on any page of your website except the home page, or the URL routing functions will not work if the booking process is started from the homepage post ID, that has got no slug in the URL.

    Our suggestion is to publish the legacy widget “Search Form” in the home page, or if your Theme supports the new Gutenberg blocks, you can publish the apposite block of type “Search Form”. Widgets and Blocks share the same settings, and unlike Shortcodes, they allow you to select the landing page URL from which the booking process should start, through an apposite setting. This will be the action attribute of your booking form, and it should point to a page using a Shortcode of VikRentCar. This way your homepage search form will correctly route the URL of the booking process.

    We hope this helps!

    The VikWP Team

Viewing 1 replies (of 1 total)
  • The topic ‘Displays blog articles on search’ is closed to new replies.