View Categories

Shortcodes for eCab Taxi Booking Manager

2 min read

eCab Taxi Booking Manager Shortcodes and Parameters #

The eCab Taxi Booking Manager plugin provides multiple shortcode options to integrate a customizable taxi booking system into your WordPress website. Below is a breakdown of the available shortcodes and their configurable parameters.


Shortcode Usage #

Basic Booking Shortcodes #

  1. Dynamic Transport Booking Form
    Automatically calculates fare based on Google Maps distance. [mptbm_booking]
  2. Manual Transport Booking Form
    Uses predefined, fixed pricing between locations.[mptbm_booking price_based='manual']

Advanced Booking Shortcode with Parameters #

Full Customization #

[mptbm_booking price_based='dynamic' form='horizontal' progressbar='yes' map='yes']

This shortcode enables a fully-featured taxi booking form with a dynamic pricing model, horizontal form layout, visible progress bar, and integrated Google Maps.


Parameters and Options #

1. Price Model (price_based) #

Defines how fares are calculated.

  • dynamic (default): Pricing is calculated based on Google Maps distance.
  • manual: Fixed pricing between two locations set by the admin.
  • fixed_hourly: Pricing is based on hours/time.

Example:

[mptbm_booking price_based='manual']

2. Form Layout (form) #

Determines the form’s appearance.

  • horizontal (default): Standard form layout.
  • inline: Minimal single-line form.

Example:

[mptbm_booking form='inline']

3. Progress Bar Display (progressbar) #

Controls the display of the progress bar.

  • yes (default): Progress bar is visible.
  • no: Progress bar is hidden.

Example:

[mptbm_booking progressbar='no']

4. Map Display (map) #

Toggles Google Maps display for route selection.

  • yes (default): Map is shown.
  • no: Map is hidden.

Example:

[mptbm_booking map='no']

5. Tabbed Booking (tab) #

Enables different booking types (Hourly, Distance, Manual) in a tab format.

  • no (default): Tabs are disabled.
  • yes: Enables multiple booking types.

Examples:

  • Show all tabs: [mptbm_booking tab='yes' tabs='hourly,distance,manual']
  • Show only ‘hourly’ and ‘distance’ tabs: [mptbm_booking tab='yes' tabs='hourly,distance']
  • Show only ‘manual’ tab: [mptbm_booking tab='yes' tabs='manual']

Shortcode Examples #

1. Basic Manual Booking Form #

[mptbm_booking price_based='manual']

Displays a booking form with manually set fares.

2. Hide Map & Progress Bar #

[mptbm_booking map='no' progressbar='no']

Disabled map and a progress bar for a cleaner interface.

3. Enable Tabs for Different Booking Types #

[mptbm_booking tab=’yes’ tabs=’hourly,distance,manual’]

Only displays the hourly and distance-based pricing models.


The shortcode system provides flexibility for taxi service businesses to ease the booking experience according to their operational needs. 🚖💨

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping Cart