I'll be coding up both to test them, but I was curious on first blush what the folks here thought.
I've got an array of data that has been posted to my shopping cart controller. The array includes an entry for each of the product's potential options.
To get the options into an array for presentation I can either parse the array looking for arrays with keys that begin with "options-" or I can make a database call and find out what options are available for that product.
We are talking about at most 5 items at this time.
Thoughts?