Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Change Affiliate Sign-up Page Default Country

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Change Affiliate Sign-up Page Default Country

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 5 months ago by Nicola.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 8, 2015 at 10:40 am #13235
    Nicola
    Member

    On the Affiliate signup page – How do I change the default country from US to UK (NOTE WP eStore also installed).

    Already tried changing to UK in the following code but it has no effect!

    …./wp-content/plugins/wp-affiliate-platform/views/register_view.php

    ORIGINAL

    <select name=”acountry” class=”user-select”>

    <?php

    foreach ($GLOBALS as $key => $country)

    print ‘<option value=”‘ . $key . ‘” ‘ . ($key == “US” ? ‘selected’ : ”) . ‘>’ . $country . ‘</option>’ . “n”;

    ?>

    </select>

    CHANGED TOO

    <select name=”acountry” class=”user-select”>

    <?php

    foreach ($GLOBALS as $key => $country)

    print ‘<option value=”‘ . $key . ‘” ‘ . ($key == “UK” ? ‘selected’ : ”) . ‘>’ . $country . ‘</option>’ . “n”;

    ?>

    </select>

    Pointers appreciated.

    December 8, 2015 at 1:33 pm #72059
    wzp
    Moderator

    Does this help?

    https://support.tipsandtricks-hq.com/forums/topic/how-to-do-i-change-the-default-country

    December 8, 2015 at 11:00 pm #72060
    Nicola
    Member

    Yep already tried that, there must be something fundamentally wrong as changing the country code to GB does nothing. (I made the change direct to the live site….)

    Thanks for the heads up anyway.

    December 8, 2015 at 11:37 pm #72061
    admin
    Keymaster

    Lets make sure you are updating the correct file. Which affiliate view option are you using? See reference here:

    https://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    December 9, 2015 at 9:53 am #72062
    Nicola
    Member

    HI – Thanks for the reply. Using standalone affiliate view.

    December 9, 2015 at 9:58 am #72063
    Nicola
    Member

    Sorted……

    The info I researched initially stated make the default country code change to register_view.php

    I’ve just amended

    /home/easyprobate/public_html/wp-content/plugins/wp-affiliate-platform/affiliates/register.php

    all appears to be responding correctly to edits now.

    Thanks.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ