View Single Post
  #2  
Old 02-25-2020, 03:19 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,024
 

Default Re: Sort Order of Packing Slip

I think the default sorting is by item id which is the order products were added to cart. So it is not random but yes makes no sense most of the time.
It could be also product title, can't remember.


You will have to modify the way items are selected within the order and set sorting by whatever you need it to be. It will be a sql query either in func.order.php or func.product.php
But you need to find the starting point that calls the "select orders" for the packing slip.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote