fixed bugs with price group discount and promotion code not applying to cart