Skip to content

Commit 872779f

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #21157: [Backport] Magento backend catalog cost without currency symbol (by @mage2pratik) - #21199: [Backport] Fixed issue #20555 Meta Keywords/Meta Description are input field in product form while they are defined as textarea (by @amol2jcommerce) - #21198: [Backport] added min=0 to qty field product detail page (by @amol2jcommerce) - #21172: [Backport] Fixes-for-account-my-recent-reviews-alignment-2.2 (by @amol2jcommerce) - #21159: [Backport] Solve custom option dropdown issue (by @mage2pratik) - #21168: [Backport] Adjust table for grouped products (by @mage2pratik) - #21162: [Backport] Fixed issue #20911 In admin login password forgot password page wrong css used to make it vertially aling middle (by @mage2pratik) - #20476: [Backport]Fixed-Product-page-tabbing-content-misalignment-in-mobile-view-2-2 ::� (by @parag2jcommerce) - #18866: [Backport] Fixes #18357 - SQL error when table prefix used. (by @gelanivishal) Fixed GitHub Issues: - #20906: Magento backend catalog "Cost" without currency symbol (reported by @mage2pratik) has been fixed in #21157 by @mage2pratik in 2.2-develop branch Related commits: 1. ee88689 - #20555: Meta Keywords/Meta Description are input field in product form while they are defined as textarea (reported by @amitcedcoss) has been fixed in #21199 by @amol2jcommerce in 2.2-develop branch Related commits: 1. b86a394 - #20800: On account my recent reviews alignment issue (reported by @priti2jcommerce) has been fixed in #21172 by @amol2jcommerce in 2.2-develop branch Related commits: 1. a16427d - #20989: Admin Customizable Options Dropdown sort_order issue (reported by @dharmendra-wagento) has been fixed in #21159 by @mage2pratik in 2.2-develop branch Related commits: 1. 9612b42 - #20911: In admin login password forgot password page wrong css used to make it vertially aling middle (reported by @cedarvinda) has been fixed in #21162 by @mage2pratik in 2.2-develop branch Related commits: 1. 2220707 2. be92e7b 3. bce16b4 - #20468: On Product Page Tabings Content Misaligned on Mobile View (reported by @parag2jcommerce) has been fixed in #20476 by @parag2jcommerce in 2.2-develop branch Related commits: 1. 9e8173f - #18357: checkout_agreement_store doesn't exist (reported by @michelecanal) has been fixed in #18866 by @gelanivishal in 2.2-develop branch Related commits: 1. 2a6f834 - #18954: Magento 2.2.6 Terms and Conditions are Not visible in Admin (reported by @Ctucker9233) has been fixed in #18866 by @gelanivishal in 2.2-develop branch Related commits: 1. 2a6f834
2 parents 0790e6b + 1184120 commit 872779f

File tree

12 files changed

+64
-20
lines changed

12 files changed

+64
-20
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Magento\Catalog\Model\Config\Source\Product\Options\Price as ProductOptionsPrice;
1212
use Magento\Framework\UrlInterface;
1313
use Magento\Framework\Stdlib\ArrayManager;
14+
use Magento\Ui\Component\Form\Element\Hidden;
1415
use Magento\Ui\Component\Modal;
1516
use Magento\Ui\Component\Container;
1617
use Magento\Ui\Component\DynamicRows;
@@ -867,10 +868,9 @@ protected function getPositionFieldConfig($sortOrder)
867868
'data' => [
868869
'config' => [
869870
'componentType' => Field::NAME,
870-
'formElement' => Input::NAME,
871+
'formElement' => Hidden::NAME,
871872
'dataScope' => static::FIELD_SORT_ORDER_NAME,
872873
'dataType' => Number::NAME,
873-
'visible' => false,
874874
'sortOrder' => $sortOrder,
875875
],
876876
],

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,10 @@ protected function customizeNameListeners(array $meta)
361361
'allowImport' => !$this->locator->getProduct()->getId(),
362362
];
363363

364-
if (!in_array($listener, $textListeners)) {
365-
$importsConfig['elementTmpl'] = 'ui/form/element/input';
364+
if (in_array($listener, $textListeners)) {
365+
$importsConfig['cols'] = 15;
366+
$importsConfig['rows'] = 2;
367+
$importsConfig['elementTmpl'] = 'ui/form/element/textarea';
366368
}
367369

368370
$meta = $this->arrayManager->merge($listenerPath . static::META_CONFIG_PATH, $meta, $importsConfig);

app/code/Magento/Catalog/view/adminhtml/ui_component/product_listing.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@
190190
<label translate="true">Websites</label>
191191
</settings>
192192
</column>
193+
<column name="cost" class="Magento\Catalog\Ui\Component\Listing\Columns\Price" sortOrder="120">
194+
<settings>
195+
<addField>true</addField>
196+
<filter>textRange</filter>
197+
<label translate="true">Cost</label>
198+
</settings>
199+
</column>
193200
<actionsColumn name="actions" class="Magento\Catalog\Ui\Component\Listing\Columns\ProductActions" sortOrder="200">
194201
<settings>
195202
<indexField>entity_id</indexField>

app/code/Magento/Catalog/view/frontend/templates/product/view/addtocart.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<input type="number"
2121
name="qty"
2222
id="qty"
23+
min="0"
2324
value="<?= /* @escapeNotVerified */ $block->getProductDefaultQty() * 1 ?>"
2425
title="<?= /* @escapeNotVerified */ __('Qty') ?>"
2526
class="input-text qty"

app/code/Magento/Checkout/view/frontend/templates/cart/item/configure/updatecart.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<input type="number"
2121
name="qty"
2222
id="qty"
23+
min="0"
2324
value=""
2425
title="<?= /* @escapeNotVerified */ __('Qty') ?>"
2526
class="input-text qty"

app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement/Grid/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function getStoresForAgreements()
6363

6464
if (!empty($agreementId)) {
6565
$select = $this->getConnection()->select()->from(
66-
['agreement_store' => 'checkout_agreement_store']
66+
['agreement_store' => $this->getResource()->getTable('checkout_agreement_store')]
6767
)->where(
6868
'agreement_store.agreement_id IN (?)',
6969
$agreementId

app/code/Magento/GroupedProduct/view/frontend/templates/product/view/type/grouped.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
</thead>
3434

3535
<?php if ($_hasAssociatedProducts): ?>
36-
<?php foreach ($_associatedProducts as $_item): ?>
3736
<tbody>
37+
<?php foreach ($_associatedProducts as $_item): ?>
3838
<tr>
3939
<td data-th="<?= $block->escapeHtml(__('Product Name')) ?>" class="col item">
4040
<strong class="product-item-name"><?= $block->escapeHtml($_item->getName()) ?></strong>
@@ -80,8 +80,8 @@
8080
</td>
8181
</tr>
8282
<?php endif; ?>
83-
</tbody>
8483
<?php endforeach; ?>
84+
</tbody>
8585
<?php else: ?>
8686
<tbody>
8787
<tr>

app/design/adminhtml/Magento/backend/web/css/source/forms/_temp.less

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ label.mage-error {
253253

254254
.captcha-reload {
255255
float: right;
256-
vertical-align: middle;
256+
margin-top: 15px;
257257
}
258258
}
259259
}
@@ -409,30 +409,46 @@ label.mage-error {
409409
z-index: 1;
410410

411411
&:before {
412+
/**
413+
* @codingStandardsIgnoreStart
414+
*/
412415
&:extend(.admin__control-checkbox + label:before);
416+
// @codingStandardsIgnoreEnd
413417
left: 0;
414418
position: absolute;
415419
top: 0;
416420
}
417421

418422
&:after {
423+
/**
424+
* @codingStandardsIgnoreStart
425+
*/
419426
&:extend(.action-multicheck-wrap .action-multicheck-toggle:after);
427+
// @codingStandardsIgnoreEnd
420428
top: 40% !important;
421429
}
422430
}
423431

424432
&:focus {
425433
+ label {
426434
&:after {
435+
/**
436+
* @codingStandardsIgnoreStart
437+
*/
427438
&:extend(.action-multicheck-wrap .action-multicheck-toggle._active:after);
439+
// @codingStandardsIgnoreEnd
428440
}
429441
}
430442
}
431443

432444
&._checked {
433445
+ label {
434446
&:before {
447+
/**
448+
* @codingStandardsIgnoreStart
449+
*/
435450
&:extend(.admin__control-checkbox:checked + label:before);
451+
// @codingStandardsIgnoreEnd
436452
}
437453
}
438454

app/design/frontend/Magento/blank/web/css/source/_sections.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@
3434
.data.item {
3535
display: block;
3636
}
37+
3738
}
3839
}

app/design/frontend/Magento/luma/Magento_Review/web/css/source/_module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@
364364
.label {
365365
.lib-css(font-weight, @font-weight__semibold);
366366
.lib-css(margin-right, @indent__s);
367+
vertical-align: middle;
367368
}
368369
}
369370
}

0 commit comments

Comments
 (0)