Skip to content

Commit 34705e6

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #17200: [Backport] Fixed a grammatical error on the vault tooltip (by @mage2pratik) - #17243: [Backport] [ISSUE-11140][BUGFIX] Skip store code admin from being detected in ca� (by @mageprince) - #17224: [Backport] Credit memo email template file: fixing incorrect object type error (by @gelanivishal) - #17155: [Backport] Set proper text-aligh for the <th> element of the Subtotal column in the Creditmemo email (by @TomashKhamlai) Fixed GitHub Issues: - #11140: Going to '/admin' while using storecodes in url and a different adminhtml url will throw exception (reported by @koenner01) has been fixed in #17243 by @mageprince in 2.1-develop branch Related commits: 1. c5d85e0 2. f9696c9
2 parents 03807d9 + 949d98d commit 34705e6

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

app/code/Magento/Braintree/view/frontend/web/template/payment/paypal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</span>
4646
<div class="field-tooltip-content"
4747
data-target="dropdown"
48-
translate="'We store you payment information securely on Braintree servers via SSL.'"></div>
48+
translate="'We store your payment information securely on Braintree servers via SSL.'"></div>
4949
</div>
5050
</div>
5151
<!-- /ko -->

app/code/Magento/Sales/view/frontend/templates/email/items/creditmemo/default.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
</td>
3232
<td class="item-qty"><?= /* @escapeNotVerified */ $_item->getQty() * 1 ?></td>
3333
<td class="item-price">
34-
<?= /* @escapeNotVerified */ $block->getItemPrice($_item); ?>
34+
<?= /* @escapeNotVerified */ $block->getItemPrice($_item->getOrderItem()) ?>
3535
</td>
3636
</tr>

app/code/Magento/Store/App/Request/PathInfoProcessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Magento\Store\App\Request;
77

88
use Magento\Framework\Exception\NoSuchEntityException;
9+
use Magento\Store\Model\Store;
910

1011
class PathInfoProcessor implements \Magento\Framework\App\Request\PathInfoProcessorInterface
1112
{
@@ -42,7 +43,7 @@ public function process(\Magento\Framework\App\RequestInterface $request, $pathI
4243
}
4344

4445
if ($store->isUseStoreInUrl()) {
45-
if (!$request->isDirectAccessFrontendName($storeCode)) {
46+
if (!$request->isDirectAccessFrontendName($storeCode) && $storeCode != Store::ADMIN_CODE) {
4647
$this->storeManager->setCurrentStore($storeCode);
4748
$pathInfo = '/' . (isset($pathParts[1]) ? $pathParts[1] : '');
4849
return $pathInfo;

app/design/frontend/Magento/blank/Magento_Sales/web/css/source/_email.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@
203203
text-align: center;
204204
}
205205

206-
.item-price {
206+
.item-price,
207+
.item-subtotal {
207208
text-align: right;
208209
}
209210

app/design/frontend/Magento/luma/Magento_Sales/web/css/source/_email.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@
207207
text-align: center;
208208
}
209209

210-
.item-price {
210+
.item-price,
211+
.item-subtotal {
211212
text-align: right;
212213
}
213214

0 commit comments

Comments
 (0)