title: How to get Prestashop current user id?
body: <p>I used the below code to try to get the current user ID in prestashop..
  am placing this code in another php file in my module directory and call it through by the module file.</p>
  
  <pre><code> $id = $this-&gt;context-&gt;customer-&gt;id_customer;
  </code></pre>
  
  <p>but its not working for me.. am using prestashop 1.5 ..</p>