Booking People number

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme November 08, 2018
Login to reply
Kelly R Support Agent
5 years ago
Resolved.
Kelly R Support Agent
5 years ago

Hi,

You can not set minimum people and maximum peoples for each tour in Travelo theme.

If you want to change selectable numbers, please edit /inc/frontend/tour/templates.php file in theme directory.

You can find following code and change the number 10.

<select name="adults" class="full-width">

            <?php

             for ( $i = 1; $i <= 10; $i++ ) {

              $selected = ( $i == $adults ) ? 'selected' : '';

              echo '<option value="' . esc_attr( $i ) . '" ' . $selected . '>' . esc_html( $i ) . '</option>';

             }

            ?>

           </select>

Regards, Kelly

J M G
5 years ago

hello,


In the booking interface, the choice for number of adult ranges from 1 to 10.


What is the procedure to change this item. For some tours, the minimum people is 3 and max is 8, how to configure, in general, and for each TOUR ?

Thank you !