for that we need Js code and liquid code and i have to create this code by logic so cant sent you any fix code like css to place on file.
Hi, I am also using an image upload system in the Product page, and I managed to make it work with the code sampled in this topic.
I am having another issue, because some files are large (reaching more than 5MB sometimes), and I was wondering if it was possible to add a Loading spinner to the page (or any loading animation to show that the page is loading) while the file is being uploaded and the user is being redirected to the cart.
You are not getting image with order? then may be user placed order with buy now button.
or not getting on cart page?
Thanks for all of your replies so far.
My store allows for a customer to upload an image, which forms parts of the order. The store admin takes this image after the order is confirmed and uses it, as required.
For my implementation, I basically have an image form field I added to a liquid/template. I haven't added any other code after this.
Could you please confirm if Shopify offer a service for saving images that customers can upload and is it a free or paid for service?
If not, I presume I need to obtain my own external service to save the image. So when a customers uploads the image on the product page, an AJAX/XMLHttpRequest is sent to my external server with the image and then is saved. The URL from the server is then saved locally.
Then I need to pass the image reference to the Shopify order as a new line item, where it will be available for the store admin to access... which is basically an image reference to the external service.
Does this sound correct?