File tree Expand file tree Collapse file tree 7 files changed +10
-14
lines changed
Plugin/Checkout/CustomerData
view/frontend/templates/checkout/cart/item/price Expand file tree Collapse file tree 7 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ protected function _construct()
116
116
if ($ file && $ directory ->isExist ($ directory ->getRelativePath ($ file ))) {
117
117
$ this ->setTemplate ($ templateFile );
118
118
} else {
119
- $ this ->setTemplate ('Magento_Paypal:: hss/iframe.phtml ' );
119
+ $ this ->setTemplate ('hss/iframe.phtml ' );
120
120
}
121
121
}
122
122
}
@@ -198,7 +198,7 @@ protected function _beforeToHtml()
198
198
protected function _toHtml ()
199
199
{
200
200
if ($ this ->_isAfterPaymentSave ()) {
201
- $ this ->setTemplate ('Magento_Paypal:: hss/js.phtml ' );
201
+ $ this ->setTemplate ('hss/js.phtml ' );
202
202
return parent ::_toHtml ();
203
203
}
204
204
if (!$ this ->_shouldRender ) {
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ protected function _construct()
138
138
);
139
139
}
140
140
141
- $ this ->setTemplate ('Magento_Review:: form.phtml ' );
141
+ $ this ->setTemplate ('form.phtml ' );
142
142
}
143
143
144
144
/**
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected function _toHtml()
49
49
$ reviewsCount = $ this ->_ratingFactory ->create ()->getTotalReviews ($ entityId , true );
50
50
if ($ reviewsCount == 0 ) {
51
51
#return __('Be the first to review this product');
52
- $ this ->setTemplate ('Magento_Review:: empty.phtml ' );
52
+ $ this ->setTemplate ('empty.phtml ' );
53
53
return parent ::_toHtml ();
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function afterGetSectionData(\Magento\Checkout\CustomerData\Cart $subject
66
66
foreach ($ result ['items ' ] as $ key => $ itemAsArray ) {
67
67
if ($ item = $ this ->findItemById ($ itemAsArray ['item_id ' ], $ items )) {
68
68
$ this ->itemPriceRenderer ->setItem ($ item );
69
- $ this ->itemPriceRenderer ->setTemplate ('Magento_Tax:: checkout/cart/item/price/sidebar.phtml ' );
69
+ $ this ->itemPriceRenderer ->setTemplate ('checkout/cart/item/price/sidebar.phtml ' );
70
70
$ result ['items ' ][$ key ]['product_price ' ]=$ this ->itemPriceRenderer ->toHtml ();
71
71
}
72
72
}
Original file line number Diff line number Diff line change 11
11
<?php $ _item = $ block ->getItem () ?>
12
12
<?php if ($ block ->displayPriceInclTax () || $ block ->displayBothPrices ()): ?>
13
13
<span class="price-wrapper price-including-tax" data-label="<?= /* @escapeNotVerified */ __ ('Incl. Tax ' ) ?> ">
14
- <span class="minicart-price">
15
- <?php $ _incl = $ _item ->getPriceInclTax (); ?>
16
- <?= /* @escapeNotVerified */ $ this ->helper ('Magento\Checkout\Helper\Data ' )->formatPrice ($ _incl ) ?>
17
- </span>
14
+ <?php $ _incl = $ _item ->getPriceInclTax (); ?>
15
+ <?= /* @escapeNotVerified */ $ this ->helper ('Magento\Checkout\Helper\Data ' )->formatPrice ($ _incl ) ?>
18
16
</span>
19
17
<?php endif ; ?>
20
18
<?php if ($ block ->displayPriceExclTax () || $ block ->displayBothPrices ()): ?>
21
19
<span class="price-wrapper price-excluding-tax" data-label="<?= /* @escapeNotVerified */ __ ('Excl. Tax ' ) ?> ">
22
- <span class="minicart-price">
23
- <?= /* @escapeNotVerified */ $ this ->helper ('Magento\Checkout\Helper\Data ' )->formatPrice ($ _item ->getCalculationPrice ()) ?>
24
- </span>
20
+ <?= /* @escapeNotVerified */ $ this ->helper ('Magento\Checkout\Helper\Data ' )->formatPrice ($ _item ->getCalculationPrice ()) ?>
25
21
</span>
26
22
<?php endif ; ?>
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct(
65
65
*/
66
66
protected function _prepareLayout ()
67
67
{
68
- $ this ->setTemplate ('Magento_UrlRewrite:: edit.phtml ' );
68
+ $ this ->setTemplate ('edit.phtml ' );
69
69
70
70
$ this ->_addBackButton ();
71
71
$ this ->_prepareLayoutFeatures ();
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected function _construct()
45
45
$ roleId = $ this ->getRequest ()->getParam ('rid ' , false );
46
46
/** @var \Magento\User\Model\ResourceModel\User\Collection $users */
47
47
$ users = $ this ->_userCollectionFactory ->create ()->load ();
48
- $ this ->setTemplate ('Magento_User:: role/users.phtml ' )
48
+ $ this ->setTemplate ('role/users.phtml ' )
49
49
->assign ('users ' , $ users ->getItems ())
50
50
->assign ('roleId ' , $ roleId );
51
51
}
You can’t perform that action at this time.
0 commit comments