Mandatory Signup

Last updated on Thursday, June 16th, 2011

These instructions are intended for those who are proficient in theme development. The relevant tutorials on developing & customising themes can be found on wordpress.org. If this is beyond you, we do offer a competitively-priced theme development service starting at £33 per hour. Please contact us for further details.

From version 6.28, you can now require customers to sign up to your site before they can make a purchase. To implement this, you need to add the signup field to the list of eShop required fields – using the filter eshopCheckoutReqd – via a function in your theme’s functions.php file.

Example:

function my_signup ($array) {
	$array[] = 'signup';
	return $array;
}
add_filter( 'eshopCheckoutReqd',  'my_signup');

WordPress Support Services

Top