Skip to content

(micro)service that calculates discounts for orders

Notifications You must be signed in to change notification settings

eduardormw/discounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discounts

(micro)service that calculates discounts for orders

JS + jQuery framework

Desc: Small (micro)service that calculates discounts for orders

Three types of discounts:

  • A customer who has already bought for over € 1000, gets a discount of 10% on the whole order.
  • For every product of category "Switches" (id 2), when you buy five, you get a sixth for free.
  • If you buy two or more products of category "Tools" (id 1), you get a 20% discount on the cheapest product.

About

(micro)service that calculates discounts for orders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published