barry_k Posted December 8, 2011 Share Posted December 8, 2011 Hi, One of my categories 'Cars' has a lot subcategories which makes things look messy in the default theme. I would like to make the subcategory page look different for 'Cars' only. I was thinking a nice table layout. Is there a way of creating an override that says if the category is 'Cars' load a different TPL file? Any help is much appreciated. Link to comment Share on other sites More sharing options...
barry_k Posted December 8, 2011 Author Share Posted December 8, 2011 Anyone? Or maybe if there is a different way to approach this problem rather than use overrides? Link to comment Share on other sites More sharing options...
barry_k Posted December 14, 2011 Author Share Posted December 14, 2011 Ok I have modified my category.tpl file as follows {if isset($subcategories)} {elseif $product->id|intval==88-cars } TEST CONTENT {else} {/if} {/if} but it just breaks my category TPL page. I have no idea how to do this properly. I just want it to say if the product equals 88-cars then display a different looking page. Does anyone have any experience with creating a custom category page? 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