I have custom field added to product posts. This is dropdown field and displaying on front end it pulls the option value which is not display friendly, for example select option value is "like_new" with label is "Like New" Is there a way to get Like New displayed instead of like_new?
Here is code for the field, I'm using standard "get_post_meta"
woocommerce_wp_select(
array(
'id' => '_condition',
'label' => __( 'Condition', 'woocommerce' ),
'desc_tip' => 'true',
'description' => __( 'Part Condition.', 'woocommerce' ),
'options' => array(
'new' => __( 'New', 'woocommerce' ),
'like_new' => __( 'New other (see description) ', 'woocommerce' ),
'remanufactured' => __( 'Remanufactured', 'woocommerce' ),
'used' => __( 'Used', 'woocommerce' )
)
)
);