Skip to content

Commit

Permalink
MAGETWO-66662: Fix for "Stock Status" field not disappearing in admin…
Browse files Browse the repository at this point in the history
… when "Manage Stock" = No #7664
  • Loading branch information
vrann authored Mar 25, 2017
2 parents 1b055c4 + 8b3a1c4 commit a815a3a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ private function prepareMeta()
'value' => '1',
'dataScope' => $fieldCode . '.is_in_stock',
'scopeLabel' => '[GLOBAL]',
'imports' => [
'visible' => '${$.provider}:data.product.stock_data.manage_stock',
],
]
);
$this->meta = $this->arrayManager->merge(
Expand Down

0 comments on commit a815a3a

Please sign in to comment.