File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
view/frontend/templates/product/view Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ $paypalViewModel = $block->getData('rvvup_payments_paypal_view_model');
22
22
$ product = $ block ->getProduct ();
23
23
$ thresholds = $ clearpay ->getThresholds ($ product );
24
24
?>
25
+ <div class="rvvup-product-page-messaging-wrapper">
25
26
<?php if ($ restrictions ->showRestrictionMessage ($ product )): ?>
26
27
<p>
27
28
<?= $ escaper ->escapeHtml ($ restrictions ->getMessages ()->getPdpMessage ()) ?>
28
29
</p>
29
30
<?php endif ; ?>
30
31
<?php if (is_array ($ thresholds ) && $ clearpay ->isInThreshold ($ product , $ thresholds )): ?>
31
- <div class="clearpay">
32
+ <div class="clearpay rvvup-product-page-messaging-element rvvup-product-page-messaging-clearpay ">
32
33
<afterpay-placement style="display:none" id="clearpay-summary" class="rvvup-product-page-clearpay-messaging"
33
34
data-locale="<?= $ escaper ->escapeHtmlAttr ($ clearpay ->getCurrentLocale ()) ?> "
34
35
data-currency="<?= $ escaper ->escapeHtmlAttr ($ clearpay ->getCurrentCurrencyCode ()) ?> "
@@ -76,7 +77,7 @@ $thresholds = $clearpay->getThresholds($product);
76
77
&& $ paypalViewModel ->isAvailable ((string ) $ priceViewModel ->getPrice ($ product ))
77
78
&& $ paypalViewModel ->getPayLaterMessagingValue ('enabled ' ) === true
78
79
): ?>
79
- <div>
80
+ <div class="rvvup-product-page-messaging-element rvvup-product-page-messaging-paypal" >
80
81
<div class="rvvup-paypal-paylater-messaging-container"
81
82
data-pp-message
82
83
data-pp-placement="product"
@@ -92,3 +93,4 @@ $thresholds = $clearpay->getThresholds($product);
92
93
></div>
93
94
</div>
94
95
<?php endif ; ?>
96
+ </div>
You can’t perform that action at this time.
0 commit comments