WooCommerce - excelling eCommerce
Terms & Conditions click box upon checkout? (2 posts)

  1. AnnieInItaly
    Posted 2 years ago #

    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?


  2. erich_k4wp
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic