“Will” may be used in the same was as “would” in the if-clause of a conditional sentence in polite conditionals:
If you will come this way, I’ll show you to the manager’s office.
We also sometimes use “will” in the if-clause when we’re annoyed (“will” is usually stressed in such sentences):
If you will keep smoking, you can only expect to lose your health.
In such a case “will” is not part of the future form, but an expression of willingness.
We also use “will” in the if-clause to talk about a future result:
By all means stop eating meat if it will help your stomach problems.