fixed warnings with division by 0
fixed warnings with division by 0
Merge pull request #988 from KrzysztofBorbis/master

fixed warnings with division by 0 when coupons applied