sephzero Posted November 21, 2012 Share Posted November 21, 2012 Hello, i just want to change the layout of category.php making it this way. If category has not child categorys shows products, if category has child categories do not show products. I think it can be done with overriding technique, but i can't do it..anyone can help? Maybe i'm wrong but i think it need only an if-then-else cycle to do it.. Thank You Everybody for reading this, bye! Link to comment Share on other sites More sharing options...
sephzero Posted November 22, 2012 Author Share Posted November 22, 2012 no one can help? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted November 22, 2012 Share Posted November 22, 2012 Hi, you need to change category.tpl of your theme, where: {$products} - is the array with with products of category {$subcategories} -is the array with subcategories of category Regards 1 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