Implemented AJAX discount code entry.