diff --git a/src/Model/Export/Catalog/ExportPreviewProducts.php b/src/Model/Export/Catalog/ExportPreviewProducts.php index 03a6a5aa..c4faa65d 100644 --- a/src/Model/Export/Catalog/ExportPreviewProducts.php +++ b/src/Model/Export/Catalog/ExportPreviewProducts.php @@ -10,12 +10,12 @@ use Magento\Framework\App\RequestInterface; use Traversable; -#[AllowDynamicProperties] class ExportPreviewProducts implements \IteratorAggregate { public function __construct( private readonly ProductRepositoryInterface $productRepository, private readonly RequestInterface $request, + private int $entityId = 0 ) { } diff --git a/src/Service/FeedFileService.php b/src/Service/FeedFileService.php index ab88ab8a..1b7d5c4d 100644 --- a/src/Service/FeedFileService.php +++ b/src/Service/FeedFileService.php @@ -10,7 +10,7 @@ class FeedFileService { - private const FEED_FILENAME_PATTERN = 'export.%type%.%channel%.csv'; + private const FEED_FILENAME_PATTERN = 'export.%type%Data.%channel%.csv'; public function __construct(private readonly Filesystem $fileSystem) {