From: fomichev Date: Mon, 11 Nov 2024 11:13:43 +0000 (+0300) Subject: Добавление ссылки X-Git-Tag: 1.6~13^2~19 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=8a4f6dceee161f7c03ff6b2e98fdcfcfa1eb3cd1;p=erp24_rep%2Fyii-erp24%2F.git Добавление ссылки --- diff --git a/erp24/services/MarketplaceService.php b/erp24/services/MarketplaceService.php index 9ec914c1..9b3d12bd 100644 --- a/erp24/services/MarketplaceService.php +++ b/erp24/services/MarketplaceService.php @@ -361,7 +361,7 @@ class MarketplaceService $offer->addAttribute('available', $product['available'] ? 'true' : 'false'); // Добавление URL продукта - $offer->addChild('url', 'https://bazacvetov24.ru/product/' . $product['id']); + $offer->addChild('url', $product['productLink']); // Добавление цены и валюты $offer->addChild('price', $product['price']);