OXID-eSales/oxideshop_ce — pull request #62 by druteika (2013-10-07 14:39:56+00:00)
Title: Fix for bug #0005162 - voucher duscount calculation fix.

Case is: voucher series with fixed discount amount assigned directly to product.

It makes voucher discount apply only once for all basket items.

Originally if You had several articles assigned to same voucher series and put those articles to basket and apply a code, then You got a discount value multiplied as many times as there are articles.

It limits discount only if "Calculate once" checkbox is set. (Originally this checkbox reacted only on amount of same articles, not on different articles from same series)