WP TravelΒ now allows you to createΒ custom checkout fieldsΒ for specific trips based onΒ trip types or trip IDs. This feature enables you to collectΒ trip-specific informationΒ from customers during the booking process, offering greater flexibility and a more personalized booking experience.

How to Set Custom Checkout Fields

Step 1: Navigate to Field Editor

  • Go to Admin Panel > WP Travel > Settings > Trips > Field editor >Traveler Info Fields
  • Here you’ll see a list of existing global checkout fields.
WordPress WP Travel field editor showing traveler info fields like name, country, phone, email, and gender.

Step 2: Add a New Field

  • Click Add New Field.
WP Travel field editor showing traveler info fields with an Add Field button highlighted.
  • Configure the following options:
    • Field Label: The name of the field displayed to customers on the checkout page.
    • Name: A unique identifier used internally for the field.
    • Field Type: Choose the input type, such as Text, Select, Checkbox, Radio, etc.
    • Class: Add custom CSS classes for styling, if required.
    • Placeholder: Placeholder text shown inside the field to guide users.
    • Validation: Define validation rules (e.g., email, number, text).
    • Remove Field for All Travelers: Enable this option if the field should be shown only once per booking instead of for each traveler.
    • Required for All Travelers: Enable this option to make the field mandatory for every traveler.
Traveler field settings form with inputs for label, name, type, validation, and save options.

Step 3: Enable it to show on specific trips only.

Under the For Specific Trips section, choose where the field should appear:

  • Specific Trip
    Display the field only on selected trips by entering their Trip IDs
  • Trip Type
    Display the field on all trips belonging to a specific trip type

Only the selected trips or trip types will display this field on the checkout page.

Form settings screen showing a β€˜Travelers Field’ with options, highlighting a checked box to enable the field for specific trips only.

Tip: If you’re unsure how to find a Trip ID, refer to the guide:
How to View Trip ID in WP Travel?

Step 4: Save Changes

Click Save Field. The field will now appear on the checkout page for the assigned trips or trip types only.

Conclusion

Custom checkout fields per trip or trip type give you the flexibility to collect only the relevant information from your customers. This not only enhances the booking experience but also helps streamline your backend operations by reducing unnecessary data collection.

Check WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Please share your thoughts.

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro