Cab Grid Pro offers four calculation modes: Passengers/Luggage, Choice of Vehicle, Number of Tickets, and Length of Time. Version 5 introduces the ability to combine some of these modes – specifically with the Vehicles layout. This is useful where the choice of vehicle should be offered (rather than determined by the system).
Modes are combined by adding comma-separated values to the layout attribute of the Cab Grid Pro shortcode as follows. At this time, the only possible combinations are Vehicle and Time layout, and Vehicle and Ticket layout.
Vehicles + Time Layout
[cabGridPro layout="time,vehicle"]
Vehicles + Ticket Layout
[cabGridPro layout="tickets,vehicle"]





Good morning,
My question is: can I have two different plugin modes on the same website at the same time…?
For example, vehicles/time and passengers/trip in two plugins on the same website…?
Regards
Hi Pedro,
Yes, you can use different modes at the same time. You would adjust the plugin shortcode attributes for each instance of the CabGrid calculator you want to show.
This would still use the main pricing tables you have defined, but you could use groups are other attributes to limit which prices each instance uses.
Just to be clear, you cannot have two copies of CabGrid installed that operate independently of one another. You should always use shortcode/block attributes to determine which vehicles and parameters are available, and this will determine which prices are retrieved from your pricing tables.