Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to Hide Price?

How to Hide Price? 8 years 2 months ago #26320

  • miroslav.tunjic
  • miroslav.tunjic's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Hi!

How to?

Hide Deposit & Price

We have FREE! Events ...
Deposit and Price collums are just confusing...

Why dont we have any options for this?
or, do we?

thx!

:M:
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

Last Edit: by nathan.dth.

How to; Hide Price? 8 years 2 months ago #26322

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
That is the cart view and there are no parameters to hide those columns. You'll have to modify two files:

/components/com_dtregister/views/event/viewcart.php

Find and remove (or comment out):
<th>

   <?php echo JText::_('DT_DEPOSIT_AMOUNT');?>

 </th>

 <th>

   <?php echo JText::_('DT_PRICE');?>

 </th>

Then in /components/com_dtregister/views/event/viewcart_row.php find and remove (or comment out):
<td>

   <?php echo DTreg::displayRate($this->registration['fee']['paid_amount'],$config->getGlobal('currency_code','USD'));?>

 </td>
 
 <td>

   <?php echo DTreg::displayRate($this->registration['fee']['fee'],$config->getGlobal('currency_code','USD'));?>

 </td>

If you put these modified files in the html override folder for your template, you won't lose your changes on future DT Register updates.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
  • Page:
  • 1
Time to create page: 0.816 seconds