Skip to content

Commit

Permalink
magento#11953: Product configuration creator does not warn about inva…
Browse files Browse the repository at this point in the history
…lid SKUs

- Added validation for SKU field inside "Configurations" tab
  • Loading branch information
AndrewMun committed Dec 15, 2017
1 parent 3839c0f commit 6b376f0
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,17 @@ protected function getRows()
[],
['dataScope' => 'product_link']
),
'sku_container' => $this->getColumn('sku', __('SKU')),
'sku_container' => $this->getColumn(
'sku',
__('SKU'),
[
'validation' =>
[
'min_text_length' => '1',
'max_text_length' => '10',
]
]
),
'price_container' => $this->getColumn(
'price',
__('Price'),
Expand Down

0 comments on commit 6b376f0

Please sign in to comment.