Skip to content

A small gem for an online shop to add discount and reduction rules

License

Notifications You must be signed in to change notification settings

matt0903/CheckoutDiscounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#About This was built with the following in mind:

Our marketing team want to offer promotions as an incentive for our customers to purchase these items.

If you spend over £60, then you get 10% off your purchase If you buy 2 or more travel card holders then the price drops to £8.50.

Our check-out can scan items in any order, and because our promotions will change, it needs to be flexible regarding our promotional rules.

The checkout test can be run by running:

rspec spec/checkout_spec.rb

About

A small gem for an online shop to add discount and reduction rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages