]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
исправления
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 23 Oct 2024 06:30:49 +0000 (09:30 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 23 Oct 2024 06:30:49 +0000 (09:30 +0300)
erp24/services/MarketplaceService.php

index 0ddc67deed21b23ba024bc7cd18cca54aa7b4fc2..2ec27a7103df78dbe6d670e857d1f9612d0fdbd6 100644 (file)
@@ -210,7 +210,7 @@ class MarketplaceService
     }
     private static function getProductOldPrice($productId) { return null; }
     private static function getProductDescription($productId) { return 'Описание'; }
-    private static function getProductQty($productId) { return 1; }
+    private static function getProductQty($productId) { return 5; }
     private static function getProductWeight($productId) {
         return 0.5;
     }
@@ -251,10 +251,10 @@ class MarketplaceService
     private static function getProductParams($productId)
     {
         return [
-            'Материал' => self::getProductMaterial($productId),
+
             'Ширина, См' => self::getProductWidth($productId),
             'Высота, См' => self::getProductHeight($productId),
-            'Длина, См' => self::getProductLength($productId)
+
         ];
     }