sadlyblue Posted December 12, 2012 Share Posted December 12, 2012 Hi, Is there a list of variables already set in prestashop so we can access? And are there any global smarty variables also? I know i can use $logged, for example in almost any tpl file. But i want to use others, like $id_customer or $group in blockcategories.tpl returns nothing... This might sound like a stupid question, but it sure would help me a lot. Thanks Pedro Link to comment Share on other sites More sharing options...
mohsart Posted December 12, 2012 Share Posted December 12, 2012 You can always insert {debug} in a .tpl file to see what variables are available /Mats Link to comment Share on other sites More sharing options...
Rolige Posted December 13, 2012 Share Posted December 13, 2012 yes, if u use PS 1.5 just activate the option in Performance and u can use smarty debug like www.myshop.com/?SMARTY_DEBUG Link to comment Share on other sites More sharing options...
sadlyblue Posted December 13, 2012 Author Share Posted December 13, 2012 Thanks, i'll try that... Link to comment Share on other sites More sharing options...
Recommended Posts