Jump to content

Select category in Shop by brands


Recommended Posts

hi,

i'm trying to create a section on my website 'SHOP BY BRAND'.

I have all the brands and all the categories now, so when i click on a brand name, it brings me to the brand (manufacturer) page, with all the products below, and it's ok.

The problem is that in this page i don't have a category filter, so all the products of all categories are showed together. Is there a way to solve this problem?

 

ps: my prestashop version is 1.5.4.0

Link to comment
Share on other sites

Hello,

 

Can you try to use this module. I implement that module based on the original "blockcategories" of Prestashop and you can use both modules together.

 

This is the way that module work.

 

1. Normally, that modules does not show on site

 

post-364139-0-28682700-1368086802_thumb.jpg

 

2. When you click any manufacturer link in Manufacturer block, it will show a new block the same as "blockcategories" with only categories have product of selected manufacturer

 

post-364139-0-11717800-1368086943_thumb.jpg

 

3. You can remove that filter by clicking the red crossed icon on the block header.

 

But in step #2, when you click category link in manufacturer categories block, it will show there all product belong to that category regardless it's of selected manufacturer or not.

 

For your request, you need to add some code in Manufacturer.php in function getProducts() due to Prestashop does not offer any way to alter the output result of the function to get ALL products of given manufacture.

 

PrestaMonster.com

Link to comment
Share on other sites

What i need is to show somewhere the list of brand's categories in the brand page.

i activated the layered navigation block, but it doesn't appear in the brand page.

What can i do to show a list of categories in the brand/manufacturer page?

Link to comment
Share on other sites

×
×
  • Create New...