Guest enslaved Posted December 15, 2008 Share Posted December 15, 2008 Hi there, I got a problem to customize the product THUMB per categories. I know how to customize product display per category changing the viewProd.inc.php as this : if($prodArray[0]['cat_id']!=57 && $prodArray[0]['cat_id']!=58 && $prodArray[0]['cat_id']!=59 ){$view_prod = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/content/viewProd.tpl");} else {$view_prod = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/content/viewProd2.tpl");} but i've tried to make the same change for the viewCat.inc.php as this: if($prodArray[0]['cat_id']!=57 && $prodArray[0]['cat_id']!=58 && $prodArray[0]['cat_id']!=59 ){$view_cat = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/content/viewCat.tpl");} else {$view_cat = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/content/viewCat2.tpl");} but it doesn't work, i think because the $prodArray is not the good command but i can't find what to do. Please help!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.