Hi Everyone,

So I use different product types to style the different product infos differently. I would also like to change the style slightly of the product listing, I asked about this a while ago and basically I think what I have to do is:

1. create a separate tpl_index_product_list.php with a new name
2. In /includes/modules/pages/index/main_template_vars.php check for which category (cPath) is set, and choose which tpl file to use based on that cPath.
3. Then use the new tpl_index_product_list_tabbed.php (or whatever name you call it) and probably also a new tpl_modules_product_listing_tabbed.php to affect the new layout you want to the page when that category is selected.

The problem I have is on number two, I have no idea how I would check for the category and then chose the tpl file base on it, Does anyone know how I would achieve this?

Daniel