From dd082eaf23836d4bf0b2b547fe18a1daab1e8641 Mon Sep 17 00:00:00 2001 From: gonzalo Date: Wed, 24 Jan 2018 18:35:59 -0300 Subject: [PATCH] remove logs closes #177 --- Model/Api/Product.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Model/Api/Product.php b/Model/Api/Product.php index a083df6d..8847ecc9 100644 --- a/Model/Api/Product.php +++ b/Model/Api/Product.php @@ -222,8 +222,6 @@ protected function _buildOldProductRequest( // $parentIds = $product->getTypeInstance()->getParentIdsByChild($product->getId()); $parentIds = $this->_configurable->getParentIdsByChild($product->getId()); - $this->_helper->log('parents---->'); - $this->_helper->log($parentIds); //add or update variant foreach ($parentIds as $parentId) { @@ -258,7 +256,6 @@ protected function _buildOldProductRequest( } } } elseif($product->getTypeId() == \Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE) { - $this->_helper->log('es un configurable'); $childProducts = $product->getTypeInstance()->getChildrenIds($product->getId()); $variantProducts[] = $product; if (count($childProducts[0])) { @@ -285,7 +282,6 @@ protected function _buildOldProductRequest( $data['operation_id'] = $this->_batchId . '_' . $product->getId(); $data['body'] = $body; $operations[] = $data; - $this->_helper->log($operations); return $operations; } protected function _buildProductData(