Jump to content

Show Home page as Category page


Recommended Posts

Hi,

 

I'm working on a custom Prestashop theme for my e-commerce, and I want to show the index homepage as the category pages.

 

I have a one big category (Home) that contains 4 subcategories ( Girl, boy, children, Babies)

 

I've setup the pages of the categories to show a 4 column list, and i want the same in the homepage ( to show all the products of my prestashop products with pagination, the home category ) but, I tried to copy the code, and of course, it doesn't work right the way....

 

How can i setup an specific Category ( Home in my case ) for re-use the code from category.tpl ?

 

Because i think, smarty doesn't see the home page as a category page: so can't use globals $category or $subcategories

 

I hope someone can help me, thanks,

 

Rodrigo

Link to comment
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
×
×
  • Create New...