ncoronel
10157d7c63
feat: Implement inventory policy for product variants
...
- Introduced InventoryPolicy enum to manage tracked and unlimited inventory types.
- Updated ProductVariant model to include inventory_policy and cantidad_vendida attributes.
- Modified addItem and updateItem methods in Cart to check available quantity based on inventory policy.
- Added migration to include inventory_policy and cantidad_vendida in productos_variantes table.
- Enhanced tests to validate inventory behavior for both tracked and unlimited policies.
- Updated various request and resource classes to handle new inventory fields.
2026-07-16 08:36:59 -03:00
ncoronel
cababe1a43
feat: add ticket fields to Product and ProductVariant models, requests, and resources
2026-07-14 15:19:53 -03:00
ncoronel
13bdb436ed
feat: implement FeaturedGroup and FeaturedVariant controllers, models, requests, resources, and routes for managing featured groups and variants
2026-07-14 14:58:28 -03:00
ncoronel
a150a9f694
feat: implement product and variant CRUD management service with attachment handling
2026-07-01 11:44:56 -03:00
ncoronel
e78e64ed2e
feat: implement product seeding logic from image catalog and add supporting service methods and requests
2026-07-01 09:48:43 -03:00
ncoronel
cb15905c46
feat: refactor product attributes handling to use product_attribute table and update related models and requests
2026-06-30 16:35:56 -03:00
ncoronel
fdeba7540b
feat: refactor product variant handling to use product pricing and remove unnecessary fields
2026-06-30 15:58:19 -03:00
ncoronel
edcb73f748
feat: refactor ProductVariantController and requests to use scoped product handling and update route parameters
2026-06-29 14:51:36 -03:00
ncoronel
24235c5ca9
feat: add brand and category relationships to products, update requests and resources, and seed product catalog from images
2026-06-29 13:47:05 -03:00
ncoronel
49771ebb13
feat: implement product and attachment management service with supporting migrations and API controllers
2026-06-29 12:13:21 -03:00
ncoronel
0206ee2985
feat: implement product variant CRUD operations and tenant configuration seeding
2026-06-29 11:59:07 -03:00
ncoronel
b5b57a753c
feat: implement product and variant management controllers with request validation and feature tests
2026-06-29 11:10:04 -03:00
ncoronel
18504594eb
feat: implement product creation workflow with variants, attribute definitions, and validation logic
2026-06-29 11:02:04 -03:00
ncoronel
6efda4727f
feat: implement product attribute options with database migration, resource, and validation requests
2026-06-29 09:48:56 -03:00
ncoronel
4c237fb729
feat: implement product attributes and tenant properties management with CRUD controllers, requests, and domain models
2026-06-26 11:40:07 -03:00
ncoronel
0e2ffc1c74
feat(catalog): add product variant controller, requests and resources
2026-06-24 15:29:01 -03:00
ncoronel
1907178e52
refactor(catalog): nest catalog routes under tenant
...
Move Catalog endpoints under /api/tenants/{tenant:codigo} and derive tenant
context from the route instead of request payload fields.
- scope marcas, categorias, productos, and product-attributes by tenant
- enforce tenant ownership in catalog controllers
- remove tenant_codigo and tenant_code from Catalog request validation
- update product attribute tests to use tenant-scoped routes
2026-06-24 15:16:38 -03:00
ncoronel
c6e5177df1
feat(catalog): add tenant-scoped product attributes and variant definitions
2026-06-24 15:08:13 -03:00
ncoronel
75129b7552
remove props
2026-06-24 14:43:10 -03:00
ncoronel
e4139d48aa
Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands
2026-06-24 11:02:35 -03:00
ncoronel
8d840d94a0
Update StoreCategoryRequest to require tenant_code only when categoria_id is present
2026-06-24 10:43:23 -03:00
ncoronel
6a0080b475
Add Brand and Category management features with controllers, requests, resources, and API routes
2026-06-24 10:20:13 -03:00
ncoronel
8feaa0051d
Implement Product management features with controller, requests, resource, and routes
2026-06-24 10:05:26 -03:00