Jump to content
Sign in to follow this  
jay_inn

Home Page for Category

Recommended Posts

Hey Guys,

is there a way to have certain categories goto a category home/landing page, rather a page listing the products?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 manufacturer

the 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...

Share this post


Link to post
Share on other sites

sorry, i was thinking in "manufacturer" and you talk about "category"...

the procedure must be the same, i think...

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More