Go to file
florianschlegel 18e788cf8d Feature: voucher cumulation (#14)
* enable optional cumulation of multiple regular vouchers (overruling best option rule) //  fix bug where vouchers could falsely be cumulated when pricerule is identical // add unit tests

* fix pre-filtering of vouchers

* minor cleanup

* refactor: remove access to global test data from promo cumulation tests // add test for employee disscount

* feat: ExcludeAlreadyDiscountedItemsForVoucher does no longer apply to discounts with TypePromotionCustomer

* update unit tests for promo cumulation

* update unit tests for promo cumulation

* update pricerule cumulation tests

* pricerules: reimplement test for BuyXPayY

* add more tests for pricerules
2020-01-27 12:20:15 +01:00
.vscode mongo test env setup 2018-05-22 17:31:01 +02:00
address fix: nil check to avoid panic 2018-10-09 14:41:04 +02:00
atp Big refactoring to make customer independant from order. Introduced Getters and Setters for Order and Customer for more controlled acces. Unfortunatly it's impossible to protect any fields from unwanted modifications by private fields, because only public fields can be stored in the db. 2016-05-18 18:31:20 +02:00
configuration Update integration tests to function correctly 2017-11-08 13:55:39 +01:00
crypto Remove dependency on utils (Project-Globus-Services) 2017-11-09 14:26:17 +01:00
customer ensure mongo collection index on customer persistor 2018-07-18 01:07:17 +02:00
examples Remove dependency on utils (Project-Globus-Services) 2017-11-09 14:26:17 +01:00
mock Update integration tests to function correctly 2017-11-08 13:55:39 +01:00
order private sale (#13) 2019-12-09 15:35:53 +01:00
payment new vo's for payment 2016-03-09 09:55:00 +01:00
persistence chore: fix missing mgo dependency 2019-07-02 13:10:35 +02:00
pricerule Feature: voucher cumulation (#14) 2020-01-27 12:20:15 +01:00
queue Remove spew dependency 2017-11-08 14:00:19 +01:00
scripts mongo test env setup 2018-05-22 17:31:01 +02:00
shipping removed dependancy with Project-Globus-Services.types package 2016-02-29 13:50:31 +01:00
shop_error added new error types 2016-09-21 16:21:05 +02:00
state Reduce logging of state machine 2019-03-21 15:36:31 +01:00
test_utils Removed deprecated test 2017-11-09 15:15:17 +01:00
trace minor fix 2016-06-15 10:44:57 +02:00
unique makes unique shortID generator compatible to dependency go-shortid 2018-03-27 22:26:34 +02:00
utils Replace docker assert with stretchr assert 2019-09-18 09:51:25 +02:00
version renamed history package to version to avoid confusion with event history 2016-05-30 17:20:10 +02:00
watchlist Update integration tests to function correctly 2017-11-08 13:55:39 +01:00
.gitignore glide dependency cleanup 2018-03-27 21:04:22 +02:00
.travis.yml chore: test dependencies 2019-11-20 13:53:37 +01:00
go.mod dependency management with go mod instead of glide (#10) 2019-09-18 14:03:10 +02:00
go.sum dependency management with go mod instead of glide (#10) 2019-09-18 14:03:10 +02:00
Makefile chore: test dependencies 2019-11-20 13:53:37 +01:00
README.md Remove deprecated test 2017-11-08 14:06:36 +01:00

Light weight shop processing library

Build Status

Pure go library to implement e-commerce backends.