Hi
The solution for this problem is as follow :
1. Go to Event Booking -> Configuration, in the Themes tab, set "Show price for free event" config option to No . By doing that, the text "Free" will not be showed when an event is free .
2. Create two custom fields for events: One to show children price and one to show adult price. We can do that as follow :
+ Go to Event Booking -> Configuration, set "Event Custom Field" config option to Yes .
+ Open the file components/com_eventbooking/fields.xml, change the file content to :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<params>
<param name="adult_price" type="text" label="Adult Price" description="The price for adult"></param>
<param name="child_price" type="text" label="Children Price" size="50" description="The price for children"> </param>
</params>
</config>
(You can get the file I attached below, unzip it and upload to components/com_eventbooking folder .
3. Now when you add/edit event, you will see a new tab called "Extra Information" . In this tab, you can enter adult price and children price and It will be showed in the front-end .
Hope this help !
Regards,
Tuan
Attachment fields-20110505.zip not found