Upload Native

Checkout upload settings

Settings you can change in the checkout editor for the Upload a file block. Checkout upload needs Shopify Plus. The list below is generated from the extension config, so it matches the app you install.

KeyNameTypeNotes
modal_titleHeadingsingle_line_text_field
labelAdd-file button labelsingle_line_text_field
instruction_textInstruction textmulti_line_text_field
upload_requiredRequire an upload before checkoutboolean
conditional_visibilityOnly show for flagged productsbooleanShow the upload box only when a cart product has 'Show file upload' enabled — find it under Metafields on the product page in your Shopify admin.
audienceShow tosingle_line_text_fieldEnter all, b2b, or d2c. all = everyone (default). b2b = only buyers purchasing on behalf of a company. d2c = only retail buyers. Anything else is treated as all.
attribute_nameCart attribute name (blank = upload_reference)single_line_text_field
allow_multipleAllow multiple filesboolean
max_filesMax files (when multiple)number_integer
allowed_typesAccepted file types (e.g. application/pdf,image/*)single_line_text_field
max_size_mbMax file size (MB)number_integerMax 20 MB — the most Shopify Files allows for stored documents. Larger values are capped at 20 MB, and files above 20 MB can't be saved.
preview_max_widthImage preview size (px)number_integer
corner_radiusCorner roundingsingle_line_text_fieldEnter none, small, base, large, or max. large = the default. Checkout's payment fields usually sit on base, so use that to match them. Anything else is treated as large.
error_max_filesToo-many-files error (use {max})single_line_text_field
error_max_sizeFile-too-large error (use {max})single_line_text_field
error_requiredRequired-upload messagesingle_line_text_field
error_genericGeneric error messagesingle_line_text_field
size_hint_labelSize hint (use {max})single_line_text_field

Back to the developer docs.