HomePage Forums Traveler Conditional Hide/Show Field in Tour Search Box

This topic contains 3 replies, has 2 voices, and was last updated by  Bryan 3 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9512

    Hi Bryan,

    On my website, I would like to have a search box that has the following fields:

    Tab 1) Day Trip
    Pick-up
    Drop-off
    Trip Date

    Tab 2) Multi-day Trip
    Pick-up
    Drop-off
    Trip Start Date
    Trip Return Date

    I figure this would look similar to how for flights the return date field is shown or hidden based on whether the flight is a one-way flight or a round-trip flight.

    Is there a way to implement this in the theme?

    Thanks!

    #9605

    Hello

    Temporary, only Flight service has search criterias like your description. You can create new attribute at Traveler Settings > Attributes for Tour type ( Day Trip and Multi-day Trip) and config that type for search box so user can select it to search.

    Thank you.

    #9791

    Yeah, that’s basically what I did for now. I’ll see if I can hide/show the departure date with CSS.

    #9824

    Hello

    In order to make that field appear for other service, you have to change the php code.

    The Css is only style the layout for that field.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Traveler’ is closed to new topics and replies.