Why plain theme code breaks on file uploads
Shopify's Liquid line-item properties can technically submit a file input on a classic form, but AJAX cart drawers (used by Dawn and most modern Online Store 2.0 themes) send JSON rather than multipart form data, so raw <input type="file"> fields silently fail or drop the file unless custom JavaScript uploads the file to hosted storage first.
Collecting files cleanly on any Shopify plan
- Install Everformat Product Options from the Shopify App Store and enable the app embed in your theme customizer.
- Create an option set assigned to your custom products (by product, collection or tag) and add a File upload field.
- Set whether the upload is required before Add to cart, or show it conditionally only when a shopper ticks "Add custom logo (+$10)".
- When a shopper uploads a photo or file, it is saved directly into your store's Shopify Files and the link travels with the line item through cart, checkout and the order screen so your fulfillment team opens it in one click.
- Place a test add-to-cart on your live storefront and confirm the uploaded file link opens cleanly.
Doing it with Everformat Product Options
We built Everformat Product Options for exactly this job. You install it from the Shopify App Store, create the field, choose which products it appears on, and it shows on those product pages without you editing any theme code. The shopper's answer travels with the item to the cart, the checkout and the order. There is a free plan, and Pro is $9.99 a month.
For more detail, including a free theme-code method and engraving line limits with a live preview, see our Product Options guides.
Rather paste code yourself? Our free line item properties generator writes it for text, dropdown, radio, checkbox and date fields.
It can also charge extra for an option, like +$5 for engraving, and take a photo or file upload from the shopper, on any Shopify plan. The uploaded file is saved in your store's Shopify Files and linked on the order. Check the current plan details on the listing before you install.