Forums / Addon Payment Modules / Radio Button Selected so Therefore Hide Part of Another Payment Module

Radio Button Selected so Therefore Hide Part of Another Payment Module

Views: 735

Results 1 to 2 of 2
13 Oct 2011, 5:13 PM
#1
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Radio Button Selected so Therefore Hide Part of Another Payment Module

We have a pay by instalments option on our checkout confirm######## page:

https://www.silkblooms.co.uk/index.php?main_page=checkout&action=null

If this radio button is selected when they checkout, then we get the order through without a payment as it's a butchered version of the "accountholder" mod. This is ideal as it allows us to invoice the customerr for a deposit and they can just pay the rest in instalments. It works really well for us.

However! We're getting a lot of customers inputing their card details and still selecting the "Pay by Instalments" radio button, thinking that it'sgoing to take the deposit for their card. It doesn't work that way.

Myy question then:

  • "is it possible to hide the portion of the cardsave payment module that shows the input boxes for their card details when a radio button other than "cardsave" is selected" ??

I hope I've explained this well and I look forward to hearing any input from you all.

13 Oct 2011, 8:13 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Radio Button Selected so Therefore Hide Part of Another Payment Module

Yes. You can write custom code and custom javascript to alter your addons to accomplish what you desire.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.