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

TOPIC: [SOLVED] Remove registration cost line

[SOLVED] Remove registration cost line 16 years 1 month ago #2704

  • Trinners
  • Trinners's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
In the case of free events, is there a way to remove the line on the registration page that says, \"Your total Registration cost: $ 0.00\"?

That line is going to cause me more heartache than good for my users.

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

[SOLVED] Remove registration cost line 16 years 1 month ago #2713

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You\'ll have to modify dtregister.php which is found at:
/components/com_dtregsiter/dtregister.php

Look for <?php echo TOTAL_REGISTRATION_COST;?> as this is the language tag that pulls in that text. Searching for this will find where this is used on various pages. The one you\'ll want to remove is around line 2837.

You\'ll find this block of code:

<tr><td><br /><?php echo TOTAL_REGISTRATION_COST;?>: <?php echo $currency_symbol. numberFormat(($amountCharged+$discount),2); ?>
<?php if (($discount>0) || ($latefee>0) ){?>
<?php if ($discount>0){?> - <?php echo $currency_symbol . numberFormat($discount,2) . \' (Member Discount)\' ; } ?>
<?php if ($latefee>0){?> + Late Fee <?php echo $currency_symbol . numberFormat($latefee,2); } ?> =
<?php echo $currency_symbol; echo numberFormat($_SESSION[\'register\'][\'amountCharged\'],2);}?>
</td></tr>

Simply comment it out and you should be good to go!

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

[SOLVED] Remove registration cost line 16 years 1 month ago #2717

  • Trinners
  • Trinners's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
That did the trick. Many thanks!

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

[SOLVED] Remove registration cost line 16 years 6 days ago #2881

  • sinfo
  • sinfo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I really need to get rid of this text too but cant seem to find exactly what to comment out? Since im no programmer i would appreciate if i get som instructions how to do this. If i search in the dtregister.php file, the text you specified to comment out is not to be found? Please help!

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

  • Page:
  • 1
Time to create page: 0.616 seconds