Commit Graph

13 Commits

Author SHA1 Message Date
Parsa Nazer d29ed8e35b feat: add profit and special discount fields to ProductVariant model
- Updated ProductVariant model to include 'profit' and 'special_discount_percent' fields.
- Added corresponding fields in the admin interface for ProductVariant.
- Created migration to add new fields to the database.

feat: implement special discount code functionality in cart

- Added composables for submitting and deleting special discount codes.
- Updated CartSummary and CartItem components to handle special discount codes.
- Enhanced API endpoints to support special discount operations.
- Updated global types to include special discount code details in the cart.
2025-11-15 11:00:33 +03:30
Parsa Nazer 4047352399 remove unsed api 2025-09-23 10:17:36 +03:30
Parsa Nazer bcc5bf23f5 add callback url 2025-04-11 20:57:33 +03:30
Parsa Nazer 6d61508ea2 clean up swagger 2025-03-27 22:15:31 +03:30
Parsa Nazer 1d5c1ac60d set address view and permiosn 2025-03-19 22:06:22 +03:30
Parsa Nazer c649770941 order cart payment update
added signals for order
2025-03-19 20:08:55 +03:30
Parsa Nazer f9a339b039 update order list serializer add get order view and its permission 2025-03-17 16:15:38 +03:30
Parsa Nazer 6009c43345 base of payment gateway 2025-03-13 22:26:17 +03:30
Parsa Nazer 06b540d069 cart item clear and apply discount view 2025-03-11 00:09:51 +03:30
Parsa Nazer 880ab60fac order list view and serilaizer 2025-02-25 00:54:50 +03:30
Parsa Nazer b5ce2e5fc4 order cart 2025-02-23 23:10:26 +03:30
Parsa Nazer d8f7be7772 order urls fix intendent and order item verbose name udpate 2025-02-15 00:43:32 +03:30
Parsa Nazer 81d75d61e7 product varient change list bug fix order item change quantity and remove 2025-02-15 00:08:16 +03:30