title: PHP Notice: Undefined variable: http_type
body: <p>I get the following PHP Notice in my opencart log file. </p>
  
  <blockquote>
    <p><code>Undefined variable: http_type in /home/AAA/public_html/vqmod/vqcache/vq2-catalog_view_theme_template_product_product.tpl on line 3</code></p>
  </blockquote>
  
  <p>Here is what I have in my <code>product.php</code> file's few first few lines</p>
  
  <pre><code>&lt;?php if (isset($this-&gt;request-&gt;server['HTTPS']) &amp;&amp; (($this-&gt;request-&gt;server['HTTPS'] == 'on') || ($this-&gt;request-&gt;server['HTTPS'] == '1'))) {
      $http_type = "https:";} else {$http_type = "http:";} 
  &lt;!---THIS IS LINE 3---&gt;  ?&gt;    
      &lt;?php echo $header; ?&gt;&lt;?php echo $column_left; ?&gt;&lt;?php echo $column_right; ?&gt;
      &lt;div id="content"&gt;&lt;?php echo $content_top; ?&gt; 
        &lt;div class="breadcrumb" xmlns:v="&lt;?php echo $http_type;?&gt;//rdf.data-vocabulary.org/#" id="brd-crumbs"  &gt;     
          &lt;ul&gt;
              &lt;?php foreach ($breadcrumbs as $breadcrumb) { ?&gt;
                  &lt;li typeof="v:Breadcrumb"&gt;
                  &lt;?php echo $breadcrumb['separator']; ?&gt;&lt;a property="v:title" rel="v:url" href="&lt;?php echo $breadcrumb['href']; ?&gt;"&gt;&lt;span&gt;&lt;?php echo $breadcrumb['text']; ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;?php } ?&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>Any help is highly appreciated</p>