Hi,
I've added an addon for people to test which is for the ecommerce module. It enables discount codes which discount by a dolar amount or by a percentage off the total order.
Please test and give feedback :)
http://open.silverstripe.com/ticket/2534 <- download here.
Scott.