Skip to content

Commit 749c58f

Browse files
author
Sergey Semenov
committed
MAGETWO-38969: It's unable to specify all values of "Multiple Select" Product Custom Option to purchase
1 parent ca56cd8 commit 749c58f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Block/Product/View/Options/Type

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function getValuesHtml()
4646
if ($_option->getType() == \Magento\Catalog\Model\Product\Option::OPTION_TYPE_DROP_DOWN) {
4747
$select->setName('options[' . $_option->getid() . ']')->addOption('', __('-- Please Select --'));
4848
} else {
49-
$select->setName('options[' . $_option->getid() . ']');
49+
$select->setName('options[' . $_option->getid() . '][]');
5050
$select->setClass('multiselect admin__control-multiselect' . $require . ' product-custom-option');
5151
}
5252
foreach ($_option->getValues() as $_value) {

0 commit comments

Comments
 (0)