With respect to the topic, the vendor normally writes terms of the contract from his side (found in the boilerplate), which typically contain weasel-phrases such as "force majeure" to avoid liability for failure to perform on time.
If the contract has binding terms for price and delivery, the vendor can be made to pay "general", "consequential", "reliance", or "expectation" damages, or to do "specific performance" (do what they were originally supposed to do).
Breach of contract is a civil case, not criminal. Wimpy's offer "I would gladly pay you Tuesday for a hamburger today" is a contract, but verbal contracts are worth the paper they are written on.