The author of the novels that served as the basis for the 2009 romantic comedy “Confessions of a Shopaholic” has died from brain cancer.