Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 647 Bytes

2023-07-12-add-storefront-controller-endpoints-to-change-or-delete-multiple-line-items-at-once.md

File metadata and controls

13 lines (13 loc) · 647 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Add storefront controller endpoints to change or delete multiple line items at once
issue: NEXT-29314
author: Max
author_email: max@swk-web.com
author_github: @aragon999
---

Core

  • Added method Core\Checkout\Cart\SalesChannel\CartService::update to update multiple line items at once
  • Added method Core\Checkout\Cart\SalesChannel\CartService::removeItems to remove multiple line items at once

Storefront

  • Added controller endpoints /checkout/line-item/delete (frontend.checkout.line-items.delete) and /checkout/line-item/update (frontend.checkout.line-items.update) to remove or update multiple line items at once