title: post values in smarty - CS-cart
body: <p>I was handed a cs-cart project and i've been having some minor issues, I think i'm missing something.</p>
  
  <p>given this (self explanatory)  code : </p>
  
  <pre><code>{if $smarty.get.mypin ==""}
      OK
      {assign var="my_pin_q" value=$smarty.post.mypin}
  
  {else}
      NOT OK
      {assign var="my_pin_q" value=$smarty.get.mypin}
  {/if}
  </code></pre>
  
  <p>So i'm checking if a get paramter exists, if it does i'm saving it to a local varaible, else i'm saving the .post variable(instead of of the get).</p>
  
  <p>This is followed by  :</p>
  
  <pre><code>&lt;input type="hidden" name="mypin" value = "{$my_pin_q}"&gt;
  </code></pre>
  
  <p>(inside a form ofcourse)<br>
  the issue at hand is that for some reason <code>.post.mypin</code> is always empty, even though it's passed correctly through the form.(I checked the POST request).</p>
  
  <p>Is this normal? Does smarty store the request variables somewhere else? </p>