title: Creating a custom shipping rate computation for magento
body: <p>I fairly new to Magento, and I'm trying to make my shipping rate customized. I set my flat rate as disabled, then opted for the table rates option. What I basically want is:</p>
  
  <p>Get the State then Country:</p>
  
  <pre><code>If Victoria(Australia) - $5 shipping cost
  if everything else - $10 shipping cost
  </code></pre>
  
  <p>Then if item's weight is:</p>
  
  <pre><code> &lt;= 30kg = $5 additional shipping cost (regardless of number of items)
   &lt;= 70kg = $15 additional shipping cost (regardless of number of items)
   &gt;= 71kg = $20 additional cost (regardless of number of items)
  </code></pre>
  
  <p>However I do not know how to set the following options in the table rates tab. What I initially did was to set the condition to </p>
  
  <pre><code>condition = "Weight vs. Destination"
  
  Include virtual products in Price Calculation = "Yes"
  
  Calculate Handling Fee = "Fixed"
  </code></pre>
  
  <p>I just realized that I want to add the computations, but I have no idea how. How do I implement my computation for the shipping rates? </p>
  
  <p>I'm using Magento 1.8 by the way.</p>