raynox Posted October 31, 2011 Share Posted October 31, 2011 Hello guys, sorry for the question but i have searched the forum and some answers i found didn't quite solve my issues... Im trying to get both category and parent category ids while in tpl (main website page at this point)Someone mentioned using cookiesor use the product to find these ids, but the problem is at this stage im trying to retrieve those ids without any product selected. Im new to Prestashop and Im stuck with this for days now, so please bare with me on this one.. Thanks in advance! Best regards. Link to comment Share on other sites More sharing options...
vinaym Posted October 31, 2011 Share Posted October 31, 2011 hi raynox, From what i got, if you have the objects of the categories, then there is a field id_parent, use it. And if you dont have the objects, assign the id_parent to smarty where other category features are assigned. hope it helps Link to comment Share on other sites More sharing options...
raynox Posted November 1, 2011 Author Share Posted November 1, 2011 Thanks for the help Vinaym. I'll try that and report here ! Best Regards ! 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