Jump to content

layered navigation block


Recommended Posts

How to set category page as a home page in prestashop 1.5

 

example

 

http://disbeit.com/leepstore/index.php?id_category=3&controller=category'>http://disbeit.com/leepstore/index.php?id_category=3&controller=category

 

above link is category page

 

http://disbeit.com/leepstore/index.php

 

i need all category products display in home page how is it please help me

Link to comment
Share on other sites

I think you can override indexController.php with code from CategoryController.php.

Or make redirect into IndexController (also with override), something like this:

 

public function initContent()
{

  Tools::redirectLink("http://belvg.net/simonchik/prestashop1531/index.php?id_category=37&controller=category&id_lang=1");

 /* parent::initContent();
 $this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome'));
 $this->setTemplate(_PS_THEME_DIR_.'index.tpl'); */
}

Edited by Alexander Simonchik (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...