I just inserted an “add file” button into my custom product page. Can somebody help me how to make this option mandatory before being able to add the item to the cart?
I am indeed unexperienced with coding so: perhaps you could tell me what I should add to this code? Thank you so much for the effort in advance, it is greatly appreciated!
I see that you have already received a suggestion to make your file upload option mandatory. However, I would like to propose an alternative solution that is simpler and doesn’t require any coding. This solution can be beneficial not only for you but also for other members who may encounter similar issues in the future .
To implement this solution, you can utilize the Easify Product Options app to create your custom options, specifically the File Upload option. You can easily set it as “required” within the app.
Here’s a quick demonstration of how you can use the app for your setup:
In addition to the File Upload option, the Easify Product Options app offers over 20 different option types, allowing you to meet all your needs for creating custom options .