Hallo,
ich versuche manuell ein SaleschannelContext zu erstellen:
$this->salesChannelContext = $this->salesChannelContextFactory->create(
                    Uuid::randomHex(),
                    $customer->getSalesChannelId(),
                    [
                        SalesChannelContextService::CUSTOMER_ID => $customer->getId(),
                        SalesChannelContextService::LANGUAGE_ID => $customer->getSalesChannel()->getLanguageId(),
                        SalesChannelContextService::CUSTOMER_GROUP_ID => $customer->getGroupId(),
                        SalesChannelContextService::PERMISSIONS => self::ADMIN_EDIT_ORDER_PERMISSIONS
                    ]
                );
Aber die RuleIds sind null. Gäbe es einen Weg, dass ich die hinbekommen könnte?
Das bräuchte ich für die Produktpreise.
Danke im Vorab!