dthadmin wrote: Based on version 2.6.6, go to the same file... /components/com_dtregister/dtregister.php
To remove the initial price display at the top of the registration form, remove the section of code start at line 5174. It is the start of a new table row. Look for this:
Remove or comment out the code starting there and continue through line 5244 which ends with:
</td></tr>
Removing that will keep the price from displaying until the confirmation page.
My line numbers were different, presumably because the config had changed them. I found the correct table row and removed it but it only seems to work for individual registrants, not for groups.
pkolm - that doesn't matter. You may have a text editor that is adding extra lines or something. Just search for code that is shown in this post and don't worry so much about the line numbers.
This code only appears to remove the initial totals for an individual registration; however, it also disables the following fields:
Organization
Address
Address2
City
State
Zip Code
Country
What changes should be made to maintain these fields? Also, what code should I delete/comment from this file to remove the total from the group registration pages?
Don't worry about line numbers guys... just search for TOTAL_REGISTRATION_COST. This is the language tag that pulls in "Total Registration Cost". Once you find it in the php file, comment as desired. Anything you see onscreen that you want to move or remove, check your language file:
/language/en-GB/en-GB.com_dtregister.ini
Search for the text that shows and you'll find the language tag that is actually used in the file... as no displayed text is actually hard-coded in any of the php files. Then search the php file for the language tag... modify as needed.
You'll find code like this in more than one place. Modify in each location. There is no config for this... but the upcoming 2.7 makes many improvements related to this, so you won't have to dig in the code like this when you want to change the pricing display.