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()
100100 $ attributeCode
101101 );
102102
103- if ($ attribute ->getId () && !$ attributeId ) {
103+ if ($ attribute ->getId () && !$ attributeId || $ attributeCode === ' product_type ' ) {
104104 $ message = strlen ($ this ->getRequest ()->getParam ('attribute_code ' ))
105105 ? __ ('An attribute with this code already exists. ' )
106106 : __ ('An attribute with the same code (%1) already exists. ' , $ attributeCode );
Original file line number Diff line number Diff line change 1010<form class="form form-orders-search" id="oar-widget-orders-and-returns-form" data-mage-init='{"ordersReturns":{}, "validation":{}}' action="<?= /* @escapeNotVerified */ $ block ->getActionUrl () ?> "
1111 method="post" name="guest_post">
1212 <fieldset class="fieldset">
13- <legend class="admin__legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
13+ <legend class="legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
1414 <br>
1515
1616 <div class="field id required">
Original file line number Diff line number Diff line change 8383
8484 .modal-slide {
8585 .action-close {
86- padding : @modal-slide-action-close__padding ;
86+ margin : 15px ;
87+ padding : 0 ;
8788 }
8889
8990 .page-main-actions {
You can’t perform that action at this time.
0 commit comments