Two shop owners have had to pay out more than £14,000, after being prosecuted by Barnsley Metropolitan Borough Council over food safety offences.