title: How to show correct tax on basket (BEFORE checkout)?
body: <p>I have a simple problem.</p>
  
  <p>I have set up multiple tax rates for different countries.
  However, on the basket page - when not having visited the checkout page so far - it shows the tax from the base country.</p>
  
  <p>In my case: I have a shop based in AT. I have set up taxes for AT and CH. 
  If a user visits with a Switzerland IP, I restrict the country list to just Switzerland, and set a PHP variable. Nevertheless the country isn't in the woocommerce_countries anymore, WC calculates the taxes with the base country tax setting.</p>
  
  <p>See those images:</p>
  
  <p><a href="http://mal.goldbachinteractive.at/tax_on_basket.png" rel="nofollow">taxes in basket</a> - 
  <a href="http://mal.goldbachinteractive.at/tax_on_checkout.png" rel="nofollow">taxes on checkout</a></p>
  
  <p>I want to show the correct tax BEFORE the checkout. 
  I already figured out that the correct taxes are shown when the user has chosen a country on the checkout page, and a "$woocommerce->customer" node is available.
  But I struggle to make that happen.</p>
  
  <p>Anyone got an idea how to do this?
  Here's my plugin code which does not work:</p>
  
  <pre><code>define('USERCOUNTRY', get_country_proper()); // returns 'CH'
  $customer = new WC_Customer();
  WC()-&gt;customer-&gt;set_country(USERCOUNTRY);
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>Fatal error: Call to a member function get() on a non-object in wp-content/plugins/woocommerce/includes/class-wc-customer.php on line 27
  </code></pre>
  
  <p><strong>Update</strong>:
  The tax which will be used on the CART page (before entering a country on the CHECKOUT) is used here:</p>
  
  <p>Woocommerce -> Settings -> Tax -> Default Customer Address: [Shop Base country | none]
  <a href="http://docs.woothemes.com/document/setting-up-taxes-in-woocommerce/" rel="nofollow">http://docs.woothemes.com/document/setting-up-taxes-in-woocommerce/</a></p>
  
  <p>OK, can I alter this via script?</p>
  
  <p>Thanks for any help.</p>