Jump to content

Recommended Posts

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

17.PNG

Share this post


Link to post
Share on other sites

if the question is about displaying domain prices on the client side, then you have a number of options....

  1. 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/
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated