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
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
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
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
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
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
11eab8c21b
fix bug product list
2025-05-24 20:22:39 +03:30
Parsa Nazer
9ec74eef99
remove categort type
2025-05-24 20:17:15 +03:30
Parsa Nazer
72a6b2658f
categorys slug start with category
2025-05-24 19:20:58 +03:30
Parsa Nazer
421734794a
created at field
2025-05-22 18:03:58 +03:30
Parsa Nazer
0e4a28aafd
remoce comment slash
2025-05-22 14:27:52 +03:30
Parsa Nazer
ffce23faaf
add slash again
2025-05-22 14:17:32 +03:30
Parsa Nazer
5ed006ff49
update comment url with slug
2025-05-22 14:11:33 +03:30
Parsa Nazer
8087f3aaa5
fix url
2025-05-22 13:59:25 +03:30
Parsa Nazer
59956d3232
Update urls.py
2025-05-21 18:56:31 +03:30
Parsa Nazer
8f46468271
Update urls.py
2025-05-21 18:45:06 +03:30
Parsa Nazer
c80c581a10
Update urls.py
2025-05-21 18:14:32 +03:30
Parsa Nazer
74fc7c147b
Update urls.py
2025-05-21 18:09:03 +03:30
Parsa Nazer
ec736b05e4
Update urls.py
2025-05-21 18:03:30 +03:30
Parsa Nazer
a88fd43a42
Update urls.py
2025-05-21 17:44:26 +03:30
Parsa Nazer
bc214a2bdc
product get slug
2025-05-21 15:02:02 +03:30
Parsa Nazer
2874798c67
Add video field to MainCategoryModel and update related serializers and views
2025-05-21 14:51:24 +03:30
Parsa Nazer
7e54d8a62f
OpenApiParameter(
...
name="category",
type=OpenApiTypes.STR,
2025-05-21 14:17:18 +03:30
Parsa Nazer
b5eb6d8fd0
clean code AllProductsView
2025-05-21 14:12:03 +03:30
Parsa Nazer
236582a20a
category update
2025-05-21 14:08:50 +03:30
Parsa Nazer
0b55ae8b2a
categorys slider view
2025-05-19 21:37:47 +03:30
Parsa Nazer
2f1236a83d
new route
2025-05-19 20:41:54 +03:30
Parsa Nazer
3489a747e8
fix null of detail model
2025-04-24 22:05:34 +03:30