Student loans may not greatly impact your mortgage in the UK since these are short-term loans. A mortgage is a huge borrowing, and there is always a chance you must have enough savings to pay its monthly instalments or down payment.
However, a student loan may impact you if you do not repay it on time. Missing or late loan repayments always dent your credit score, which will not be good for your mortgage application or overall credit record.