Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 425 Bytes

2021-04-21-fix-free-shipping-calculation-in-mixed-cart.md

File metadata and controls

8 lines (8 loc) · 425 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: Fix free shipping calculation in mixed cart
issue: NEXT-13140
author_github: @Dominik28111
---

Core

  • Added method Shopware\Core\Checkout\Cart\Delivery\Struct\DeliveryPositionCollection::getWithoutDeliveryFree() to exclude free delivery line items in calculation.
  • Changed method Shopware\Core\Checkout\Cart\Delivery\DeliveryCalculator::matches() to use the method getWithoutDeliveryFree() for filtering.