- This topic has 2 replies, 3 voices, and was last updated 12 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › WP Affiliate – How to change the default country in the signup form
I notice the signup form defaults to united states, how can i change it to default to Australia?
Which option of the affiliate area are you using?
http://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315
Hi,
As Admin stated above this depends on your affiliate view you’re using (see admin’s link)
Do one of the following depending on your answer to admin’s question:
1)
If you’re using option 1 as per the link then do the following:
Edit the following file:
~/plugins/wp-affiliate-platform/affiliates/register.php
Then look for the following lines of code:
foreach($GLOBALS as $key => $country)
print '<option value="'.$key.'" '.($key == "US" ? 'selected' : '').'>'.$country.'</option>'."n";
Change the “US” to “AU”.
2)
If you’re using option 2 as per admin’s link then do the following:
Edit the following file:
~/plugins/wp-affiliate-platform/views/register_view.php
Then look for the same code as above and change “US” to “AU”.