- Changed the variant's Stockable logic so that the derived getters use
onStockQuantity()
andbackorderQuantity()
instead of directstock
andbackorder
field access. This makes possible to override stock logic and remain consistent in extended classes
- Bump module version to mainline (no change)
- Dropped PHP 8.0 & PHP 8.1 Support
- Dropped Laravel 9 Support
- Dropped Enum v3 Support
- Added PHP 8.3 Support
- Added Laravel 11 Support
- Changed minimum Laravel version to v10.43
- Changed minimal Enum requirement to v4.2
- Added the
Stockable
interface to theMasterProductVariant
Model - Added the
backorder
field to product variants - BC: Added the
findBySku()
method to theMasterProductVariant
interface - BC: The
MasterProduct
interface no longer extends theProduct
interface
- Bump module version to mainline (no change)
- Bump module version to mainline (no change)
- Added Laravel 10 support
- Added
dimensions()
andhasDimensions()
methods to theMasterProductVariant
model
- Added the
description
andstate
fields to the master product variants table
- Added the
MasterProdcutVariant::findBySku()
method
- Fixed float conversion of master product variant fields (price, original price and dimensions)
- Changed the variant's stock field to be cast to float
- Added final PHP 8.2 support
- Added the
MasterProduct::actives()
andinactives()
query builder scopes - Changed minimum Concord version requirement to v1.12
- Initial Release