Jump to content

Making a custom page


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...