Okay
  Public Ticket #1379875
Search Widget
Closed

Comments

  • Glenly started the conversation

    Hi,

    Is there a way or a snippet I can use on a child-theme functions.php to just hide the time and the timepicker then make sure that the return will get a 00:00 instead of the current time on a later date?


    Also, how do I make the DROP-OFF LOCATION show up options based on the PICK-UP LOCATION? Say we created an availability for El Nido to Puerto Princesa and Port Barton.  On the search widget, we when we select El Nido as the PICK-UP LOCATION, we want to display only the Puerto Princesa and Port Barton on the DROP-OFF LOCATION.

  •  2,057
    Theme replied

    Hi,

    We do not know of a simple way of hiding the time part from the calendar while keeping the time as 00:00.

    With regards restricting locations based on what is selected, we plan to implement this in a near future upgrade. We do not have a fix for it at this time.

    Best regards,

    themeenergy support

  • Glenly replied

    How about changing the datepicker into a datepicker without the timepicker add-on?

  •  2,057
    Theme replied

    Hi,

    That won't work because the theme relies on using the time segment to find the availability.

    Best regards,

    themeenergy support

  • Glenly replied

    How about the time on the RETURN, is there a way to default it to 00:00 just like on DEPARTURE?


    At the moment, when we select a DATE for DEPARTURE other than today, it will have a 00:00 time but if it is for RETURN, it uses the same time as "today" on a future date.

  •  2,057
    Theme replied

    Hi,

    You can edit the calendar code in wp-content/plugins/transfers-plugin/js/search.js to suit your needs.

    You will find settings that can be set for the datetimepicker here:

    http://trentrichardson.com/examples/timepicker/

    Best regards,

    themeenergy support

  • Glenly replied

    Thanks

  •  2,057
    Theme replied

    You are welcome.

    Best regards,

    themeenergy support

  • peterkibe08 replied

    Glenly?

    did you find a solution for this? i need it.


    Also, how do I make the DROP-OFF LOCATION show up options based on the PICK-UP LOCATION? Say we created an availability for El Nido to Puerto Princesa and Port Barton.  On the search widget, we when we select El Nido as the PICK-UP LOCATION, we want to display only the Puerto Princesa and Port Barton on the DROP-OFF LOCATION.

  • Glenly replied

    @peterkibe08

    I haven't tried working on it but if I will, I'll start by looking at how destinations single page item displays available combinations. Say if I set an availability for Location1 to Location3, the Destinations>Location1 single-page will show Location1 to Location3.

  • peterkibe08 replied

    Dear I am very desperate for this solution.


    i want a solution that will make it this way,

    If some one selects Airport "A" as pick up point, the drop of points will be according to the drop of points in that Town where airport is located..

  •  2,057
    Theme replied

    Hi,

    At the moment that is not a feature of our theme. We hope to implement this improvement in the future.

    Thanks for your patience.

    Best regards,

    themeenergy support