Commit Graph

10 Commits

Author SHA1 Message Date
Mekan1206
9107d3118d WIP 2026-02-19 00:38:32 +05:00
Mekan1206
fac624b2a5 WIP 2026-02-19 00:35:01 +05:00
Mekan1206
522ebdae34 Refactor product relations to use new category_product and channel_product tables
- Updated queries and relationships in various controllers and models to replace `product_has_relations` with `category_product` and `channel_product`.
- Adjusted methods in `ProductFilterer`, `FilterParamsController`, and `FilterController` to reflect the new database structure.
- Modified seeder to insert data into the new `channel_product` table.
- Updated tests to ensure compatibility with the new product relation structure.
2026-02-09 00:48:22 +05:00
Mekan1206
c46eccb24f Refactor code for improved readability and consistency
- Removed unnecessary blank lines in various files to enhance code clarity.
- Updated comments for consistency and clarity across multiple classes and methods.
- Adjusted spacing in test files for better formatting and readability.
2026-02-08 02:24:43 +05:00
Mekan1206
968c9ed42a Add product view tracking and related functionality
- Implemented product view tracking in ProductController to log user views.
- Added a relationship for viewed products in the User model.
- Introduced a method in ProductRepository to filter products viewed by a user.
- Updated API routes to include endpoint for retrieving viewed products.
- Commented out SMS notification logic in SendOrderCreatedNotification.
- Removed CreateOrderServiceTest as it is no longer needed.
2026-02-08 02:02:30 +05:00
eaae8b9be9 Refactor order creation logic by introducing CreateOrderService and removing the create method from OrderRepository. Update ProductRepository with stricter type declarations and fix minor typos in comments. 2026-02-05 01:29:10 +05:00
38fa0e2e45 Add properties filtering and relationships in Product model 2026-02-05 01:08:07 +05:00
45bc0b61a1 wip 2026-02-04 21:08:52 +05:00
75c6484c6d wip 2026-02-04 21:07:55 +05:00
326c677e8d reupload 2026-02-03 15:31:29 +05:00