title: Getting tier price value according to the different stores
body: <p>I want to put the tier data into some var.For this , I am getting Tier prices of a particular product through json_encode() function like this:</p>
  
  <pre><code>var tierPrices = &lt;?php echo json_encode($_product-&gt;getTierPrice()) ?&gt;;
      var getPrice = function(qty){
          qty = Number(qty);
          var i = tierPrices.length;
          while(i--)
          {
              if(qty &gt;= tierPrices[i]['price_qty']){
                  return tierPrices[i]['price'];
              }
          }
          return null;
      };
  
  
  var price = getPrice(this.value);
  </code></pre>
  
  <p>What I need is get price value according to the different stores because it always pick up the tier price for default display store.I tried this:</p>
  
  <pre><code>var price = "&lt;?php echo Mage::helper('core')-&gt;currency?&gt;"+(getPrice(this.value));
  </code></pre>
  
  <p>But the value of tier price for both stores is coming same.
  How the tier price will come according to the different stores currency.</p>