Dimitra Posted March 24, 2017 Share Posted March 24, 2017 Hello, I just noticed something strange with the .gr tlds price and I would like some help. I have created a page with the domain pricing table (the one from v6) following the steps from the WHMCS documentation https://developers.whmcs.com/advanced/creating-pages/ . All the domain data (tls, prices etc) were displayed correctly, since I made a change in the dist.whois.json file. We are resellers of a Greek registrar and I was told that I should edit this file and add .com and .eu in the extensions in order to register .com and .eu domains using our registrars api: { "extensions": ".gr,.com.gr,.net.gr,.org.gr,.edu.gr,.gov.gr,.com,.eu", "uri": "*api url goes here*", "available": "not exist" } Now, all the .gr tlds have -1.00€ in the registration price and 0.00€ in the renewal price. However, when I search and register a .gr domain, the price is 20.00€, which is the correct price. I checked the domain prices in admin area and they are correct and I haven't set up any discounts. Anyone knows why this happened? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 24, 2017 Share Posted March 24, 2017 Hello, I just noticed something strange with the .gr tlds price and I would like some help.I have created a page with the domain pricing table (the one from v6) following the steps from the WHMCS documentation https://developers.whmcs.com/advanced/creating-pages/ . All the domain data (tls, prices etc) were displayed correctly, since I made a change in the dist.whois.json file. that's mistake #1 - you shouldn't edit dist.whois.json, you just needed to create a custom whois.json file in the same folder and paste your whois changes into there... otherwise, whenever you update WHMCS, your changes will be overwritten - using a custom file, they won't. http://docs.whmcs.com/WHOIS_Servers mistake #2 is I don't see why/how changes to dist.whois.json would affect a pricing page. Now, all the .gr tlds have -1.00€ in the registration price and 0.00€ in the renewal price. However, when I search and register a .gr domain, the price is 20.00€, which is the correct price. I checked the domain prices in admin area and they are correct and I haven't set up any discounts. Anyone knows why this happened? i'd like to know how you entered negative pricing in v7 because, from my experience, if you try to in domain pricing, it will disable that yearly option. ...unless this is part of the registrar module? 0 Quote Link to comment Share on other sites More sharing options...
Dimitra Posted March 24, 2017 Author Share Posted March 24, 2017 mistake #2 is I don't see why/how changes to dist.whois.json would affect a pricing page. I just mentioned it because the domain prices changed after I modified dist.whois.json i'd like to know how you entered negative pricing in v7 because, from my experience, if you try to in domain pricing, it will disable that yearly option. I did not enter negative prices...I checked the prices in admin area and they are 20.00€. The negative price appears only in the domain price list. When I add a .gr domain in my cart, it has the right price (20.00€) ...unless this is part of the registrar module? Maybe I should ask the registrar? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 24, 2017 Share Posted March 24, 2017 ok, I came at this question from the wrong angle - the problem is the -1 in the pricing table... my bad. are you using the code developed in thread below? https://forum.whmcs.com/showthread.php?119130-WHMCS-v7-explore-domain-TLDs also, I posted a modified data feed that would output the domain pricing list in the v6 style - no TLD categories, but just one collapsible table. https://forum.whmcs.com/showthread.php?122790-After-upgrading-to-v7-domain-suggessions-have-gone&p=498618#post498618 I think either solution should give you a working pricing table in v7. 0 Quote Link to comment Share on other sites More sharing options...
Dimitra Posted March 27, 2017 Author Share Posted March 27, 2017 also, I posted a modified data feed that would output the domain pricing list in the v6 style - no TLD categories, but just one collapsible table. https://forum.whmcs.com/showthread.php?122790-After-upgrading-to-v7-domain-suggessions-have-gone&p=498618#post498618 It works great. Thank you. 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.