Commit Graph

464 Commits

Author SHA1 Message Date
Parsa Nazer 486f1fc969 order shop admin 2025-11-20 14:44:15 +03:30
Parsa Nazer ce18f602c4 ShopOrderModel and ShopDailyReport system 2025-11-18 14:27:22 +03:30
Parsa Nazer be23b087f1 commition field added to shop model 2025-11-18 13:54:57 +03:30
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 fead6f1b1d migrations file 2025-11-15 11:04:37 +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 030976044c permission 2025-11-14 16:31:24 +03:30
Parsa Nazer 3818f55276 403 404 500 templates 2025-11-14 14:08:27 +03:30
Parsa Nazer e3baa04748 400 and 500 errors handlers 2025-11-14 14:07:36 +03:30
Parsa Nazer 6b4fcb0672 Optimize product queries with select_related and prefetch_related for improved performance 2025-11-03 12:25:02 +03:30
Parsa Nazer bf0817ed34 Optimize product count retrieval and enhance query performance with prefetch_related 2025-11-03 11:56:47 +03:30
Parsa Nazer c0d787da6a Refactor serializers and views for improved readability and performance 2025-11-03 11:51:28 +03:30
Parsa Nazer 6524ae7605 add image filed to product 2025-10-29 21:05:56 +03:30
Parsa Nazer 78e8ab54ed filters for product and product varient 2025-10-29 20:40:09 +03:30
Parsa Nazer 4c76ca6807 list filter for product 2025-10-23 17:04:31 +03:30
Parsa Nazer 8d38346267 UserFavorites system 2025-10-23 12:40:40 +03:30
Parsa Nazer fed32e78c5 file_overwrite = False 2025-10-21 10:59:25 +03:30
Parsa Nazer 1617ed29a2 update rtl file 2025-10-20 21:23:33 +03:30
Parsa Nazer e6033999f2 push rtl css again 2025-10-20 19:46:12 +03:30
Parsa Nazer 3aae4960a7 fix 2025-10-20 19:34:21 +03:30
Parsa Nazer 7414a2b304 fix price_after_discount 2025-10-20 18:56:56 +03:30
Parsa Nazer e9e7601b3d update admin and image for product image 2025-10-20 18:56:48 +03:30
Parsa Nazer 9b89600314 downgrade admin to 48 2025-09-26 12:54:16 +03:30
Parsa Nazer e6d8527bdb down grade admin 2025-09-24 11:07:42 +03:30
Parsa Nazer c870e2854c new unfold version 2025-09-23 12:59:05 +03:30
Parsa Nazer 27712f8572 fix rollback of in stock function 2025-09-23 11:53:12 +03:30
Parsa Nazer 7d8ea8ca15 fix styles of amdin 2025-09-23 11:25:26 +03:30
Parsa Nazer 0ce765c2df finish payment logic 2025-09-23 11:25:20 +03:30
Parsa Nazer 4047352399 remove unsed api 2025-09-23 10:17:36 +03:30
Parsa Nazer dab89b93a7 update cart logic 2025-09-23 10:17:19 +03:30
Parsa Nazer cd6c5bf343 update product pudate prices 2025-09-23 10:15:12 +03:30
Parsa Nazer 6eeab79000 remove unused api 2025-09-23 10:14:35 +03:30
Parsa Nazer 76a05c2a1e add product slug to product varient serializers 2025-09-23 10:12:45 +03:30
Parsa Nazer 44a6a56184 add bot categories 2025-09-05 15:33:28 +03:30
Parsa Nazer 1d0676573f order by for products 2025-08-30 17:20:02 +03:30
Parsa Nazer cbd5679f80 new ordering 2025-08-30 17:09:55 +03:30
Parsa Nazer 71cd02f52b Add 'name' field to BotProductDetailView response 2025-08-05 00:28:03 +03:30
Parsa Nazer 703bd7d4f3 Update BotProductDetailView to return 'bot_banner' instead of 'banner 2025-08-05 00:23:16 +03:30
Parsa Nazer e9b1666423 Add 'bot_banner' field to ProductModel and create BotProductDetailView for bot integration 2025-08-05 00:13:47 +03:30
Parsa Nazer d9b6655ee8 Add 'show_in_bot' field to ProductModel and implement BotProductsView for bot integration 2025-08-04 23:18:30 +03:30
Parsa Nazer d0dfa3eaa7 Add ShopModel and integrate with ProductModel
- Created ShopModel with fields for shop name, description, and user association.
- Updated ProductModel to include a foreign key relationship with ShopModel.
- Added admin interface for ShopModel with search functionality.
- Created migrations for ShopModel and its integration with ProductModel.
2025-08-02 18:57:46 +03:30
Parsa Nazer 996de7aab2 indexes of product 2025-07-28 15:25:37 +03:30
Parsa Nazer cf56b759bb increse product name limit 2025-07-23 19:22:29 +03:30
Parsa Nazer d9177e9fd2 update chat 2025-06-22 16:03:30 +03:30
Parsa Nazer 71b6545dd6 update ShowCaseSlider 2025-05-29 21:14:50 +03:30
Parsa Nazer 0a51390a7c fix otp 2025-05-28 16:49:50 +03:30
Parsa Nazer 85c1068ef5 update otp message 2025-05-27 12:28:44 +03:30
Parsa Nazer b2265de168 update serilaizer 2025-05-24 22:49:19 +03:30
Parsa Nazer e966635c09 fix bug notif 2025-05-24 22:36:55 +03:30