|
@@ -76,6 +76,9 @@ class QuoteItem extends Service
|
|
|
if (isset($item['custom_option_sku']) && !empty($item['custom_option_sku'])) {
|
|
|
$where['custom_option_sku'] = $item['custom_option_sku'];
|
|
|
}
|
|
|
+ if (isset($item['customsize']) && !empty($item['customsize'])) {
|
|
|
+ $where['customsize'] = $item['customsize'];
|
|
|
+ }
|
|
|
/** @var \fecshop\models\mysqldb\cart\Item $item_one */
|
|
|
$item_one = $this->_itemModel->find()->where($where)->one();
|
|
|
if ($item_one['cart_id']) {
|
|
@@ -91,6 +94,7 @@ class QuoteItem extends Service
|
|
|
$item_one->created_at = time();
|
|
|
$item_one->updated_at = time();
|
|
|
$item_one->product_id = $item['product_id'];
|
|
|
+ $item_one->customsize = $item['customsize'];
|
|
|
$item_one->qty = $item['qty'];
|
|
|
$item_one->active = $this->itemDefaultActiveStatus;
|
|
|
$item_one->custom_option_sku = ($item['custom_option_sku'] ? $item['custom_option_sku'] : '');
|