From 9146ebd2f6892f3e664e4961ff9b5ceac058a590 Mon Sep 17 00:00:00 2001 From: iyzoer Date: Fri, 2 Jun 2017 15:04:22 +0300 Subject: [PATCH] fix items property --- catalog/model/extension/retailcrm/order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/model/extension/retailcrm/order.php b/catalog/model/extension/retailcrm/order.php index de2973e..09347f5 100644 --- a/catalog/model/extension/retailcrm/order.php +++ b/catalog/model/extension/retailcrm/order.php @@ -114,7 +114,7 @@ class ModelExtensionRetailcrmOrder extends Model { $productOptions = $this->model_catalog_product->getProductOptions($product['product_id']); foreach($product['option'] as $option) { - if ($option['type'] == 'select' || $option['type'] == 'radio' || $option['type'] == 'checkbox') { + if ($option['type'] == 'checkbox') { $properties[] = array( 'code' => $option['product_option_value_id'], 'name' => $option['name'], @@ -255,7 +255,7 @@ class ModelExtensionRetailcrmOrder extends Model { $productOptions = $this->model_catalog_product->getProductOptions($product['product_id']); foreach($product['option'] as $option) { - if ($option['type'] == 'select' || $option['type'] == 'radio' || $option['type'] == 'checkbox') { + if ($option['type'] == 'checkbox') { $properties[] = array( 'code' => $option['product_option_value_id'], 'name' => $option['name'],