Im trying to add a multi-photo upload button for up to 20 photos for custom products without using an app. I have used the liquid code to upload single photos on other products but it doesnt work for multiple photos, even if I create a button for each photo (which is not ideal due to having 20 buttons for this on the product page making it really messy). I cant find a liquid code for a multi option, can anyone help please?
Topic summary
A user seeks to implement a multi-photo upload feature (up to 20 images) for custom products on Shopify without using apps. They initially used Liquid code for single file uploads but struggled to adapt it for multiple files.
Solution provided:
- Add the
multipleattribute to the HTML input tag:<input type="file" multiple> - Use unique property names for each upload field (e.g.,
properties[Photo1],properties[Photo2]) to ensure each image is captured separately - The original poster confirmed this approach worked successfully
Ongoing questions from other users:
- Uploaded images don’t appear in the shopping cart for customer review
- Uncertainty about where uploaded photos are stored after order placement
- Requests for more detailed implementation guidance
The thread remains open with unresolved questions about image visibility in cart and order management workflow.
@krissi7923 , Hope you are doing well.
So. how you would like to achieve this? through the custom section or through the metafield?
hi and thanks @webwondersco , I’ve been using the custom section so far
Could you please show the code or a screenshot of the implementation?
@krissi7923 , if possible could you share your product URL where you implemented this?
this is one where I need multiple uploads : https://personalisr.com.au/products/custom-mini-photo-album-keyring-puleather
thankyou
@krissi7923 , did you try the below html tag for multiple file uploads?
and the code you have added for the multiple photo upload in that you have to update “properties[Photo]” name to different to get each image .
for e.g:
thankyou , I will try that now
@webwondersco that worked perfectly , Thankyou.
I am working on this same issue and every time I upload images and go to the cart, they aren’t there. Is it possible for them to appear in the cart as well for the customer to see?
How would one implement this code?
I was able to upload 3 pictures to try it but where do the pictures go once I place my order? I can’t see where to print them once I received the order. Any help appreciated! Thanks so much!