DennisHermannsen Posted July 16, 2019 Share Posted July 16, 2019 Is it possible to have WHMCS output certain additional domain fields if an order is a transfer of a domain? Some domains doesn't require the same fields for transferring, so we want to hide these. Other domains require information on registration that transfers doesn't. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 16, 2019 Share Posted July 16, 2019 7 minutes ago, DennisMidjord said: Is it possible to have WHMCS output certain additional domain fields if an order is a transfer of a domain? not natively, by default in v7.7+, they're now all shown to both... https://requests.whmcs.com/topic/additional-fields-in-domain-transfers 6 years, 24 votes... gets completed and closed. now the long battle begins to get the option to only show these fields in registrations or transfers, not both... https://requests.whmcs.com/topic/ability-to-separate-registration-additional-fields-from-transfer-additional-field 11 minutes ago, DennisMidjord said: Some domains doesn't require the same fields for transferring, so we want to hide these. Other domains require information on registration that transfers doesn't. i'd be surprised if this was fixed in v7.8, so you're probably looking at v8 at the earliest. practically, you could probably use a ClientAreaPageCart hook, run it on configuredomains only, and then manipulate the fields subarray within $domains based on whether the current domain is a transfer or registration... but the $domains array doesn't store if it's a transfer or not - though if you need EPP for all transfers then you could get away with using that value... otherwise you may need to look at the session array. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 16, 2019 Author Share Posted July 16, 2019 Jesus Christ... Well, thanks @brian! I can't wrap my head around why the additional domain fields has been implemented in such a bad way 😄 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted July 17, 2019 Share Posted July 17, 2019 A workaround does exist. There's a module by Resellerclub-mods ( L.C.D.Registrar Module - https://www.resellerclub-mods.com/whmcs/logicboxes-registrar-module.php ) which does a lot of things ... if you use Resellerclub for domain registering. In the bulk of functions available, there's also a "TLDs which requires Additional Infos for Transfer" which makes the magic... for any TLD you set, even if it's managed by a different Registrar. Rather annoying install this module just to get this function, but it works fine.  1 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.