Releases: RevoTale/php-shopping-cart
Releases · RevoTale/php-shopping-cart
0.4.0: Polish library. Merge pull request #2 from RevoTale/improvents
Fix bug where item disappear on zero subtotal
0.3.2 Merge remote-tracking branch 'origin/main'
Fixed subtotal negative values
- Fixed negative values in total/subtotal
Important fixes
- Redesigned interface for better usability
- Tests with strict phpstan rules
- Use Rector to keep code quality high
- Make item quantity methods nullable for better understanding of results
Important fixes
- Fix infinity loop bug caused by promo items reducer
- Fix cases where item counters are duplicated
Fix bug when items with negative value remains.
0.2.4 Fix bug when items with negative value remains.
Add list of not eligible promo
0.2.3 Add list of not eligible promo to totals
Add methods to checks diffs.
0.2.2 Tests items diff methods
Important fixes
- Fixed promotions reduce calculation.
- Created tests for promotions reduce calculation.
First production grade release.
- Fixed decimals computing
- Extended promotion abilities
- More tests