Modify theme or create an app?

bagnica
New Member
2 0 0

Hi! As I'm a developer and I need a few custom things in my shop, I wanted to build it myself. I got a simple file upload form running using JavaScript but I wonder what would be the correct way to handle it further. I want the user to be able to upload a photo, which I will be later sending to my backend. I also need to associate a few pieces of information with this photo so I can refer to it after the checkout. It would be sth like orderId, customerId or similar. The question is how can it be achieved? Which tool is the best for this use case? I've read both about creating apps and modifying template but I'm still not sure what should I choose for this purpose.

Thanks in advance for any help!

 

0 Likes
bagnica
New Member
2 0 0

After some more research I've found an awesome tutorial:
https://www.cloudlift.app/blogs/shopify/how-to-add-a-file-upload-on-shopify-product-pages
It seems like a proper way to do that is to modify the template. Is it correct?

0 Likes