David Winterbottom
e8a04e9818
Fix basket test checking for context var that is no longer needed
13 anos atrás
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 anos atrás
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 anos atrás
David Winterbottom
a9e833428c
Reworked the way baskets are merged.
When merging a cookie basket with a user basket, we now set the new line
quantity to the max of that from the two baskets. This is to prevent
stock rules being violated by merging these baskets.
13 anos atrás
Asia Biega
3522f5aaef
Fix Basket report tests
13 anos atrás
Tomasz Rybarczyk
54920dfcf9
Verify availability when moving product from wishlist to basket
13 anos atrás
Asia Biega
c962542a6d
Fix Basket report tests
13 anos atrás
David Winterbottom
9a5869f6bd
Fixed bug in basket reports due to undefined constants.
13 anos atrás
David Winterbottom
ba24f78348
Basket line model now tracks the original price
This allows us to show warning on the basket page when the price has
changed.
14 anos atrás
David Winterbottom
e029e1ab24
Added estimated shipping charge to basket summary page.
Looks up all shipping methods for a basket and picks the first one to
form the estimate.
14 anos atrás
David Winterbottom
0e66a5089f
Removed twill from dependencies
14 anos atrás
Patryk Zawadzki
8834f1aa51
Cosmetics
14 anos atrás
Patryk Zawadzki
8a38a5ac13
Add OSCAR_MAX_BASKET_QUANTITY_THRESHOLD
14 anos atrás
David Winterbottom
08404adf6a
Updated customer communication models
14 anos atrás
David Winterbottom
0dd0f384fd
Lots of minor tidy-up/pep8 related things - plus fixed lots of broken
tests
14 anos atrás
Andrew Ingram
a976882f31
More work on basket views, decided to steer away from anything clever and use different views to handle different functionality.
14 anos atrás
David Winterbottom
96a90e6d4b
Added Twill base test case
14 anos atrás
David Winterbottom
d8494beaca
Tided up address, analytics, basket apps
14 anos atrás
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
14 anos atrás
David Winterbottom
1114fb9dca
Tidied up the basket app
15 anos atrás
David Winterbottom
2a91d1b9e5
Added first tests for checkout
15 anos atrás
David Winterbottom
e3518a1518
Added some Client tests for the basket app
15 anos atrás
David Winterbottom
e7c4c6553b
Fixed the unit tests, fixed a few minor issues with basket loading
15 anos atrás
David Winterbottom
df9e2b5ec8
Added a test runner and better tests / Updated admin options
15 anos atrás
David Winterbottom
1f8634fe07
New packages for testing, updated basket models
* Installed the test_extensions app
* Tweaked the basket models and added some basic methods and tests
15 anos atrás
David Winterbottom
675ce9577a
Restructured apps to be subapps of oscar
15 anos atrás
David Winterbottom
0673fac702
Added some more basic model skeletons.
15 anos atrás
David Winterbottom
af3ddaa046
Added payment models
15 anos atrás