Jump to content

How can config the block "Filter by Brand/Manufactory"?


Recommended Posts

Hi All,

I want made the block "Filter by Brand". But I have a problem, every body have ideal to help me out please.

Actualy the Brand and the Manufactuary is the same. I get the code from the file product-sort.tpl and edit to change become brand-sort.tpl to make the Filter by Brand/Manufactory block. But the result not as I expected. Some thing wrong. Please help me.

Thanks

7748_rkjksdRUS0BaGPQDnMgi_t

Link to comment
Share on other sites

You only need to add one line of code to sort by manufacturer. Add the following after line 15 of product-sort.tpl in your theme directory to add the option to sort by manufacturer/brand name:

{l s="brand"}



If you want to sort by manufacturer/brand id, use the following line instead:

{l s="brand"}

  • Like 2
Link to comment
Share on other sites

You only need to add one line of code to sort by manufacturer. Add the following after line 15 of product-sort.tpl in your theme directory to add the option to sort by manufacturer/brand name:

{l s="brand"}



If you want to sort by manufacturer/brand id, use the following line instead:

{l s="brand"}



Hi,

Thank you very much, but I have a mistake I want make a block "Filter by Brand/Manufactory" not a Sort one. :-) hi hi I'm so sorry. Please guide me.
Link to comment
Share on other sites

  • 3 months later...
  • 3 years later...

Hello,

 

 

sorry for digging out this topic, but I have similar question as BÁ TƯỜNG. I would like to sort by name of manufacturer. How to do that ? The quote with code had expired or what ?

 

Regards Mateusz

 

You only need to add one line of code to sort by manufacturer. Add the following after line 15 of product-sort.tpl in your theme directory to add the option to sort by manufacturer/brand name:

 

{l s="brand"}

 

If you want to sort by manufacturer/brand id, use the following line instead:

 

{l s="brand"}

Link to comment
Share on other sites

  • 1 year later...
  • 4 months 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...