Travelmanager · call="eventinfo"

Event details and booking

Use this view on the detail page of a particular tour or event. Visitors see the description, images and departure location, then choose an available date and continue to tickets. Include both shortcodes: basket supplies the session basket used by the embedded booking flow.

Try this demo → · Shortcode and parameters

Try it step by step

  1. Read the journey information and open the date selection.
  2. Choose an available day to inspect the departure times and ticket options. A return journey appears only if the route is configured for one.
  3. For your own website, replace YOUR_RELATION_KEY and keep basket on the same page.

This is a real journey from the demo account. Opening the page or selecting a date does not create a completed booking.

If no departure is currently available, the account’s empty-state message is the expected result.

Live demo

Harbour Jazz Cruise

Tour

Torum - Groden
Trip duration: 1h 0min

Highlights

  • Two-hour round-trip cruise via Torum
  • Relaxed onboard jazz performance
  • Indoor seating and open-deck views
  • Drinks and snacks available to purchase

Description

Harbour Jazz Cruise

Step aboard MS Silver Horizon for an easy-going evening on the water. Settle into your seat, enjoy the music and watch the harbour scenery drift past as we sail from Groden via Torum and return to our starting point.

Your sample ticket includes the cruise and the onboard performance. Food and drinks are optional extras. Arrive at Groden 20 minutes before departure, bring your booking confirmation and a warm layer for the open deck. Contact the operator before booking if you require boarding assistance.

Starter demo: the programme, timetable, vessel and prices are illustrative. Images show a general maritime setting.

Availability and Prices

Outbound

Return

(optional)

Ticket

Wayfinder

Code used by this live demo

The live example uses demo-account values. The integration code below contains placeholders for your own account.

[travelmanager call="basket" lang="en"]
[travelmanager call="eventinfo" lang="en" product_id="starter_tm_en-4-7-1" cache="false"]

WORDPRESS INTEGRATION

Add this to your website.

Show the full description of one journey, its departure dates and the start of the booking process on your WordPress page.

Add a Shortcode block to your WordPress page and paste the following code.

[travelmanager call="basket" lang="en"]
[travelmanager call="eventinfo" product_id="YOUR_RELATION_KEY" lang="en"]

Keep the basket shortcode on the same page for journeys that open local trip details. It supplies the booking context and shows the current basket when populated.

Parameters for this example
ParameterValue / defaultWhat it does
calleventinfoUse this exact value to select the view shown in this example.
product_idRequired: YOUR_RELATION_KEYThe relation key identifies the journey and its departure/destination combination in your Travelmanager account. Replace YOUR_RELATION_KEY with that key. It is not the numeric ID of a shop article. A supported relation URL can supply this value instead.
viewOptional: omitted or listNormally the booking dates appear as a calendar. list requests a departure list for a one-way journey when dated details exist and the number of available days is within max. Otherwise the calendar is used.
maxOptional: 10Threshold for view="list": the maximum number of available days that may be shown in list form. Default: 10. This does not limit the whole booking period or reserve seats.

Use a departure list when up to ten days are available

[travelmanager call="basket" lang="en"]
[travelmanager call="eventinfo" product_id="YOUR_RELATION_KEY" view="list" max="10" lang="en"]

The journey description, dated availability, ticket types and return-journey options come from the connected account. A day without a selectable departure cannot be booked through this view.

Keep pages with booking sessions out of shared full-page/CDN caches. cache="false" affects only the plugin’s API-read cache.

Uppercase values such as YOUR_RELATION_KEY, ARTICLE_ID and STATION_ID are placeholders. Replace them with identifiers from your own account. Numeric sample IDs also belong to a specific account. Attribute names and call values stay unchanged in every language.

Account, language and shared options

Install and activate Travelmanager. Save your backend hostname under Settings → Travelmanager and enable Automatic language or select a fixed language. Store the optional private WordPress token there if your account requires it. The examples use the saved account; you can override it with account.

ParameterValue / defaultWhat it does
accountSaved settingOptional backend hostname, for example your-account.travelmanager.software, without https://. Overrides the default account.
langen / deLanguage code for this instance, for example en or de. Use Automatic or a fixed language in the plugin settings to enable the current language behavior.
cachefalseOptional: false bypasses the plugin API-read cache for this call. It does not clear a WordPress page cache or CDN cache. Usually omit this parameter.
vermittler_idEmptyOptional numeric referral ID. Existing referral information from a URL or session can also affect the booking context.

Use literal true and false for boolean attributes. Parameter names such as linie_id, linien_ids and linie_typ_id identify different filters and must not be translated or interchanged.

Content Bridge is an optional setting for exporting saved page and post text to chatbot knowledge, not a shortcode. It is disabled by default and requires the upcoming plugin build. See the Content Bridge guide on the Travelmanager overview.

Official plugin documentation →

More from PHCOM

Discover our software.

Find out more about the products behind these demos.