Skip to content

Commit 81702bc

Browse files
authored
Use default configurable attribute label for new products (#3168)
1 parent ff22957 commit 81702bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/mage/adminhtml/product.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Product.Configurable.prototype = {
392392
}
393393
var label_readonly = '';
394394
var use_default_checked = '';
395-
if (attribute.use_default == '1') {
395+
if (attribute.use_default == '1' || attribute.id == null) {
396396
use_default_checked = ' checked="checked"';
397397
label_readonly = ' readonly="readonly"';
398398
}

0 commit comments

Comments
 (0)