Fix a cabinet door that won't stay shut: adjust or replace the catch
Added
Family Handyman says most newer cabinets have self-closing hinges that hold doors shut, while others use magnetic or roller catches. A catch that no longer holds is either broken or out of adjustment.
The result
Result: Family Handyman: catches are fastened with two screws, so replacing a damaged one is simple.
Source
Family Handyman (opens the original source in a new tab). Check it for the latest numbers before you act.