Prices are displayed and used all over DPCalendar. Especially in the event details view or booking form. Rendering a price is not that easy as different countries or cultures do have special formats. To fit them all we have two ways to configure the format. One are options, the other is a template override.
In the DPCalendar options in the Booking System tab are two options available where you can define the currency symbol and price decimal separator.
The logic of price rendering can be found in the file /components/com_dpcalendar/layouts/format/price.php. Copy that file into the folder /templates/{your template}/html/layouts/com_dpcalendar/format/price.php and adapt it to your needs. To access the price you can use $displayData['price'].
Comments (0)