wojodesign/simplecart-js — Issue #158: Sorting?
Author: twitchsbrew
Created: 2011-10-25 10:37:48+00:00
State: open

Is there a way (or where would I put the code) to sort the items by a certain attribute? For instance, when a new product is added to the cart I would like all products of a certain type to be grouped together (next to each other). Probably not a simple thing, but just thought I'd ask if anyone has done something like this and has code to share.

Thanks in advance. Absolutely love this cart.

-Twitch.