Add a drop down to product edit pages in product data “General” settings tab
I am trying to figure out how to modify the singe product options so the product admin can pick from the drop down list the condition of product, i.e. new/ used. Below is a code that allows product admin to enter the condition of product manually. // Enabling and Displaying Fields in backend add_action( 'woocommerce_product_options_general_product_data', 'woo_add_custom_general_fields' ); function woo_add_custom_general_fields() { global $woocommerce, $post; echo '<div class="options_group">'; woocommerce_wp_text_input( array( // Text Field type 'id' => '_Stan', 'label' => __( 'Stan',