From: fomichev Date: Wed, 23 Oct 2024 13:03:10 +0000 (+0300) Subject: Изменил кол-во X-Git-Tag: 1.6~13^2~36 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=1105fd9663135d9c10e10a969d3cd259491c65d5;p=erp24_rep%2Fyii-erp24%2F.git Изменил кол-во --- 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; }