- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016
01:42 AM
08-17-2016
01:42 AM
Order products on pdf invoice
Hi everyone,
I would like to know how can i order by name product display in the pdf invoice?
Thank you,
Damien.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016
01:56 AM
08-17-2016
01:56 AM
Re: Order products on pdf invoice
@KennedyA Simply track "sales_order_invoice_item_collection_load_before" event and write below line for order by name.
$invoiceOb->addAttributeToSort('name', 'asc')
Cheers
-
Magento Programmer | Was my answer helpful? You can accept it as a solution.
Magento Programmer | Was my answer helpful? You can accept it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016
02:17 AM
08-17-2016
02:17 AM
Re: Order products on pdf invoice
Hi GMehta.
I'm not sure, i can't find this event sales_order_invoice_item_collection_load_before