Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $collection->addAttributeToSelect('*')->addFieldToFilter('attribute',$somevalue);
- foreach ($collection as $key => &$value) {
- if($key == 1){
- //// how to unset this index in collection ?
- }
- }
Add Comment
Please, Sign In to add comment