Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 458 Bytes

2021-04-21-add-volume-shipping-costs-calculation.md

File metadata and controls

9 lines (9 loc) · 458 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 16
---
title: Add volume shipping costs calculation
issue: NEXT-14873
author_github: @Dominik28111
---

Core

  • Added method Shopware\Core\Checkout\Cart\Delivery\Struct\DeliveryPositionCollection::getVolume() to get the volume of the line items.
  • Added const Shopware\Core\Checkout\Cart\Delivery\DeliveryCalculator::CALCULATION_BY_VOLUME.
  • Changed method Shopware\Core\Checkout\Cart\Delivery\DeliveryCalculator::matches() to be able to match by volume.