#7036 Prices

Parent Category:
DPCalendar
Category:
Configuration
Last Updated:
Allon Moritz, Friday, 14 June 2019 10:59 (Friday, 14 June 2019)
Created:
Tuesday, 11 June 2019 12:15 (Tuesday, 11 June 2019)
Hits:
153

Introduction

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.

Options

In the DPCalendar options in the Booking System tab are two options available where you can define the currency symbol and price decimal separator.

Layout override

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)

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.