How to Remove the Price on Paid Event Details

  • ajmusic24
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago #13516 by ajmusic24
What do I need to modify to prevent the price from displaying in the Event Listing and Details pages? I want to do this for paid events. I know this is possible, but I don't know which files to modify.

Thanks,
AJ

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
13 years 7 months ago #13546 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to Remove the Price on Paid Event Details
Hi AJ

I don't know why you want to hide the price. However, if you want to hide it, you will need to modify the two files below :

- components/com_eventbooking/views/category/tmpl/default.php

- components/com_eventbooking/views/event/tmpl/default.php

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #13637 by inwc
I need to have the price not displayed in one event. Is that possible? If I remove the code it will pull it out of all events. :(

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
13 years 7 months ago #13699 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to Remove the Price on Paid Event Details
Hi

You can use the if command in PHP ! Something like :

if ($item->id != ID_YOU_WANT_TO_REMOVE) {
//Code for displaying event here
}

If you know PHP code, you can do it easy, I believe !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc