Commit Graph

31 Commits

Author SHA1 Message Date
Parsa Nazer 5820b4703a get_special_discount_amount null 2025-11-15 12:46:54 +03:30
Parsa Nazer 6838ccc3b9 remove prints and error for otp 2025-11-15 11:11:15 +03:30
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 dab89b93a7 update cart logic 2025-09-23 10:17:19 +03:30
Parsa Nazer 76a05c2a1e add product slug to product varient serializers 2025-09-23 10:12:45 +03:30
Parsa Nazer d50dc2309d signal of address and some model udapte send address filed of an order 2025-04-18 17:29:04 +03:30
Parsa Nazer a4ea17d816 clean up cart and add order_id filed to order 2025-03-27 22:17:03 +03:30
Parsa Nazer 966b6bf538 debug cart serializer 2025-03-17 17:28:05 +03:30
Parsa Nazer dc449c8347 update order item serilizer 2025-03-17 17:09:01 +03:30
Parsa Nazer 6f33549200 send price in serializer 2025-03-17 16:48:38 +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 d440a3e8a6 test payment 2025-03-15 01:51:44 +03:30
Parsa Nazer 5ed9a7cda1 update order serilaizer1 2025-03-14 22:06:11 +03:30
Parsa Nazer 75a057267d add id of product varient 2025-03-13 20:57:23 +03:30
Parsa Nazer 4ae6b7c9b6 update price formats 2025-03-12 23:03:57 +03:30
Parsa Nazer 95020a5dbf add category filed to product varient serializer 2025-03-12 21:39:12 +03:30
Parsa Nazer e6ff075e99 structre product cart response 2025-03-12 20:27:08 +03:30
Parsa Nazer 48545abc12 read only filed price for OrderItemSerailzier 2025-03-11 23:07:19 +03:30
Parsa Nazer 234e27e90e new fields for order model and update cart serialzier 2025-03-11 22:35:49 +03:30
Parsa Nazer 4255910e81 cart place holder 2025-03-11 01:21:16 +03:30
Parsa Nazer 2589ac7321 discount admin and code to name update 2025-03-11 00:09:36 +03:30
Parsa Nazer 7c0c4329b1 cron job added if it wont work fck this 2025-03-09 01:13:21 +03:30
Parsa Nazer 5de65b921d clean code and some .env update 2025-03-06 21:04:08 +03:30
Parsa Nazer 9cbc6aaa6f clean code space 2025-03-06 20:55:48 +03:30
Parsa Nazer ffa57933c3 sending the real image for product list the 3 first one 2025-03-06 20:43:49 +03:30
Parsa Nazer e5e06a5795 Image list place holder and id order list 2025-02-25 21:33:42 +03:30
Parsa Nazer 31655aeaa9 Order count and cover 2025-02-25 21:24:01 +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 96cfcf1fcb persion datetime and serializer ticket udpate 2025-02-17 22:40:44 +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