Jump to content

Datacenter Location Option


integrapynoy

Recommended Posts

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

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

  • 1 month later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use