summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2023-11-27 05:29:57 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2023-11-27 05:29:57 +0000
commitcd8d05bf74973ecb4bec6baa06dd99a84a41cf75 (patch)
tree045a76bc945c568b3b4d1ab89e874d72ba2c98c9
parent3c9964cf95542f526cb21c5eafda3a867a53f17f (diff)
- Bugfix: wpsg_combination Klasse auch ohne Produktvarianten geladen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8388 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/warenkorb/checkout2.phtml12
1 files changed, 11 insertions, 1 deletions
diff --git a/views/warenkorb/checkout2.phtml b/views/warenkorb/checkout2.phtml
index 11f14d5..2a0fd4a 100644
--- a/views/warenkorb/checkout2.phtml
+++ b/views/warenkorb/checkout2.phtml
@@ -104,8 +104,12 @@
</form>
+ <div style="position:fixed; left:0; top:0; width:100vw; height:100vh; background-color:rgba(255, 255, 255, 0.5); display:none;" id="pppl_loading_blocker"></div>
+
<script type="text/javascript">/* <![CDATA[ */
+ const el_pppl_loading_blocker = document.getElementById('pppl_loading_blocker');
+
function wpsg_setShipPay(jqElement)
{
@@ -122,6 +126,8 @@
jQuery('.shippay_wrap .shippay_item_wrap').bind('click', function() {
+ el_pppl_loading_blocker.style.display = 'block';
+
wpsg_setShipPay(jQuery(this));
jQuery.ajax( {
@@ -132,7 +138,11 @@
'wpsg_form_data': jQuery('#wpsg_checkout_form').serialize()
},
'async': true,
- 'success': function(data) { }
+ 'success': function(data) {
+
+ location.reload();
+
+ }
} );
} );