-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent email from sending on pending payment for rvvup orders created in magento admin #165
Prevent email from sending on pending payment for rvvup orders created in magento admin #165
Conversation
@@ -23,16 +23,35 @@ $url = $block->getUrl('rvvup/availability/index'); | |||
Will create and share in order email | |||
</label> | |||
</div> | |||
<script> | |||
require(['jquery', 'Rvvup_Payments/js/available-payment'], function($, availablePayment) { | |||
<?php if ($secureRenderer): ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Secure renderer is available for >2.4.0, so we can don't need to duplicate the logic.
Available after placing order | ||
</label> | ||
</div> | ||
<script> | ||
require(['jquery', 'Rvvup_Payments/js/available-payment'], function($, availablePayment) { | ||
<?php if ($secureRenderer): ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Secure renderer is available for >2.4.0, so we can don't need to duplicate the logic.
var element = ($('label[for="send_confirmation"]')); | ||
if (element && element[0]) { | ||
element[0].innerText = 'Order Confirmation email is always sent for Rvvup payment methods'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var element = ($('label[for="send_confirmation"]')); | |
if (element && element[0]) { | |
element[0].innerText = 'Order Confirmation email is always sent for Rvvup payment methods'; | |
} | |
$('label[for="send_confirmation"]').first().text("Order Confirmation email is always sent for Rvvup payment methods"); |
No description provided.