Solutions for Magento2 issues
foreach ($collection as $key => $val ) { if ( !$val->isGrouped() ) { $collection->removeItemByKey($key); } }
No comments:
Post a Comment