jay_inn Posted October 6, 2009 Share Posted October 6, 2009 Hey Guys, is there a way to have certain categories goto a category home/landing page, rather a page listing the products? Link to comment Share on other sites More sharing options...
jay_inn Posted October 7, 2009 Author Share Posted October 7, 2009 anyone out there? Link to comment Share on other sites More sharing options...
jay_inn Posted October 7, 2009 Author Share Posted October 7, 2009 Is this even possible? Someone must know. Link to comment Share on other sites More sharing options...
first1 Posted October 8, 2009 Share Posted October 8, 2009 I think that was developped as a module, you just need to search the forum for it. i have seen it but cant remember where Link to comment Share on other sites More sharing options...
jay_inn Posted October 12, 2009 Author Share Posted October 12, 2009 I've dug everywhere and can't find. I'm looking to have a "landing page" for a category. Is there a way to change the code of the cart to do this? Link to comment Share on other sites More sharing options...
Lalo Landa Posted October 13, 2009 Share Posted October 13, 2009 yes, it's posible, but is a manual and complicated work...i have got a "homepage" for each supplier in my store (offline, sorry), with personal hooks (supplier1, supplier2, supplier3, etc...) and each one with the respective modules (homefeatured, editorial, etc...)you can creat a php page in the root directory with the name manufacturer-1, with the respective .tpl file to the manufacturer n° 1, a php file called manufacturer-2, etc etc etc...sorry, is a very long explanation Link to comment Share on other sites More sharing options...
jay_inn Posted October 13, 2009 Author Share Posted October 13, 2009 Do you have any sample code you would be willing to share? Link to comment Share on other sites More sharing options...
Lalo Landa Posted October 13, 2009 Share Posted October 13, 2009 you can create the PHP files of each manufacturers with the name "manufacturer-1", "manufacturer-2", "manufacturer-3"... the number is the ID of each manufacturerthe PHP file must be like this: <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_MANUFACTURER1', Module::hookExec('manufacturer1')); $smarty->display(_PS_THEME_DIR_.'manufacturer-1.tpl'); include(dirname(__FILE__).'/footer.php'); ?> then, you must add the hook "manufacturer1" to your database and then you can copy the editorial module with the hook asignation to "manufacturer1"...so, the .tpl file must be: {$HOOK_MANUFACTURER1} this is to one manufacturer, you must repeat this for each one... Link to comment Share on other sites More sharing options...
Lalo Landa Posted October 13, 2009 Share Posted October 13, 2009 sorry about my english... Link to comment Share on other sites More sharing options...
Lalo Landa Posted October 13, 2009 Share Posted October 13, 2009 sorry, i was thinking in "manufacturer" and you talk about "category"...the procedure must be the same, i think... 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