CanadianDeer Posted May 20, 2019 Share Posted May 20, 2019 Hello, On my back office I configured my price for domain. But on my tpl I want to display the extensions domain and the price who was configured. Which is the constant for this if she exist or how make that? Thanks 0 Quote Link to comment Share on other sites More sharing options...
CanadianDeer Posted May 20, 2019 Author Share Posted May 20, 2019 Sorry, Actually I use a table written in domain-names.tpl of my Lara theme. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 21, 2019 Share Posted May 21, 2019 if the question is about displaying domain prices on the client side, then you have a number of options.... there is a hidden (not publicised) feature of WHMCS in that it has a separate domain pricing page (it shows grace/redemptions fees if you use them too) - for you, that page is @ https://lounce.hosting/domain/pricing/ the pricing table shown on the domain register page can be tweaked to show grace/redemption fees if required (or added to the domain transfer page) - https://whmcs.community/topic/294365-redemption-fee-in-domain-price-metrix/?do=findComment&comment=1315341 the same pricing table can be forced to show all TLDs by editing the template (not relevant for you yet as you only have 5 TLDs with priced) - https://whmcs.community/topic/272973-domain-matrix-show-all/?do=findComment&comment=1246181 you could use a data feed to show your current domain pricing in a basic table - https://docs.whmcs.com/Data_Feeds#Domain_Pricing_Table specific TLD prices could be pulled into your custom domain page using data feeds (they can slow the page load if too many are used at the same time) - https://docs.whmcs.com/Data_Feeds#Individual_TLD_Pricing if that domain page is using WHMCS, then you could use an action hook to pull current prices from the database - though feeds would be simpler to use if you're unfamiliar with hooks. 1 Quote Link to comment Share on other sites More sharing options...
CanadianDeer Posted May 21, 2019 Author Share Posted May 21, 2019 Thanks brian it's work with data feeds 1 Quote Link to comment Share on other sites More sharing options...
CanadianDeer Posted May 24, 2019 Author Share Posted May 24, 2019 Hello, I'm coming back to you Brian because the data feeds take a lot of time to load, you can see for yourself by going to the page. Would you have a way to propose me? Thanks 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.