Kenin
(@kbassart)
Automattic Happiness Engineer
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.

Link to image: http://cld.wthms.co/YuCmmP
You can learn more about setting that up here: https://docs.woocommerce.com/document/managing-product-taxonomies/#section-6
Thanks but how can I make it required before item is posted?
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
(@kbassart)
Automattic Happiness Engineer
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://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:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Hello,
Thank you that is what I am looking for. Should I add it to theme or somewhere in Woocommerce?
Kenin
(@kbassart)
Automattic Happiness Engineer
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/
Great will try the plugin see has some good options.