I can't think of a word for the cure, but here's for the sickness:
oniomania - an uncontrollable urge to buy things