{"id":2450,"date":"2014-04-27T14:47:38","date_gmt":"2014-04-27T14:47:38","guid":{"rendered":"http:\/\/www.bennewitz.com\/devel\/?p=2450"},"modified":"2014-04-27T14:54:51","modified_gmt":"2014-04-27T14:54:51","slug":"prestashop-and-virtual-try-on","status":"publish","type":"post","link":"https:\/\/www.bennewitz.com\/devel\/prestashop-and-virtual-try-on\/","title":{"rendered":"Prestashop and Virtual Try On"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2454\" alt=\"prestashop-logo\" src=\"https:\/\/www.bennewitz.com\/devel\/wp-content\/uploads\/2014\/04\/prestashop-logo.png\" width=\"250\" height=\"71\" \/><br \/>\nOver 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[28],"tags":[],"class_list":["post-2450","post","type-post","status-publish","format-image","hentry","category-virtual-try-on-flash","post_format-post-format-image"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/posts\/2450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/comments?post=2450"}],"version-history":[{"count":0,"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/posts\/2450\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/media?parent=2450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/categories?post=2450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bennewitz.com\/devel\/wp-json\/wp\/v2\/tags?post=2450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}