Answer:
This technique is called "bait and switch", it is illegal and is considered false advertising. A seller cannot falsely advertise a product and then simply say that they do not have it on stock. It is a type of sales fraud and it is prohibited by the Lanham Act.
In order for this situation to be considered legal, the seller must have advertised and sold a certain amount of coats, but it didn't sell any. I.e. the seller runs out of stock because it already sold the 3 coats.