Skip to content

Commit 2c9cf7a

Browse files
committed
MAGETWO-57153: [Backport] - [Github] Custom options not displayed correctly on a store view level #2908 #5885 - for 2.1
1 parent dfb3233 commit 2c9cf7a

File tree

1 file changed

+4
-0
lines changed
  • dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/Options

1 file changed

+4
-0
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/Options/AbstractOptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ abstract class AbstractOptions extends Section
2323
*/
2424
public function fillOptions(array $fields, SimpleElement $element = null)
2525
{
26+
if (isset($fields['action_type'])) {
27+
unset($fields['action_type']);
28+
}
29+
2630
$element = $element === null ? $this->_rootElement : $element;
2731
$mapping = $this->dataMapping($fields);
2832
$this->_fill($mapping, $element);

0 commit comments

Comments
 (0)