WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. AnnieInItaly
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/woocommerce/

  2. erich_k4wp
    Member
    Posted 1 year 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

About this Topic