Skip to content

Fixed discounts

Compare
Choose a tag to compare
@patrys patrys released this 20 Aug 16:08
· 90 commits to master since this release

This version adds a FixedDiscount price modifier. You can use it to automatically subtract a certain amount from a price.

Price(30, currency='USD') + FixedDiscount(Price(10, currency='USD'))
# Price('20', currency='USD')

We now also have automated testing using Travis and coverage reporting using Coveralls.