diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php index 945170381..25e6227eb 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php @@ -203,9 +203,12 @@ if (scope == 'address-form') { this.saveAddress(); + document.body.style.cursor = 'default'; } else if (scope == 'shipping-form') { + document.body.style.cursor = 'wait'; this.saveShipping(); } else if (scope == 'payment-form') { + document.body.style.cursor = 'wait'; this.savePayment(); } } @@ -225,6 +228,9 @@ this_this.$http.post("{{ route('customer.checkout.exist') }}", {email: this_this.address.billing.email}) .then(function(response) { this_this.is_customer_exist = response.data ? 1 : 0; + + if (response.data) + document.body.style.cursor = 'default'; }) .catch(function (error) {}) diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-checkout.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-checkout.blade.php new file mode 100644 index 000000000..d7beef848 --- /dev/null +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-checkout.blade.php @@ -0,0 +1,24 @@ +