title | issue |
---|---|
Delete customer profile GDPR compliant |
NEXT-10194 |
- 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
- Added new method
deleteProfile
to thesrc/Storefront/Controller/AccountProfileController.php
controller - Added 2 new blocks
page_account_profile_delete_account
andpage_account_delete_account_confirm_modal
to thesrc/Storefront/Resources/views/storefront/page/account/profile/index.html.twig
template