ChrisGooding Posted March 9, 2009 Share Posted March 9, 2009 I am wanting to know if it is possible to allow a user to 'skip' the domain option when ordering a dedicated server. Not take the option out all together, as I know it can be done, but rather just have the option to skip it if a domain is not required. We currently quite a few dedis a month, and 85% of those are to companies for internal use, such as mail servers, or file servers etc, and they very rarely need a domain with the server, just an ip. So obviously having the option to skip the domain section is a must. Now as said I know it can be 'turned off' or left out for certain products, but that would then mean that the option isn't there for people who do want a domain. We just want it to offer the customer the option to skip the domain selection if they want to. I suppose the question is, can it be done? 0 Quote Link to comment Share on other sites More sharing options...
rslyon Posted March 9, 2009 Share Posted March 9, 2009 (edited) Good point ! Edited March 9, 2009 by rslyon 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted March 9, 2009 Author Share Posted March 9, 2009 Thanks for the advice, but unfortunately that makes the options go away completely, and as said in my post, I am aware of that but that's not what I want to do. Basically the best way to explain it is, that I am looking for the ability to have an additional option that says Skip domain selection, underneath the current options. 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted March 31, 2009 Author Share Posted March 31, 2009 Anyone have any answers on this one.... Matt maybe? 0 Quote Link to comment Share on other sites More sharing options...
Inferno[DGT] Posted April 19, 2009 Share Posted April 19, 2009 Hello! We need this option too, because we are dedicated server provider... 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted May 2, 2009 Author Share Posted May 2, 2009 Has anyone figured this out, I have tried a few things as workarounds, but none worked. Matt, if your about any chance on letting us know whether this is possible Cheers 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted May 28, 2009 Author Share Posted May 28, 2009 Hi there has anyone come up with a workaround for this yet? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted May 28, 2009 Share Posted May 28, 2009 I suppose the question is, can it be done? Add another radio button in the tpl for "no thanks" ... 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted June 12, 2009 Author Share Posted June 12, 2009 Damn, forgot to subscribe to the thread so missed your reply, sorry. How would I go about this, is it just as simple as adding another input to the adddomain.tpl file? If so, how would this then work with the dbase, or the order itself? 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted June 16, 2009 Author Share Posted June 16, 2009 (edited) Ok, I am trying to set this up so there is an option to skip domain selection if required, but I think I am missing something. I have opened up adddomain.tpl within the default order files, and changed: <p><input type="radio" name="domain" value="register" id="selregister"{if $domain eq "register"} checked{/if} /> <label for="selregister">{$LANG.orderdomainoption1part1} {$companyname} {$LANG.orderdomainoption1part2}</label><br /> <input type="radio" name="domain" value="transfer" id="seltransfer"{if $domain eq "transfer"} checked{/if} /> <label for="seltransfer">{$LANG.orderdomainoption3} {$companyname}</label></p> To the following: <p><input type="radio" name="domain" value="register" id="selregister"{if $domain eq "register"} checked{/if} /> <label for="selregister">{$LANG.orderdomainoption1part1} {$companyname} {$LANG.orderdomainoption1part2}</label><br /> <input type="radio" name="domain" value="transfer" id="seltransfer"{if $domain eq "transfer"} checked{/if} /> <label for="seltransfer">{$LANG.orderdomainoption3} {$companyname}</label></p> <input type="radio" name="domain" value="skip" id="selskip"{if $domain eq "skip"} checked{/if} /> <label for="seltransfer">{$LANG.orderdomainoption5} {$companyname}</label></p> That seemed like a straight forward enough change, But the option doesn't appear. I have found that within configureproductdomain.tpl there is code referring to the selection, but it seems a little more complex, and I am unsure what to add/change to add the skip option. I have added the following, but again, it doesn't seem to make any difference: {if $skipdomainenabled} <input type="radio" name="domainoption" value="skipdomain" id="selskipdomain" onclick="document.getElementById('register').style.display='none';document.getElementById('transfer').style.display='none';document.getElementById('skipdomain').style.display='';document.getElementById('subdomain').style.display='none';document.getElementById('incart').style.display='none'" /> <label for="selskipdomain">{$LANG.orderdomainoption5}</label><br /> {/if} Any help would be greatly appreciated. Edited June 16, 2009 by ChrisGooding 0 Quote Link to comment Share on other sites More sharing options...
Kriszx Posted September 21, 2009 Share Posted September 21, 2009 Did you happen to get this figured out yet? 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted September 21, 2009 Author Share Posted September 21, 2009 Nope, unfortunately not, I just kept on breaking the page, or not breaking it but have nothing appear. I know it's going to be one of those simple little things, but I just can't seem to get it. 0 Quote Link to comment Share on other sites More sharing options...
Kriszx Posted September 21, 2009 Share Posted September 21, 2009 Ok, thanks. I figured it won't work for me and what I want it to do anyway. 0 Quote Link to comment Share on other sites More sharing options...
Herza.ID Posted March 25, 2020 Share Posted March 25, 2020 Is there any update about this? 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.