We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa5d5ca + dd8bf80 commit 55c6ccbCopy full SHA for 55c6ccb
app/code/Magento/Catalog/Model/Product/Option/Type/Select.php
@@ -84,6 +84,9 @@ public function validateUserValue($values)
84
);
85
}
86
if (!$this->_isSingleSelection()) {
87
+ if (is_string($value)) {
88
+ $value = explode(',', $value);
89
+ }
90
$valuesCollection = $option->getOptionValuesByOptionId($value, $this->getProduct()->getStoreId())->load();
91
$valueCount = is_array($value) ? count($value) : 0;
92
if ($valuesCollection->count() != $valueCount) {
0 commit comments