Jump to content

How to display list of product by manufacturer order by category?


Recommended Posts

Currently my list...

List of product by manufacturer Apple 

-Product  -Product  -Product

-Product  -Product  -Product

-Product  -Product  -Product

 

What I need is :

Mac
-Product -Product -Product

Ipad
-Product -Product -Product

Iphone
-Product -Product -Product

I found {include file="./product-list.tpl" products=$products} in manufacturer tpl
I also changed to product-list-sub using this method but still doesn't work. 

 

Show products under subcategories on category page

http://www.prestashop.com/forums/topic/255604-solvedshow-products-under-subcategories-on-category-page/

Link to comment
Share on other sites

Any1? I added 

cl.`name` AS category_name

 to manufacturer classes line 331. and call in product-list-manufacturer.tpl {$product.category_name}.

Now:

 

List of product by manufacturer Apple 

Apple     Apple    Samsung

-Product  -Product  -Product

Samsung  Samsung  LG

-Product  -Product  -Product

LG         LG           LG

-Product  -Product  -Product

 

How to foreach display category with no duplication ? 

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