Quantcast
Channel: Clan VPS Host » woocommerce
Viewing all articles
Browse latest Browse all 195

Conditionally unset checkout field in woocommerce

$
0
0

How can I conditionally unset the other two fields from server side and remove the required validation from it? Here is how the form looks like: Here is the code: function bs_filter_checkout_fields($fields){ $fields['billing'] = array( 'add_type' => array( 'type' => 'radio', 'label' => __( 'Address Type' ), 'options' => array( 'house' => __( 'House' ), … Continue reading Conditionally unset checkout field in woocommerce

The post Conditionally unset checkout field in woocommerce appeared first on Clan VPS Host.


Viewing all articles
Browse latest Browse all 195

Trending Articles