A shopper orders a custom mug and uploads a photo. Your print partner opens the order and finds a link, a filename and nothing else. Is the image big enough? Is it a PDF with the wrong page first? Is it the file the shopper meant to send? Print-on-demand merchants lose most time on that handoff, not on the product page. This guide shows how to collect a print file with Datima Product Options, what the app checks for you, and what you still have to check before anything goes to print. It is a workflow built from the app’s help and source; it does not report results from a store.
What the upload field accepts
Add a File upload field to an option set, as described in the field types guide (last updated 24 October 2026). The help says the shopper’s file is stored in your store’s Files, shows on the order as a link, and can be up to 20 MB. The storefront script checks each chosen file in the browser before it is allowed into the cart. Reading the current app source, the allow-list is:
| Check | What it does |
|---|---|
| File type | Accepts PNG, JPG/JPEG, GIF, WebP and PDF by extension. |
| Real content | Reads the first bytes and rejects a file whose content does not match its extension, such as a renamed document. |
| Size | Rejects anything over 20 MB. |
| Shopper feedback | Shows the filename and size once accepted, a Remove button, and an error under the field when rejected. |
The same check is not a quality check. Nothing in it measures pixel dimensions, resolution, colour mode, transparency or bleed. A blurry 300 KB screenshot passes as easily as a print-ready PDF. Plan for that in your instructions and your review step, below.
Know what is not on the list
Print shops often work from layered or vector formats. The allow-list above has no PSD, AI, EPS, SVG or TIFF, so a shopper who owns only those must export a PNG, JPG or PDF first. Say so in a Paragraph block next to the field rather than letting them find out from an error. If your product genuinely needs a format outside the list, this field is not the right intake, and you should ask for the artwork by email after the order instead of promising an upload. Treat the list as current for the app version reviewed here and re-read the help before you publish, since the allow-list can change.
Write the field for a person who has never made a print file
Most shoppers do not know what “print-ready” means, so the label and a Paragraph block above the field carry the quality bar for you. A workable pattern:
- Label: “Your design (PNG, JPG or PDF, up to 20 MB)”. The label is what appears on the order, so it also tells the packer what they are looking at.
- Paragraph above the field: the minimum size you need, for example “Use a photo at least 2000 pixels on the longest side. Phone photos work; screenshots usually do not.” Choose your own number from your printer’s requirements.
- Required: tick it when an order cannot be fulfilled without artwork. The required fields guide says the product cannot be added to the cart until it is answered, and that a Quick add from a collection page opens the product page instead.
If some orders use a standard design, give the shopper a way to say so: a checkbox such as “Use the design shown” with the file field set to Show only if… the box is not ticked. A hidden field is treated as empty, so it is never required and leaves nothing on the order.
Add the questions that make the file usable
A file alone rarely says how to print it. Put the decisions next to it as ordinary fields: a dropdown for placement (front, back), a text field for a caption or name, a radio group for finish. If a premium print costs more, attach an extra charge to the choice. A charge is added once per item, so two mugs with the premium finish carry two charges. The built-in Photo print template is a convenient start for this layout; see the templates guide.
Plan for checkout limits
The order guide is explicit: a set with a file field hides the express checkout buttons, because they cannot carry a file. Shoppers use the normal Add to cart button and then check out. For a print-on-demand product that is usually acceptable, since you want the shopper to review the design anyway, but it can lower conversion for impulse buys. Expect the dynamic checkout button to be missing on these products and do not try to bring it back. Also remember that this does not stop other apps that add to the cart, such as upsell pop-ups, from skipping the field, so turn their recommendations off for products with required files, as the required-fields guide suggests.
Check the handoff before it reaches your printer
The help says a shopper’s answers travel under each field’s label to the cart line, the order page, the packing slip and the order API, and that an uploaded file appears as a link to the file in your store. Whether your print partner’s app reads those line item properties is something to verify with that partner, not assume. Run this check on a development or low-risk product first:
- Assign the option set to one product, set it to Active and make sure the app embed is on.
- On the product page, try a file in each format you intend to accept and one you do not, such as a TIFF or a renamed text file. Note the message for each.
- Try a file just under 20 MB and one just over it.
- Add a valid file and confirm the filename and size show with a Remove button, then remove it and confirm the field is empty again.
- Complete a test order using the normal Add to cart button and confirm there are no express buttons.
- Open the order. Find the link under the line item, open it, and confirm it is the file you chose. Check that the same link appears on the packing slip.
- Open the same order in your print partner’s tool or export and confirm the link and your other answers arrive, labelled the way the packer expects.
Record what you saw in your own notes; this article does not claim that the check has been run.
Keep the review step human
Because the app only checks type and size, add a manual step. Someone opens each uploaded link before the order is released to print and looks at resolution, cropping and content. Decide in advance what happens when a file is not good enough: a templated email asking for a replacement, with the order on hold, is usually enough. The app does not message shoppers or hold orders for you.
What this does not do
Product Options collects the file and your other answers and carries them to the order. It does not resize or convert images, preview the design on the product, check copyright, or send the file to a print provider. If you need a live design preview or an integrated print supplier, use a tool built for that. For choosing between custom inputs and variants, see variants or custom inputs; for text that must reach a maker, see collecting engraving text.
Next step
Start from the Photo print template, change the label to name the accepted formats and the minimum size, decide whether the file is required, assign one product and run the seven-step check above before you list it.