Travelmanager demo

Products and vouchers

Present your product catalog and gift vouchers inside WordPress.

< Previous

Salted Potato Crisps

A crunchy savoury snack for your journey. One individual portion of salted potato crisps.

Collect from the kiosk. Ask staff for ingredients and allergen information. Sample product and price for the Starter demo; image is illustrative.

Price: 2,50

WORDPRESS INTEGRATION

Add this to your website.

Show the account catalog and open product or voucher details, with checkout continuing through the hosted shop.

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

[travelmanager call="basket" lang="en"]
[travelmanager call="shop" 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
callshopUse this exact value to select the view shown in this example.
category_idBackend catalogOptional single shop-category ID. This is distinct from a route type or rental category.
viewStandard price displaynetto selects net-price presentation. A CSV export is selected by the page query view=csv, not by this shortcode attribute.
targetCurrent hostOptional host used for links in the CSV feed; not a general shop filter.

Select a shop category

[travelmanager call="basket" lang="en"]
[travelmanager call="shop" category_id="7" lang="en"]

The generated item query opens the corresponding product and purchase controls. Keep generated checkout and session parameters unchanged.

The numeric IDs in the examples are placeholders. Replace them with IDs from your own 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.

Official plugin documentation →

Try it yourself.

Browse the demo catalog and open a product for more information. Product availability depends on the demo account.

Demonstration account: please use test details only. Do not enter personal or payment information.

Explore more Travelmanager features →

More from PHCOM

Discover our software.

Find out more about the products behind these demos.