Poulsgaard Posted May 28, 2018 Share Posted May 28, 2018 (edited) I would like to change the order of products printed on the delivery slip I've started wite delivery-slip.product-tab.tpl, where all products are inside the array ($order_details) But, where is this array filled? I've tried to change the SELECT that is being used in classes/order/order.php, and orderdetail.php But this doesn't change the order of products on my delivery slip. Anyone able to help me? Edited June 5, 2018 by Poulsgaard (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted June 1, 2018 Share Posted June 1, 2018 A simple text search shows that this template is called from /classes/pdf/HTMLTemplateDeliverySlip.php. So you might look there. You can also sort inside a template. Link to comment Share on other sites More sharing options...
Poulsgaard Posted June 5, 2018 Author Share Posted June 5, 2018 Thanks a lot, it was in the classes/order/OrderInvoice.php method getProducts() that the sorting was done. Thanks to Kjeld, The Guro :-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now