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.
| Key | Name | Type | Notes |
|---|---|---|---|
modal_title | Heading | single_line_text_field | |
label | Add-file button label | single_line_text_field | |
instruction_text | Instruction text | multi_line_text_field | |
upload_required | Require an upload before checkout | boolean | |
conditional_visibility | Only show for flagged products | boolean | Show 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. |
audience | Show to | single_line_text_field | Enter 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_name | Cart attribute name (blank = upload_reference) | single_line_text_field | |
allow_multiple | Allow multiple files | boolean | |
max_files | Max files (when multiple) | number_integer | |
allowed_types | Accepted file types (e.g. application/pdf,image/*) | single_line_text_field | |
max_size_mb | Max file size (MB) | number_integer | Max 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_width | Image preview size (px) | number_integer | |
corner_radius | Corner rounding | single_line_text_field | Enter 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_files | Too-many-files error (use {max}) | single_line_text_field | |
error_max_size | File-too-large error (use {max}) | single_line_text_field | |
error_required | Required-upload message | single_line_text_field | |
error_generic | Generic error message | single_line_text_field | |
size_hint_label | Size hint (use {max}) | single_line_text_field |
Back to the developer docs.