File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Tax/Plugin/Checkout/CustomerData Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ protected function _construct()
116116 if ($ file && $ directory ->isExist ($ directory ->getRelativePath ($ file ))) {
117117 $ this ->setTemplate ($ templateFile );
118118 } else {
119- $ this ->setTemplate ('Magento_Paypal:: hss/iframe.phtml ' );
119+ $ this ->setTemplate ('hss/iframe.phtml ' );
120120 }
121121 }
122122 }
@@ -198,7 +198,7 @@ protected function _beforeToHtml()
198198 protected function _toHtml ()
199199 {
200200 if ($ this ->_isAfterPaymentSave ()) {
201- $ this ->setTemplate ('Magento_Paypal:: hss/js.phtml ' );
201+ $ this ->setTemplate ('hss/js.phtml ' );
202202 return parent ::_toHtml ();
203203 }
204204 if (!$ this ->_shouldRender ) {
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ protected function _construct()
139139 );
140140 }
141141
142- $ this ->setTemplate ('Magento_Review:: form.phtml ' );
142+ $ this ->setTemplate ('form.phtml ' );
143143 }
144144
145145 /**
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected function _toHtml()
4949 $ reviewsCount = $ this ->_ratingFactory ->create ()->getTotalReviews ($ entityId , true );
5050 if ($ reviewsCount == 0 ) {
5151 #return __('Be the first to review this product');
52- $ this ->setTemplate ('Magento_Review:: empty.phtml ' );
52+ $ this ->setTemplate ('empty.phtml ' );
5353 return parent ::_toHtml ();
5454 }
5555
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function afterGetSectionData(\Magento\Checkout\CustomerData\Cart $subject
6666 foreach ($ result ['items ' ] as $ key => $ itemAsArray ) {
6767 if ($ item = $ this ->findItemById ($ itemAsArray ['item_id ' ], $ items )) {
6868 $ 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 ' );
7070 $ result ['items ' ][$ key ]['product_price ' ]=$ this ->itemPriceRenderer ->toHtml ();
7171 }
7272 }
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct(
6565 */
6666 protected function _prepareLayout ()
6767 {
68- $ this ->setTemplate ('Magento_UrlRewrite:: edit.phtml ' );
68+ $ this ->setTemplate ('edit.phtml ' );
6969
7070 $ this ->_addBackButton ();
7171 $ this ->_prepareLayoutFeatures ();
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected function _construct()
4545 $ roleId = $ this ->getRequest ()->getParam ('rid ' , false );
4646 /** @var \Magento\User\Model\ResourceModel\User\Collection $users */
4747 $ users = $ this ->_userCollectionFactory ->create ()->load ();
48- $ this ->setTemplate ('Magento_User:: role/users.phtml ' )
48+ $ this ->setTemplate ('role/users.phtml ' )
4949 ->assign ('users ' , $ users ->getItems ())
5050 ->assign ('roleId ' , $ roleId );
5151 }
You can’t perform that action at this time.
0 commit comments