Skip to content

Commit

Permalink
fix(checkout): prevent changes that are not propagated (#59)
Browse files Browse the repository at this point in the history
INT-198
  • Loading branch information
joerivanveen committed Jan 5, 2024
1 parent d1bea89 commit 52f44c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Service/Config/ConfigGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ private function getDeliveryOptionsStrings(string $salesChannelId): array
private function getGeneralSettings(SalesChannelContext $salesChannelContext, string $locale): array
{
$settings = [
'platform' => $this->systemConfigService->getString('MyPaShopware.config.platform', $salesChannelContext->getSalesChannelId()),
'currency' => $salesChannelContext->getCurrency()->getIsoCode(),
'locale' => $locale,
'platform' => $this->systemConfigService->getString('MyPaShopware.config.platform', $salesChannelContext->getSalesChannelId()),
'currency' => $salesChannelContext->getCurrency()->getIsoCode(),
'locale' => $locale,
'allowRetry' => false,
];

return array_merge($settings, $this->getPackageTypes($salesChannelContext), $this->generateConfig($salesChannelContext->getSalesChannelId()));
Expand Down

0 comments on commit 52f44c7

Please sign in to comment.