Auto-select payment method when only one option is available (Amount Rules)

Phoca Cart - complex e-commerce extension
cristiete
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 04 May 2026, 16:11

Auto-select payment method when only one option is available (Amount Rules)

Post by cristiete »

Hello Phoca Team,

I am building a store using Phoca Cart on Joomla 6 (PHP 8.3) and I have encountered a UX issue regarding the automatic selection of payment methods during checkout.

My Setup:
I have configured two payment methods:

PayPal (Set as Default with the yellow star). It has an Amount Rule to only display for orders > 0€.

No Payment Required (Cash on Delivery plugin logic). It has an Amount Rule to only display for orders = 0€.

The Issue:
When a customer adds a free product (0€) to the cart, the Amount Rules work perfectly: PayPal is hidden, and "No Payment Required" is the only payment method displayed on the checkout page.

However, because the default method (PayPal) is hidden, the remaining "No Payment Required" option appears unchecked (the radio button is not selected). The customer is forced to manually click the only available radio button before they can click "Confirm Order".

My Question:
Is there a native setting or a parameter I might have missed to automatically check/select the payment method if it is the only one available on the screen?

If this feature does not exist yet, could you please consider this as a feature request for a future update? It would greatly improve the checkout experience for stores using conditional rules, as it prevents unnecessary clicks for the user.

Thank you for your time and for this great component!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49391
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto-select payment method when only one option is available (Amount Rules)

Post by Jan »

Hi, as default, no method is selected, so even in case, there is only one. There is parameter called: "Automatic Payment Method Setting", when set as Yes, such payment method is automatically selected (but there is no option to click on select, etc.)

Image

Jan
If you find Phoca extensions useful, please support the project
Post Reply