Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 363 Bytes

2021-05-06-fix-cart-error-when-shipping_free-is-null.md

File metadata and controls

9 lines (9 loc) · 363 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 cart error when shipping_free is null
issue: NEXT-15117
author_github: @Dominik28111
---

Core

  • Changed the following methods ofShopware\Core\Checkout\Cart\Delivery\Struct\DeliveryInformation:
    • __construct: made $freeDelivery optional and null by default.
    • getFreeDelivery: return false if attribute freeDelivery is null.