Jump to content

Display Products By SubCategories with Blocklayered


Recommended Posts

Hello evereybody,

 

I'm new on prestashop, and i encoutered a problem maybe it's easy but i can't solve it.

 

I want to display in my page the list of products by subcategories with blocklayered filter.

I explain

 

I have that in my page :

 

Cat1 (name)

 

Filters : price, manufacturer, ...

 

SubCat 1 (name)

Product 1   Product 2    Product 3   Product 4    

 

SubCat 2 (name)

Product 5   Product 6    Product 7   Product 8

 

...

 

And i want that when i choose a filter (like manufacturer for example) :

 

Cat1 (name)

 

Filters : price, manufacturer, ...

 

SubCat 1 (name)

Product 1   Product 4    (only the products filtered)

 

SubCat 2 (name)

Product 7   Product 8 (only the products filtered)

 

...

 

But i can't display products by subcategories, blocklayered only display all products mixed.

 

Actually i add product-list-sub.tpl and i change category.tpl for displaying like i want, it works but not with filters

 

If anybody have an idea,

Thanks in advance.

Edited by Stéph (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Hi Adeko,

 

Yes i have made a homemade solution in changing the blocklayered module.

I can't make it work with overwriting so i make change directly in the module.

It's not clean to do that so if you really want my solution i can give it you anyway.

 

Stéph.

Link to comment
Share on other sites

×
×
  • Create New...