WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Terms & Conditions click box upon checkout?

Terms & Conditions click box upon checkout?

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Terms & Conditions click box upon checkout?’ is closed to new replies.
Skip to toolbar