Merge branch 'master' of https://github.com/bagisto/bagisto into development
This commit is contained in:
commit
5f8ea65835
|
|
@ -182,7 +182,7 @@ class ConvertXToProductId
|
|||
])->flatten()->all();
|
||||
} else if ($testCondition == '=') {
|
||||
$foundProducts = $this->product->findWhere([
|
||||
['sku', '=', '%'.$testValue.'%'],
|
||||
['sku', '=', $testValue],
|
||||
['type', '!=', 'configurable']
|
||||
])->flatten()->all();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ class ConvertXToProductId
|
|||
])->flatten()->all();
|
||||
} else if ($testCondition == '=') {
|
||||
$foundProducts = $this->product->findWhere([
|
||||
['sku', '=', '%' . $testValue . '%'],
|
||||
['sku', '=', $testValue],
|
||||
['type', '!=', 'configurable']
|
||||
])->flatten()->all();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue