From 1105fd9663135d9c10e10a969d3cd259491c65d5 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 23 Oct 2024 16:03:10 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?utf8?q?=D0=BA=D0=BE=D0=BB-=D0=B2=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MarketplaceService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erp24/services/MarketplaceService.php b/erp24/services/MarketplaceService.php index da39b03b..b7ec23bb 100644 --- a/erp24/services/MarketplaceService.php +++ b/erp24/services/MarketplaceService.php @@ -165,6 +165,7 @@ class MarketplaceService $offer->addChild('weight', $product['weight']); $offer->addChild('qty', $product['qty']); $offer->addChild('amount', $product['amount']); + $offer->addChild('cost', $product['amount']); foreach ($product['composition'] as $component) { $consist = $offer->addChild('consist', $component['quantity']); @@ -212,7 +213,7 @@ class MarketplaceService } private static function getProductOldPrice($productId) { return null; } private static function getProductDescription($productId) { return 'Описание'; } - private static function getProductQty($productId) { return 5; } + private static function getProductQty($productId) { return 10; } private static function getProductWeight($productId) { return 0.5; } -- 2.39.5