title: prestashop (php / SESSION variables ) how to store variables from a form and use them in if / else commands
body: <p>On prestashop 1.5 what i am trying to do is to initally create a form on the right hand side that asks customers</p>
  
  <p>Do you want to:</p>
  
  <p>(1) Display price with tax
  (2) Display price without tax</p>
  
  <p>Then there answer is stored in a smarty session variable. (i think thats the best way to do it?)</p>
  
  <p>Then on the product.tpl page, there would be if, else commands</p>
  
  <p>if session variable 'displaytax'</p>
  
  <p>prices with tax</p>
  
  <p>if session variable 'displaynotax'</p>
  
  <p>price without tax</p>
  
  <p>else
  end if</p>
  
  <p>Can anybody please help with code to:</p>
  
  <p>(1) Initially create this simple form and store the session variable?
  (2) To bring back the session variable so you can use it in the if else statement?</p>
  
  <p>Many thanks for taking the time to look</p>