Files
vontor-cz/backend/commerce
David Bruno Vontor 7a715efeda Enhance discount logic and shop configuration models
Refactored discount application logic in OrderItem to support multiple coupons with configurable multiplication and addition rules from ShopConfiguration. Updated DiscountCode model to use PositiveIntegerField for percent and improved validation. Extended ShopConfiguration with new fields for contact, social media, and coupon settings. Ensured ShopConfiguration singleton creation at app startup.
2025-11-14 15:18:08 +01:00
..
2025-10-29 00:58:37 +01:00
2025-10-28 03:21:01 +01:00
2025-11-12 02:12:41 +01:00
2025-11-12 02:12:41 +01:00