shopit-back/app/Domains/Catalog/Requests
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
..
ProductDetailRequest.php feat: implement product and variant CRUD management service with attachment handling 2026-07-01 11:44:56 -03:00
StoreAttributeRequest.php feat: implement product creation workflow with variants, attribute definitions, and validation logic 2026-06-29 11:02:04 -03:00
StoreBrandRequest.php refactor(catalog): nest catalog routes under tenant 2026-06-24 15:16:38 -03:00
StoreCategoryRequest.php refactor(catalog): nest catalog routes under tenant 2026-06-24 15:16:38 -03:00
StoreFeaturedGroupRequest.php 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
StoreFeaturedVariantRequest.php 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
StoreProductRequest.php feat: Implement inventory policy for product variants 2026-07-16 08:36:59 -03:00
StoreProductVariantRequest.php feat: Implement inventory policy for product variants 2026-07-16 08:36:59 -03:00
UpdateAttributeRequest.php feat: implement product creation workflow with variants, attribute definitions, and validation logic 2026-06-29 11:02:04 -03:00
UpdateBrandRequest.php refactor(catalog): nest catalog routes under tenant 2026-06-24 15:16:38 -03:00
UpdateCategoryRequest.php refactor(catalog): nest catalog routes under tenant 2026-06-24 15:16:38 -03:00
UpdateFeaturedGroupRequest.php 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
UpdateFeaturedVariantRequest.php 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
UpdateProductRequest.php 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
UpdateProductVariantRequest.php feat: Implement inventory policy for product variants 2026-07-16 08:36:59 -03:00