Commit Graph

25 Commits

Author SHA1 Message Date
Mamalizz-dev 7142ce50f1 refactor: refactor Modal component, add loading skeletons to cart items, and perform minor UI/code cleanup across components 2026-05-13 13:14:14 +03:30
marzban-dev dbd1879f7e Implement terms accepting 2026-05-02 12:27:43 +03:30
marzban-dev 90a305234d Make all spinner icons local 2026-04-28 20:59:51 +03:30
marzban-dev 83accfef52 Make bootstrap icons offline and add them to ci: prefix icons 2026-04-25 21:18:04 +03:30
marzban-dev 03ef21cd75 fix: Fix special discount input problem 2025-11-20 13:33:07 +03:30
Mamalizz-dev 2f9e24844a added new special code discount input 2025-11-15 12:51:30 +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 bc605b441a add fields 2025-09-22 13:20:50 +03:30
marzban-dev 4a21072e54 Add priority and lazy loading to some images 2025-09-09 10:45:27 +03:30
Mamalizz 31ee23406a changed some styles 2025-04-18 19:49:54 +03:30
Mamalizz 325a41076c changed discount button color 2025-04-17 00:31:21 +03:30
Mamalizz 28e4f87d01 added a delay for redirect to bank gateway 2025-04-16 20:08:58 +03:30
Mamalizz 5531fed95e changed some style and gif 2025-04-11 21:39:48 +03:30
Mamalizz 429891d5db connected payment 2025-04-08 22:59:19 +03:30
Mamalizz 9687f5143b new changes 2025-03-27 23:07:02 +03:30
marzban-dev eab8bfcbd5 Update img tags to NuxtImg 2025-03-23 23:22:17 +03:30
marzban-dev 2106f3f40b Updated 2025-03-22 23:43:49 +03:30
Mamalizz 83885b2128 conncted discount input to api 2025-03-18 20:30:43 +03:30
Mamalizz e065e6381a added order summary component 2025-03-18 16:20:57 +03:30
Mamalizz d037cc4bb8 connected minimal cart item to api 2025-03-18 16:20:36 +03:30
Mamalizz edc1066b3f changed submit discount code input and button 2025-03-18 16:20:17 +03:30
Mamalizz d7ddcaf197 changed api composbale name 2025-03-15 01:45:32 +03:30
Mamalizz 6a718562ee added submit discount code 2025-03-13 02:37:08 +03:30
Mamalizz 25e023e2b3 added cart summery 2025-03-13 01:34:20 +03:30
Mamalizz 4d67e8b1f2 changed directory 2025-03-13 01:34:10 +03:30