Replace the plug, not the whole cord.
Just replace the plug end.
If your lawn mower ran over the cord and chewed up the male end, you don’t need a whole new cord. Buy a replacement plug at any hardware store for about five bucks. Cut the damaged end off cleanly, strip the wires, and screw them into the new plug. It takes ten minutes and is perfectly safe if you do it right.
If the cut is in the middle of the cord, not at the end, you can splice it with a waterproof in-line cord connector (the kind that screws together). Same idea: cut out the damaged section, strip both ends, and clamp them into the connector. Don’t just wrap it in electrical tape—that’s a fire hazard and will fail.
Both fixes are cheaper and faster than replacing the entire cord. And you don’t lose the whole thing over one mistake.