retrospecter Posted July 20, 2008 Share Posted July 20, 2008 Hello everyone.Is there any way to organize the features of the product on the tab "Data Sheet"?Not organized by ID_feature. Nor in alphabetical order.How could organize them in the order that I choose?Thank you Link to comment Share on other sites More sharing options...
illutic Posted July 20, 2008 Share Posted July 20, 2008 // my bad, copied the wrong code.. I'll look further==============Okay, the foreach for attributes looks like this: {foreach from=$group.attributes key=id_attribute item=group_attribute} While the foreach for features looks like this: {foreach from=$features item=feature} The main thing that's different, is that there's no key=xxx in the foreach loop for the features.What happens if you add a key=xxx (where xxx is the key it should be ordered by) in the foreach? Link to comment Share on other sites More sharing options...
Recommended Posts