title: OpenCart bug shows Free Shipping for UNDER the price that qualifies free shipping
body: <p>I setup OpenCart 1.5.5.1 to use free shipping for orders of $50.00+ however when I have $49.99 or lower the free-shipping is <em>incorrectly still an option</em>.</p>
  
  <p>How do I hide the free-shipping for the price under the qualifying price?</p>
  
  <p>Yes, I've changed the order.</p>
  
  <p>Yes, both flat and free shipping are enabled.</p>
  
  <p>Yes, I've checked the <em>catalog\model\shipping\free.php</em> file to ensure the code is correct AFAICT...</p>
  
  <pre><code>&lt;?php
  class ModelShippingFree extends Model {
      function getQuote($address) {
          $this-&gt;language-&gt;load('shipping/free');
  
          $query = $this-&gt;db-&gt;query("SELECT * FROM " . DB_PREFIX . "zone_to_geo_zone WHERE geo_zone_id = '" . (int)$this-&gt;config-&gt;get('free_geo_zone_id') . "' AND country_id = '" . (int)$address['country_id'] . "' AND (zone_id = '" . (int)$address['zone_id'] . "' OR zone_id = '0')");
  
          if (!$this-&gt;config-&gt;get('free_geo_zone_id')) {
              $status = true;
          } elseif ($query-&gt;num_rows) {
              $status = true;
          } else {
              $status = false;
          }
  
          if ($this-&gt;cart-&gt;getSubTotal() &lt; $this-&gt;config-&gt;get('free_total')) {
              $status = false;
          }
  
          $method_data = array();
  
          if ($status===true) {
              $quote_data = array();
  
              $quote_data['free'] = array(
                  'code'         =&gt; 'free.free',
                  'title'        =&gt; $this-&gt;language-&gt;get('text_description'),
                  'cost'         =&gt; 0.00,
                  'tax_class_id' =&gt; 0,
                  'text'         =&gt; $this-&gt;currency-&gt;format(0.00)
              );
  
              $method_data = array(
                  'code'       =&gt; 'free',
                  'title'      =&gt; $this-&gt;language-&gt;get('text_title'),
                  'quote'      =&gt; $quote_data,
                  'sort_order' =&gt; $this-&gt;config-&gt;get('free_sort_order'),
                  'error'      =&gt; false
              );
          }
  
          return $method_data;
      }
  }
  ?&gt;
  </code></pre>
  
  <p>What else can I do besides file a bug complaint with OpenCart?</p>