From 0b5d913f53051d3a0869e17bd3c658144aa7b329 Mon Sep 17 00:00:00 2001 From: Kamil Jonak Date: Tue, 10 Feb 2026 16:11:09 +0100 Subject: [PATCH 1/4] feat: disable place order button when split payment method not selected --- .../frontend/web/js/view/payment/method-renderer/nexi-method.js | 2 +- view/frontend/web/template/payment/nexi-hosted-type-split.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js index e31615b..13b655e 100644 --- a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js @@ -172,7 +172,7 @@ define( this.clearNexiCheckout(); this._super(); checkoutData.setNexiSubselection(this.subselection()); - if (this.isEmbedded()) { + if (this.isEmbedded() && this.subselection()) { this.renderCheckout(); } return true; diff --git a/view/frontend/web/template/payment/nexi-hosted-type-split.html b/view/frontend/web/template/payment/nexi-hosted-type-split.html index 6eaf23e..b8b2552 100644 --- a/view/frontend/web/template/payment/nexi-hosted-type-split.html +++ b/view/frontend/web/template/payment/nexi-hosted-type-split.html @@ -45,7 +45,7 @@ click: placeOrder, attr: {title: $t('Place Order')}, css: {disabled: !isPlaceOrderActionAllowed()}, - enable: (getCode() == isChecked()) + enable: (getCode() == isChecked() && subselection()) " disabled> From 9fb9b85f653b78bd2537a49c3061cbe48c4b2497 Mon Sep 17 00:00:00 2001 From: Kamil Jonak Date: Thu, 12 Feb 2026 12:36:43 +0100 Subject: [PATCH 2/4] feat: disable place order button when split payment method not selected --- .../frontend/web/js/view/payment/method-renderer/nexi-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js index 13b655e..bfcc4b4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js @@ -172,7 +172,7 @@ define( this.clearNexiCheckout(); this._super(); checkoutData.setNexiSubselection(this.subselection()); - if (this.isEmbedded() && this.subselection()) { + if (this.isEmbedded() && (!this.payTypeSplitting() || this.subselection())) { this.renderCheckout(); } return true; From be801fd459899d855b1c2a22f1cb1d5a047ba665 Mon Sep 17 00:00:00 2001 From: Kamil Jonak Date: Thu, 12 Feb 2026 12:41:02 +0100 Subject: [PATCH 3/4] feat: disable place order button when split payment method not selected --- .../frontend/web/js/view/payment/method-renderer/nexi-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js index bfcc4b4..b4521a9 100644 --- a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js @@ -97,7 +97,7 @@ define( }, this); } - if (this.isActive() && this.isEmbedded()) { + if (this.isActive() && this.isEmbedded() && (!this.payTypeSplitting() || this.subselection())) { this.renderCheckout(); } From 23af189b832f57dbb0948ad9fa43617eed4e9684 Mon Sep 17 00:00:00 2001 From: Kamil Jonak Date: Thu, 12 Feb 2026 13:45:27 +0100 Subject: [PATCH 4/4] feat: disable place order button when split payment method not selected --- .../frontend/web/js/view/payment/method-renderer/nexi-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js index b4521a9..02eaac4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js @@ -172,7 +172,7 @@ define( this.clearNexiCheckout(); this._super(); checkoutData.setNexiSubselection(this.subselection()); - if (this.isEmbedded() && (!this.payTypeSplitting() || this.subselection())) { + if (this.isEmbedded()) { this.renderCheckout(); } return true;