79798133

Date: 2025-10-23 19:32:36
Score: 0.5
Natty:
Report link

Take a look how Shopware handles this when admin user accepts customer group request / change.

I think you need to use the SalesChannelContextRestorer. So:

$this->customerRepository->update($updateData, $context);
$this->restorer->restoreByCustomer($customer->getId(), $context);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SmashingJummy