I've scoured WooCommerce and I can't find a way to make Terms & Conditions box that people have to click to say that they've read and agree, when they go to the checkout page.
Is this possible? And if so, how?
I've scoured WooCommerce and I can't find a way to make Terms & Conditions box that people have to click to say that they've read and agree, when they go to the checkout page.
Is this possible? And if so, how?
you can add a filter to your functions.php
add_filter('woocommerce_billing_fields', 'custom_woocommerce_billing_fields');
function custom_woocommerce_billing_fields( $fields_array )
{
$fields_array['agb'] = array(
'name' =>'agb',
'type' => 'checkbox',
'label' => __('Mit Abgabe einer Bestellung bestätigen Sie, unsere AGB gelesen, verstanden und akzeptiert zu haben.', 'woothemes'),
'placeholder' => __('AGB', 'woothemes'),
'required' => true,
'class' => array('notes')
);
return $fields_array;
}
found here
You must log in to post.