How to set the product field as mandatory?

If you have enabled multi-products support and want to make the “Product” field in the submission form mandatory, just add the following code snippet to your theme’s functions.php file:

Don’t want to write your own code?  Then get our Powerpack/Productivity extension which provides a nice, friendly user interface for this feature.
Smart Chat
Smart Replies add-on Chat X