SonnyBoyII Posted June 21, 2011 Share Posted June 21, 2011 Hi,I would like to add simple "if-else" statement into the category.tpl file which change the way of displaing subcategories depending on category groups.something like:IF actual category/subcategory is set to group defoult AND xyz then do this:ELSE (means only in defoult group) do that. Link to comment Share on other sites More sharing options...
SonnyBoyII Posted June 21, 2011 Author Share Posted June 21, 2011 How can I pull out current category group id or name?any ideas? Link to comment Share on other sites More sharing options...
SonnyBoyII Posted June 24, 2011 Author Share Posted June 24, 2011 Here you can find the ansfer http://www.prestashop.com/forums/viewthread/116432/development/category_groups__how_to_get_access_to_the_variable_in_my_tamplate/regards,SonnyBoy 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