• 86888imloveit

    (@86888imloveit)


    If I upgrade the PRO version, can it support uploading Adobe Illustrator files?
    If possible, what file types should I set in the settings to allow uploading of files?

Viewing 1 replies (of 1 total)
  • Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hi @86888imloveit ,

    Both free & pro version support any types as long you defined it in the settings.

    To allow Adobe Illustrator file you will need to add .ai in “WooCommerce -> Settings->File Uploads” and find “Supported File Types”. (see example below)

    jpg, png, jpeg, eps, pdf, stl, webp, ai

    WordPress does not recognize AI file type by default for security reason, however you can add a custom mime types to allow this specific file type.

    Try to this code in your theme/functions.php or any codesnippet plugin if there’s any.

    add_filter('upload_mimes', 'allow_ai_file_upload');
    function allow_ai_file_upload($mimes) {
    $mimes['ai'] = 'application/postscript';
    return $mimes;
    }

    Lastly if you have any question open support ticket here – https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-for-woocommerce/

    Thank You.

Viewing 1 replies (of 1 total)

The topic ‘upload Adobe Illustrator file’ is closed to new replies.