Skip to content

Commit ad8e3c3

Browse files
committed
MC-41597: Base UI component for new messages
1 parent 838d44f commit ad8e3c3

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

app/code/Magento/Paypal/view/frontend/layout/catalog_product_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<argument name="position" xsi:type="number">0</argument>
1515
</arguments>
1616
</block>
17-
<block class="Magento\Paypal\Block\Bml\Paylater" name="bml.right.logo1"
17+
<block class="Magento\Paypal\Block\Bml\Paylater" name="paylater.center.logo"
1818
template="Magento_Paypal::paylater.phtml">
1919
<arguments>
2020
<argument name="jsLayout" xsi:type="array">
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/** @var $block \Magento\Paypal\Block\Bml\Paylater */
8+
?>
9+
<div id="pay-later" data-bind="scope: 'payLater'">
10+
<!-- ko template: getTemplate() --><!-- /ko -->
11+
<script type="text/x-magento-init">
12+
{
13+
"#pay-later": {
14+
"Magento_Ui/js/core/app": <?= /* @noEscape */
15+
$block->getJsLayout() ?>
16+
}
17+
}
18+
19+
</script>
20+
</div>
21+
22+
23+
24+

0 commit comments

Comments
 (0)