/** * Disable the validator when the action clicked is to use a different shipping address * or use the member shipping address. */ function beforeProcessing() { if (isset($_REQUEST['action_useDifferentShippingAddress']) || isset($_REQUEST['action_useMemberShippingAddress'])) { return true; } else { return parent::beforeProcessing(); } }