File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Catalog/Controller/Adminhtml/Product/Attribute
Sales/view/frontend/templates/guest
design/frontend/Magento/luma/web/css/source/components Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function execute()
100
100
$ attributeCode
101
101
);
102
102
103
- if ($ attribute ->getId () && !$ attributeId ) {
103
+ if ($ attribute ->getId () && !$ attributeId || $ attributeCode === ' product_type ' ) {
104
104
$ message = strlen ($ this ->getRequest ()->getParam ('attribute_code ' ))
105
105
? __ ('An attribute with this code already exists. ' )
106
106
: __ ('An attribute with the same code (%1) already exists. ' , $ attributeCode );
Original file line number Diff line number Diff line change 10
10
<form class="form form-orders-search" id="oar-widget-orders-and-returns-form" data-mage-init='{"ordersReturns":{}, "validation":{}}' action="<?= /* @escapeNotVerified */ $ block ->getActionUrl () ?> "
11
11
method="post" name="guest_post">
12
12
<fieldset class="fieldset">
13
- <legend class="admin__legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
13
+ <legend class="legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
14
14
<br>
15
15
16
16
<div class="field id required">
Original file line number Diff line number Diff line change 83
83
84
84
.modal-slide {
85
85
.action-close {
86
- padding : @modal-slide-action-close__padding ;
86
+ margin : 15px ;
87
+ padding : 0 ;
87
88
}
88
89
89
90
.page-main-actions {
You can’t perform that action at this time.
0 commit comments