jcommaret Posted November 4, 2014 Share Posted November 4, 2014 Hello, I am just new to prestashop development, but discovering a code that as been done to another developer. I need to use a function that is already working inside another template file. (let call it model.tpl) - so after copying the code from model.tpl inside the already existing catalogue.tpl i want this function to work, i have the error who is : Notice: Undefined index: avis in /Applications/MAMP/htdocs/www/mmj/cache/smarty/compile/28/10/e0/2810e005268215e60631a8e2fe553c62c3d8d1e7.file.catalogue.tpl.php on line 88 Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/www/mmj/cache/smarty/compile/28/10/e0/2810e005268215e60631a8e2fe553c62c3d8d1e7.file.catalogue.tpl.phpon line 88 Could you please help me on the steps i have do toto have the function working ? - How to define the index ? - How to make this as object ? Kind regards, Link to comment Share on other sites More sharing options...
jcommaret Posted December 12, 2014 Author Share Posted December 12, 2014 i have solved the problem Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now