It's obvious that the customer is going to get in your restaurant, so there's no problem. いらっしゃいませ is not used only after entering there. You can say it when you encounter a customer in front of your restaurant (if he/she is going to enter there, of course).