Jump to content

Adminorders Sorting Products Ordered By Manufacturer


Franklin

Recommended Posts

Hello.
 
I need to list the products purchased by customers, also in order (alphabetical) manufacturers, I could already list the manufacturers in a column using the following:
 
In view.tlp file add :
 
<th> <span class = "title_box"> {ls = 'Manufacturer'} </ span> </ th>

After on _product_line.tpl, add:

<td>
{:: Manufacturer getnamebyid ($ product.id_manufacturer)}
</ td>

With this, i list the name of the manufacturers, but right now, I need to put a link on the column headings to sort the product list by product name or by manufacturer name.

 

 

I appreciate any help

 

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