Remove Mandatory Fields from Checkout
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.
You can remove the mandatory requirement for specific fields in the checkout – using the filter eshopCheckoutReqd – via a function in your theme’s functions.php file.
Example:
// Remove zip/ post code from mandatory fields on checkout form.
function my_mandatory_fields ($reqd) {
$new_reqd = array();
foreach( $reqd as $item ) {
if ( $item != 'zip') $new_reqd[] = $item;
}
return $new_reqd;
}
add_filter( 'eshopCheckoutReqd', 'my_mandatory_fields');

FlipFlop 3.0