hacky discount implementation in simpleCart