Discount + AJAX optimised + Delete function