ITKoolKidd Posted May 28, 2020 Share Posted May 28, 2020 Hello, I am using the domain pricing table data feed on my website and would like to remove the second column that has the number 1 in it. The idea is that the table would display Extension | New Registration Price | Renew Price | Transfer Price. Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 28, 2020 Share Posted May 28, 2020 4 hours ago, ITKoolKidd said: I am using the domain pricing table data feed on my website and would like to remove the second column that has the number 1 in it. The idea is that the table would display Extension | New Registration Price | Renew Price | Transfer Price. you should just need to remove the line below from the feed (~ line 51)... $year, and the part used to display the column heading... <th>' . \Lang::trans('domainminyears') . '</th> however, there's no point editing the existing domainpricing.php file as any changes you make to it will get overwritten during a WHMCS update - therefore, duplicate the feed file, remove the above line and save it with a different filename - and then reference that new feed filename in your main website. 1 Quote Link to comment Share on other sites More sharing options...
ITKoolKidd Posted May 29, 2020 Author Share Posted May 29, 2020 12 hours ago, brian! said: you should just need to remove the line below from the feed (~ line 51)... $year, That's what I thought, but when I remove that line the table doesn't get populated. So I gave it a break and tried again today with some fresh eyes, you also need to remove the html for the 2nd column on line 49 <td>%d</td> Thanks @brian! Also yes I am using a copy of domainpricing.php 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.