Jump to content

Sort By Manufacturers


iCasper

Recommended Posts

Thanks, but adding a code

{l s="brand"}

to product-sort.tpl make products order by manufacturer names, but I need another sort by form, where you can see all manufacturer names witch is in this category. Like in the image I posted in first post.

I would be nice if someone could help at this. I think this kind of feature would be popular for many users.

  • Like 1
Link to comment
Share on other sites

Hi everybody !
I also need this filter by manufacturer.
What I need is the most simple dropdown filter.
Just with the manufacturers choice.

I tried each of the huge filters offered in the forum, but none meets this simple characteristic.

I added the "brand" or "manufacturer" option in product-sort.tpl
as recommended here : http://www.prestashop.com/forums/viewthread/35101/modules_tiers/tri_par_defaut_par_reference/

I also tried to duplicate the dropdown window which is in the product-sort.tpl
I think that it just needs a condition saying "do not list the products if id_manufacturer is different than X"

But how can I do that ?

I need help, thanks in advance.
wwwilliam

28194_q9VKM8SVpMSUWPRwvIAH_t

Link to comment
Share on other sites

  • 3 months later...

Sorry for bumping an old post, however I too am looking for a solution similar to the website posted above and I can't find anything so far (at least not one as simple as the attached images, or one that works with the current Prestashop version)
If anyone knows how to create a new dropdown menu that filters products by manufacturer's that would be great

Thanks

EDIT
I've hard-coded a new drop-down menu in product-sort.tpl

heres the code:


{l s='--'}
           {foreach from=$manufacturers item=manufacturer name=manufacturers}

{l s=$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}


           {/foreach}



{l s='Manufacturer:'}



It goes right under " {l s='Sort By:'} " (around line 25) in product-sort.tpl

So far the code only populates the drop-down box with all the manufacturer names however I cant get it to actually filter anything
Anyone here with more experience able to help me out? not after anything fancy, just need the products to be filtered based on manufacturer ID

Thanks

Link to comment
Share on other sites

  • 1 month later...

HI

I have the same issue, I mean, it would be very nice to have a drop-down box with the names of manufacturers, beside the current filter drop-down.
Did you guys ever get it resolved? Please post if "Yes"

Thanks

Great forum bytheway


Petya

Link to comment
Share on other sites

  • 4 years later...

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