The issue is probably either in the add to cart where you are adding the code, or maybe you haven't uploaded the cart folder after adding the column an discount? If I could get FTP access and a link to a product with the discount code, then I could look into it further.