Added setting to disable purchase of products
Normalised plugin return data
Moved currency settings to function