From d51353e5cc8896d0510aa3a79361e9d32c07302f Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Fri, 27 Feb 2026 18:15:54 +0100 Subject: [PATCH] feat: save per-integration name/short_description/description on product import --- src/Modules/Settings/SettingsController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Modules/Settings/SettingsController.php b/src/Modules/Settings/SettingsController.php index 476a173..7808fa9 100644 --- a/src/Modules/Settings/SettingsController.php +++ b/src/Modules/Settings/SettingsController.php @@ -780,6 +780,16 @@ final class SettingsController $variantWarnings = $this->syncImportedProductVariants($savedProductId, $externalProduct); $this->storeProductImportVariantWarnings($savedProductId, $variantWarnings); } + // Save per-integration content override + if ($integrationId > 0) { + $this->products->upsertIntegrationTranslation( + $savedProductId, + $integrationId, + $normalized['translation']['name'] ?? null, + $normalized['translation']['short_description'] ?? null, + $normalized['translation']['description'] ?? null + ); + } $this->pdo->commit(); } catch (Throwable $exception) { if ($this->pdo->inTransaction()) {