Title: Make admin products fields required
Last modified: February 25, 2022

---

# Make admin products fields required

 *  Resolved [jordantsap](https://wordpress.org/support/users/jordantsap/)
 * (@jordantsap)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/make-admin-products-fields-required/)
 * I have an issue that i have to make some backend product fields required or non-
   empty.
    The website works with the plugin for skroutz xml url here: [https://wordpress.org/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/](https://wordpress.org/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/)
   The problem is that most of the fields cannot appear empty for the proper website
   communication to skroutz and back. So, i have to make these fields required and
   dont let the product be saved or published if there are empty fields. I did not
   find any plugin to do that so, i have to use code. Some of the fields that must
   be required are, price, manufacturer, category.
 * pLEASE ANY SUGGESTION OR SOLUTION
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmake-admin-products-fields-required%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/make-admin-products-fields-required/#post-15404132)
 * Hi [@jordantsap](https://wordpress.org/support/users/jordantsap/)
 * Thanks for reaching out!
 * This would require customization. I’ll go ahead and leave this thread open for
   a while in case anyone else wants to chime in, but in the meantime, I can also
   recommend the following resources for more development-oriented questions:
 * – WooCommerce Slack Community: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)
   –
   Advanced WooCommerce group on Facebook: [https://www.facebook.com/groups/advanced.woocommerce/](https://www.facebook.com/groups/advanced.woocommerce/)
 * Also, perhaps this resource may help: [https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript](https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript)
 * Cheers.
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/make-admin-products-fields-required/#post-15435563)
 * Hi there,
 * We’ve not seen any activity on this thread for a while, so I’m marking this thread
   as resolved.
 * Hopefully, you were able to find a solution and the above resources for developers
   were helpful. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Make admin products fields required’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [form fields](https://wordpress.org/support/topic-tag/form-fields/)
 * [required field](https://wordpress.org/support/topic-tag/required-field/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/make-admin-products-fields-required/#post-15435563)
 * Status: resolved