For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ—ƒοΈHow do I control which file types customers can upload?

Restrict uploads to only the file formats you want, and show a custom error message when a customer picks an unsupported one.

  • Please go to the "Upload rules" tab while creating or editing a field

  • Click + Add a rule, then under File requirements select Allowed file types

Add File Types
  • Under "Select the type of field and allowed file formats", tick the categories you want to allow:

  • Images β€” JPEG, JPG, PNG, GIF, WEBP, SVG

  • Video β€” MP4, MOV, AVI, WEBM

  • Documents β€” PDF, DOC, DOCX, TXT

  • Audio β€” MP3, WAV, OGG

  • Design files β€” PSD, AI

  • Others β€” If the categories above don't cover the format you need, tick Others and select the file types yourself

  • In the "Error text to display when file type is not allowed" field, write the message customers see if they choose an unsupported format (default: "File type is not allowed")

Allowed File Types

Only allow the formats you can actually work with. If you print from print-ready PDFs, for example, allowing just Documents keeps customers from uploading low-resolution phone photos. You can update the allowed types anytime, so make sure to test it on your storefront after saving.

πŸ“Ή Watch: Allowed File Types

See how to restrict uploads to specific formats like PNG, JPEG, PDF, PSD, ZIP, Excel, or video.

Last updated