Jump to content

Change the order product on the invoice.


x-ecute

Recommended Posts

Hello, I try to organize my bill in an ecological concerns, it avoids printing the invoice and purchase order.

 

So far, I printed the order in which I had organized my products by order "warehouse_product_location.location". Problem is a loop, not a foreach. I am in search of the place where it is said to change the loop and add him something like that order by.

 

Have you any idea where we can find it? I always get to do what I want but I have a hard to find or change the file.

 

Version 1.5.4.2

 

Thank you all.

Link to comment
Share on other sites

The invoice theme file is in following folder

 

YourStoreRoot/pdf/

 

I think the one for product list of invoice is 

 

YourStoreRoot/pdf/invoice.product-tab.tpl

 

But the product list data is provided via $this->order prepared in following file, 

 

YourStoreRoot/classes/pdf/HTMLTemplateInvoice.php

 

 

 

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