We have two different strategies for mappers: MapInterface::MAPPER_STRATEGY_SKIP_UNKNOWN and MapInterface::MAPPER_STRATEGY_COPY_UNKNOWN.
I think the point is in SprykerEco\Zed\AkeneoPimMiddlewareConnector\Business\Mapper\Map\ ProductModelImportMap doesn’t handle the prices and use skip unknown strategy, so you don’t see the prices in dataset.
If you check SprykerEco\Zed\AkeneoPimMiddlewareConnector\Business\Mapper\Map\ProductImportMap you will see how the prices are handled there.
Not really. From what I see in Spryker Admin, price for model product CAN be set, so it should be doable within the importer.
json model file has the price in it. What I’m asking is how to access the data from the model file during the model data import.
Even if example code assumes something, I asked how I can reach the price in the product model import. If the code worked another way there would be no questions asked
It doesn’t really matter what’s in akeneo and where in akeneo it is. As far as I understand, the import process uses JSON model file ONLY, and the price is there. What I’m looking for is how I can access the price node from model JSON within model import process, nothing else.