By default, customers can upload any type of file to your store. If your production process requires specific file formats (e.g., you only want image files and not documents), you can use the Content Type Restriction feature to control what users are allowed to upload.
1. Enable the Restriction To activate this feature, check the box labeled "Enable content type restriction". The input field below will become active.
2. Selecting Allowed File Types Click on the "Search content types and select" field to define your allowed formats.
Quick Access Groups: You will find the most commonly used file categories listed at the very top.
Example: Selecting image/* will automatically allow all image formats (JPEG, PNG, WEBP, etc.), saving you from selecting them one by one.
Specific File Search: If you need to limit uploads to a specific extension, type the format name into the search bar.
Example: If you only want to accept PNG files, type "png" and select it from the filtered list.
Multiple Selections: You can select as many types as you need. For instance, you can allow both
application/pdfandimage/pngby selecting them sequentially from the list.
Note: Once configured, the upload area will strictly reject any file that does not match the types you have selected here.
FAQ
How can I limit customer uploads to vector files like .ai and .eps?
To accept vector formats such as .ai (Adobe Illustrator) and .eps, you need to select the generic PostScript MIME type from the list.
Here is how to do it:
Check the "Enable content type restriction" box.
In the search bar, type "postscript".
Select
application/postscriptfrom the results.
Selecting
application/postscriptis usually sufficient to allow both .ai and .eps files to be uploaded successfully.
β
β

