AbanteCart Community

AbanteCart Development => New Features Discussion => Topic started by: natdroid on February 16, 2016, 02:13:22 AM

Title: Keep multiselectbox Selection Order
Post by: natdroid on February 16, 2016, 02:13:22 AM
I want to be able to track user selected order chosen setting in my new extension. if a user select option2 first then option1, I want to get the result in the order of option2 and option1. But chosen sorts user selected options. Is there a way I can tell chosen to not sorting the result?
Title: Re: Keep multiselectbox Selection Order
Post by: natdroid on February 17, 2016, 04:30:24 AM
Please help!
Title: Re: Keep multiselectbox Selection Order
Post by: eCommerce Core on February 18, 2016, 06:17:48 AM
I think data is sorted prior to getting into chosen. Check what is provided as a data array into chosen. Possibly it is in the response Jason array.