Merge branch 'master' of https://github.com/bagisto/bagisto into development

This commit is contained in:
rahul shukla 2019-09-17 12:36:59 +05:30
commit 5f8ea65835
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ class ConvertXToProductId
])->flatten()->all();
} else if ($testCondition == '=') {
$foundProducts = $this->product->findWhere([
['sku', '=', '%'.$testValue.'%'],
['sku', '=', $testValue],
['type', '!=', 'configurable']
])->flatten()->all();
}

View File

@ -171,7 +171,7 @@ class ConvertXToProductId
])->flatten()->all();
} else if ($testCondition == '=') {
$foundProducts = $this->product->findWhere([
['sku', '=', '%' . $testValue . '%'],
['sku', '=', $testValue],
['type', '!=', 'configurable']
])->flatten()->all();
}