return (string) $this->context()->config()->get( 'controller/jobs/product/import/csv/location', 'product' );
// second import file - only prices and stocks
return (string) $this->context()->config()->get( 'controller/jobs/product/import/price/location', 'price' );
$map = (array) $this->context()->config()->get( 'controller/jobs/product/import/csv/mapping', $this->getDefaultMapping() );
if( !isset( $map['item'] ) || !is_array( $map['item'] ) )
{
$msg = sprintf( 'Required mapping key "%1$s" is missing or contains no array', 'item' );
throw new \Aimeos\Controller\Jobs\Exception( $msg );
}
return $map;
// second import file - only prices and stocks
$map = (array) $this->context()->config()->get( 'controller/jobs/product/import/csv/mappingprice', $this->getDefaultMapping() );
if( !isset( $map['item'] ) || !is_array( $map['item'] ) )
{
$msg = sprintf( 'Required mappingprice key "%1$s" is missing or contains no array', 'item' );
throw new \Aimeos\Controller\Jobs\Exception( $msg );
}
return $map;