Over this day I wrote some new code to integrate Virtual Mirror with Prestashop 1.6. It was my first contact with Smarty, a php template engine. There was the requirement for a start_session() to get the php session id (not used by Prestashop itself). Afterwards it was an easy step to assign the session_id() to a global smarty variable, visible for every *.tpl.