Skip to content

7.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 03 Jun 09:20
· 765 commits to master since this release

Included commits: 6.4.3...7.0.0

Warning: Invalid Release. Please skip this version.

Improvements

  • Quantity type has been changed from int to float.
  • Added support for float quantity operations.
  • Changed spy_availability_abstract.quantity database field type to DOUBLE.
  • Changed spy_availability.quantity database field type to DOUBLE.
  • Adjusted AvailabilityFacade::isProductSellable() facade method so it expects float type as input for quantity parameter.
  • Adjusted AvailabilityFacade::isProductSellableForStore() facade method so it expects float type as input for quantity parameter.
  • Adjusted AvailabilityFacade::calculateStockForProduct() facade method so it returns float instead of int.
  • Adjusted AvailabilityFacade::calculateStockForProductWithStore() facade method so it returns float instead of int.
  • Adjusted AvailabilityFacade::saveProductAvailability() facade method so it expects float type as input for quantity parameter.