Commit Graph

474 Commits

Author SHA1 Message Date
Parsa Nazer 618b978821 comment has_add_permission of ProductVariantInlineAdminPermission 2025-12-11 15:43:13 +03:30
Parsa Nazer f29070bfd6 fix add prodcut bug 2025-12-11 14:19:37 +03:30
Parsa Nazer 8d51da438d test fix ProductVariantInLine 2025-12-11 14:04:32 +03:30
Parsa Nazer f300fe1553 ShopOrderModel fields and signal update 2025-12-11 13:14:46 +03:30
Parsa Nazer 88594f014d fix has add permissiion of product vaietnt 2025-12-11 13:14:21 +03:30
Parsa Nazer 9ea69925c9 feat: Enhance admin permissions and improve product currency handling 2025-12-10 12:38:42 +03:30
Parsa Nazer f0ff23094f update on_delete category 2025-12-08 11:40:24 +03:30
Parsa Nazer 20499e199a change name of unit category 2025-12-08 11:11:08 +03:30
Parsa Nazer b682a90938 fix: Ensure unique slug generation for SubCategoryModel 2025-12-05 14:10:42 +03:30
Parsa Nazer 68368fc531 unit category added 2025-12-04 13:37:55 +03:30
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