I had to install self closing hardware on our primary bedroom door. You might think, did they really need to do that? In our case yes, we have pets and there are no rugs in our house except for 1 rug in the bathroom sink area of the primary bedroom. Most of the time my partner does not close the door (started about 6 months ago), So, one or more of our pets will go in there and do their business.
– – – HERES WHAT I DID – – –
STANDARD HARDWARE CLOSER
More expensive (approx $40), heavy duty, a little harder to install, purchased at Home Depot

WIRE CLOSER
Very inexpensive (under $10), light duty, install would have been easy except our door frames where not wide like the picture below, ordered from amazon.

SELF CLOSING HINGES
Less expensive (approx $16), medium duty, easy and only few minutes to install (replace 1 hinge), purchased at Home Depot.
We have 8 foot doors in our house and it only required 1 self closing hinge. Be sure and measure the height of your door hinge.

In the end, after trying the first two, I wound up using the hinge.