Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
11 lines (11 loc) · 742 Bytes

2020-09-16-delete-customer-profile-gdpr-compliant.md

File metadata and controls

11 lines (11 loc) · 742 Bytes
title issue
Delete customer profile GDPR compliant
NEXT-10194

Core

  • Added new \Shopware\Core\Checkout\Customer\SalesChannel\DeleteCustomerRoute class to allow deleting the customer using the store-api with the url DELETE /store-api/v3/account/customer
  • Added new \Shopware\Core\Checkout\Customer\Event\CustomerDeletedEvent class to allow listening an event when customer deleted success

Storefront

  • Added new method deleteProfile to the src/Storefront/Controller/AccountProfileController.php controller
  • Added 2 new blocks page_account_profile_delete_account and page_account_delete_account_confirm_modal to the src/Storefront/Resources/views/storefront/page/account/profile/index.html.twig template