Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Hide price in Waiting List registration

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 11 months ago #106430 by OTWD
Hi have been trying to remove the price from the waiting list form as its confusing for users (they think they are supposed to pay to join)
Can this be done with a template override?

I was playing around with this line of code
Code:
LINE 152 components/com_eventbooking/view/register/tmpl/default.php if (!$this->waitingList) { $layoutData['registrationType'] = 'individual'; echo $this->loadCommonLayout('register/tmpl/register_payment_methods.php', $layoutData); }
But can't seem to hide the price if waiting list is triggered.
Any suggestions please

Success consists of going from failure to failure without loss of enthusiasm.

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

More
8 years 11 months ago #106435 by Donal
Replied by Donal on topic Hide price in Waiting List registration
You need to look a couple of lines before those and modify to...
Code:
if (($this->totalAmount > 0 || !empty($this->ticketTypes) || $this->form->containFeeFields()) && (!$this->waitingList)) { $showPaymentInformation = true;

I've asked Tuan to make this an option in the configuration, as it makes no sense (in my use of EB) to show a price when joining the waiting list.
The following user(s) said Thank You: OTWD

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

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 11 months ago #106440 by OTWD
Replied by OTWD on topic Hide price in Waiting List registration
Mighty job - thanks Donal that worked a treat!

Success consists of going from failure to failure without loss of enthusiasm.

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

Moderators: Tuan Pham Ngoc