Important

You are browsing documentation for version 5.0 of OroCommerce, supported until January 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Gaufrette 

The ImportExport bundle uses Gaufrette for the file storage. The Gaufrette configuration is stored in Resources/config/oro/app.yml.

By default, the ImportExport bundle configured to use the private File Storage.

Gaufrette Configuration for Amazon S3 Storage 

This configuration allows to use Amazon S3 cloud service for the importing and exporting. It is applicable if consumers run on different servers.

Example

services:
    aws_s3.client:
        class: AmazonS3
        arguments:
            -
                key: {your amazon s3 key}
                secret: {your amazon s3 secret}

knp_gaufrette:
    adapters:
        importexport:
            amazon_s3:
                amazon_s3_id: aws_s3.client
                bucket_name: {your bucket name}
                options:
                    directory: 'import_export'
                    create: true
                    region: {your amazon s3 bucket region}