R10 how to sort invoice line items by sku except for kits

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

R10 how to sort invoice line items by sku except for kits

Post by AbleMods » Wed Dec 09, 2015 11:29 am

I have a client who wants the invoice line items to be sorted by SKU. Normally, not a big deal.

But the client uses kits, and he still wants the kits and kit items grouped together i.e. not sorted by the main sort on sku.

Is there a way to do an OrderItemComparer() that ignores kit-childitems? I'm thinking that's going to be what we want - something that sorts by sku, including the kit master line item but ignores kit child items so they stay properly grouped with the kit parent.

Any suggestions? There could be a coveted Pepsi reward involved in this one....
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply