Title: Condition Add
Last modified: December 21, 2018

---

# Condition Add

 *  Resolved [alisean87](https://wordpress.org/support/users/alisean87/)
 * (@alisean87)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/)
 * Hello,
 * In woocommerce when a product is posted to have a drop down box to add the condition
   of the product.
    Brand New New (Without Package) Used Refurbished
 * Thank you

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

 *  [Kenin](https://wordpress.org/support/users/kbassart/)
 * (@kbassart)
 * Automattic Happiness Engineer
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11017163)
 * Hi there,
 * The easiest way to add this would be to use add a Global Attribute with those
   4 options and then select one during product creation.
 * ⌊Attributes⌉⌊Attributes⌉
    Link to image: [http://cld.wthms.co/YuCmmP](http://cld.wthms.co/YuCmmP)
 * You can learn more about setting that up here: [https://docs.woocommerce.com/document/managing-product-taxonomies/#section-6](https://docs.woocommerce.com/document/managing-product-taxonomies/#section-6)
 *  Thread Starter [alisean87](https://wordpress.org/support/users/alisean87/)
 * (@alisean87)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11018503)
 * Thanks but how can I make it required before item is posted?
 *  Thread Starter [alisean87](https://wordpress.org/support/users/alisean87/)
 * (@alisean87)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11019658)
 * Hello,
 * Condition with these 4 options Required before item is posted.
    Brand also Required.
   If brand is not in drop down seller is allowed to type it and add it. Like eBay.
   Color is optional also a add button if color isn’t there.
 * How to make sellers choose main category then sub category required before item
   is listed. Had a seller add a product but only added it in main category so want
   sub category to be a most.
 * Plugin we using dokan
 * Thank you
 *  [Kenin](https://wordpress.org/support/users/kbassart/)
 * (@kbassart)
 * Automattic Happiness Engineer
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11029783)
 * Hi there,
 * Since you are using Dokan, you may want to check with them to see if there are
   options for making some of these selections an option in the plugin. If not, 
   you’d need to customize this in order to make those fields required in the admin
   area.
 * As this is a fairly complex development topic. I’m going to leave it open for
   a bit to see if anyone is able to chime in to help you out.
 * Here are some resources I found that may be helpful:
 * [https://www.damiencarbery.com/2018/01/make-weight-a-required-field-in-woocommerce/](https://www.damiencarbery.com/2018/01/make-weight-a-required-field-in-woocommerce/)
   
   [https://stackoverflow.com/questions/23821420/how-can-i-make-custom-field-value-required-compulsory-in-woocommerce-product](https://stackoverflow.com/questions/23821420/how-can-i-make-custom-field-value-required-compulsory-in-woocommerce-product)
 * I can also recommend the following places for more development-oriented questions:
    1. WooCommerce Slack Community: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)
    2. Advanced WooCommerce group on Facebook: [https://www.facebook.com/groups/advanced.woocommerce/](https://www.facebook.com/groups/advanced.woocommerce/)
 *  Thread Starter [alisean87](https://wordpress.org/support/users/alisean87/)
 * (@alisean87)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11031402)
 * Hello,
 * Thank you that is what I am looking for. Should I add it to theme or somewhere
   in Woocommerce?
 *  [Kenin](https://wordpress.org/support/users/kbassart/)
 * (@kbassart)
 * Automattic Happiness Engineer
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11032518)
 * Hi there,
 * Code should never be added directly to a plugin.You can add custom code to a 
   child theme or by using a plugin such as this: [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)
 *  Thread Starter [alisean87](https://wordpress.org/support/users/alisean87/)
 * (@alisean87)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11035997)
 * Great will try the plugin see has some good options.

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

The topic ‘Condition Add’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [alisean87](https://wordpress.org/support/users/alisean87/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/condition-add-2/#post-11035997)
 * Status: resolved