Is there a way to get an item at the nth index from a collection without necessarily loop over all the collection?
Magento – Get item at nth index from a collection
collection;magento-1.9product-collection
collection;magento-1.9product-collection
Is there a way to get an item at the nth index from a collection without necessarily loop over all the collection?
Best Answer
I don't believe there is a way to grab a specific index from Varien_Data_Collection (however I would love to be proven wrong on this!)
Notwithstanding, here are my attempts.