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 5 years, 1 month ago.

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

    Hi Bryan,

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

    Tab 1) Day Trip
    Trip Date

    Tab 2) Multi-day Trip
    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?




    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.


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



    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.


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

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