# How to replace a checkout.liquid file upload field

> Shopify no longer supports checkout.liquid on the information, shipping and payment steps, so a file field built there has to move. On Shopify Plus, add the Upload a file block in the checkout editor. On other plans, collect the file on the product page or cart.

## Why did my checkout.liquid upload field stop working?

Shopify has retired checkout.liquid. Its developer documentation says checkout.liquid is now unsupported for the Information, Shipping, and Payment checkout steps. For the Thank you and Order status pages, it says checkout.liquid and additional scripts were sunset on August 28, 2025. Script tags on those pages were sunset on the same date for Plus stores and on August 26, 2026 for stores that are not on Plus.

If an agency or an older app added a file input to checkout through that file, treat it as gone or going. The replacement is Checkout Extensibility, which uses apps and checkout UI extensions instead of edited theme code.

## What replaces it?

It depends on your plan, because of one Shopify rule. Shopify's documentation states that checkout UI extensions for the information, shipping, and payment steps are available only to stores on a Shopify Plus plan.

- **On Shopify Plus:** add the Upload Native "Upload a file" block to checkout in the checkout editor. The customer attaches the file before paying.
- **On any other plan:** capture the file earlier. The theme block works on the product page and the cart page on any plan and any Online Store 2.0 theme.

Neither option needs code. You set it up in the Shopify admin.

## How do I add the checkout upload on Plus?

1. In your Shopify admin, go to Settings, then Checkout, then Customize.
2. Add the app block named "Upload a file" where you want the field to appear.
3. Set the heading, button label, instruction text, accepted file types and the maximum file size. The size cannot go above 20 MB, because that is the limit for files stored in Shopify Files.
4. Choose whether customers can attach one file or several.
5. Save and run a test checkout.

If you want customers to be blocked until a valid file is attached, turn on "Require an upload before checkout". The checkout editor also needs the "Block checkout progress" permission allowed for the app. Without it, the requirement cannot stop checkout, and the block shows a warning.

## How do I keep my old field name?

Anything that read your old field, such as an email template or a report, probably looks for a specific key. The checkout block has a "Cart attribute name" setting. Leave it blank and the file reference is saved as `upload_reference`, with the file ID in `upload_reference_ids`. Type your old key instead and the new block writes to that name.

Shopify carries cart attributes onto the order automatically. The app never writes to the order itself.

## What can I do if I am not on Plus?

Move the upload to the page before checkout.

- Add the File upload block to the product page when each item needs its own file, such as a logo or a photo. The file is saved as a line-item property on that item.
- Add it to the cart page when one file covers the whole order. The file is saved as a cart attribute.
- Use "Only show for flagged products" so the field appears only for items that need artwork.

This changes the point at which you collect the file, not what you receive. The file still lands in your own Shopify Files, and the reference still rides on the order. The [product page guide](/shopify-product-page-file-upload/) and the [cart page guide](/shopify-cart-file-upload/) cover the setup.

## What should I test before going live?

- Place a test order with a small PDF and one image, and confirm both appear on the order.
- Try a file that is too large or the wrong type, and confirm the customer sees an inline message.
- If the upload is required, try to continue without a file.
- Check any email template, report or automation that used the old field.
- Use a second browser profile that is logged out, since B2B and retail audience settings can hide the field from some buyers.

## FAQ

### Do I need Shopify Plus to put an upload in checkout?

Yes. Shopify only allows checkout UI extensions for the information, shipping and payment steps on Plus. Stores on other plans can still collect files earlier, on the product page or cart.

### Will my old order data keep working?

Old orders keep whatever they already hold. For new orders, you can set the block's cart attribute name to match your old field so reports and templates that read it keep working.

### Can customers still upload on the thank you page?

That page is the wrong place for a file you need to make the item. Files are best captured before payment, so you can reject a bad file while the customer is still there.

### Is the upload required before payment?

It can be. Turn on the required setting on the block and allow the checkout progress permission for the app. A customer then cannot continue until a valid file is attached.

Canonical URL: https://uploadnative.app/guides/replace-checkout-liquid-file-upload/
