integrapynoy Posted March 7, 2012 Share Posted March 7, 2012 Hey Guys, Quick question, on your WHMCS order form, do you guys have the datacenter/server location option setup in the product or as a configurable option? I have mine setup in the product details, but the problem is if i change or make a location update, i have to go through each damn product and update manually. If i could have it in the configurable option section, its just one change that affects all selected products. Im sure i have it setup the dumb way, so is anyone elses setup a different way? ....ps yes automation works fine the way i have it setup, just looking for an easier way to change things in the future. Thanks!!! Link to comment Share on other sites More sharing options...
icekohl Posted March 7, 2012 Share Posted March 7, 2012 I hadn't thought to set it up as a conf option but I don't see why it can't work. 1|DC1 -1 -1 -1 -1 -1 -1 2|DC2 -1 -1 -1 -1 -1 -1 3|DC3 -1 -1 -1 -1 -1 -1 etc.... hmm... setup a test product and try it. Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted March 7, 2012 Share Posted March 7, 2012 configurable option, works fine Link to comment Share on other sites More sharing options...
integrapynoy Posted March 8, 2012 Author Share Posted March 8, 2012 Yeah you would think right? I did try it and tested it out, but no, it just defaults to whatever is the first datacenter you put. So yes, in a sense it does work, but not as you want it too. Dimitrifrom31 how did you get your working as a configurable option? Link to comment Share on other sites More sharing options...
integrapynoy Posted March 15, 2012 Author Share Posted March 15, 2012 any help on getting it working properly using the configurable options would be my appreciated. thanks! Link to comment Share on other sites More sharing options...
icekohl Posted March 15, 2012 Share Posted March 15, 2012 I'm going to do a test this weekend. If I'm successful I'll help you out. Link to comment Share on other sites More sharing options...
jargen Posted April 17, 2012 Share Posted April 17, 2012 I had to edit the default_values file abit to get it to work for me. "if($params["configoption11"] == "USA") { $location = 1; } else{ $location = 2; } " "$billing_api_values["game_datacenter"] = $location;" I had a configurable option with one option being USA and the other Germany. Hope this makes sense. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.