Skip to content

Commit

Permalink
Fix for "Stock Status" field not disappearing when "Manage Stock" = No.
Browse files Browse the repository at this point in the history
  • Loading branch information
volodyaprokopchuk committed Dec 2, 2016
1 parent 6619bdf commit 8ed3ada
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 8ed3ada

Please sign in to comment.