[Shopify] Display message when no image is uploaded and Add to Cart is clicked


I’m looking for a way to display a message if a user tries to add a product to cart without uploading an image. Basically I’m trying to do something like this:

Any hints on how I would do that in Shopify (Turbo Theme).


Hi @Blue, our Shopify guide explains how to disable the “add to cart” button and enable it only after a file is uploaded. This is the easiest way to avoid orders without photo uploads. You may want to try adding an additional handler to the “add to cart” or “buy now” button that will prevent the form from being immediately submitted and will check if a file has been uploaded.