Skip to content

Commit 238ba37

Browse files
ENGCOM-5992: Fixed #24722: Advanced price export file is empty #24831
- Merge Pull Request #24831 from maheshWebkul721/magento2:fixed-24722 - Merged commits: 1. 0c102bb
2 parents 419fbf3 + 0c102bb commit 238ba37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ public function export()
216216
if ($entityCollection->count() == 0) {
217217
break;
218218
}
219+
$entityCollection->clear();
219220
$exportData = $this->getExportData();
220221
foreach ($exportData as $dataRow) {
221222
$writer->writeRow($dataRow);

0 commit comments

Comments
 (0)