Show extra fields when selecting payment option incasso
8 years 1 month ago #299177
by gasoline
I'll keep on trying!
Show extra fields when selecting payment option incasso was created by gasoline
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.1
Hi,
Via our shop people can choose payment iDeal (they go to external payment site to handle that and pay directly) or automatic incasso.
When they choose INCASSO we need a banknumber and accountname of the bankaccountnumber.
Is it possible to show these extra fields ONLY when they select INACASSO as payment option? And if so, how can I achieve that?
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.1
Hi,
Via our shop people can choose payment iDeal (they go to external payment site to handle that and pay directly) or automatic incasso.
When they choose INCASSO we need a banknumber and accountname of the bankaccountnumber.
Is it possible to show these extra fields ONLY when they select INACASSO as payment option? And if so, how can I achieve that?
I'll keep on trying!
Please Log in or Create an account to join the conversation.
8 years 1 month ago #299185
by nicolas
Replied by nicolas on topic Show extra fields when selecting payment option incasso
Hi,
If you're using custom fields to display these fields, there is no mechanism by default in HikaShop to do that.
With complex customization (javascript code, with ajax support) it would be possible.
However, HikaShop also has the "purchase order" payment plugin which works similarily and has one input field which is shown only when that payment method is selected.
So since you need two fields instead of one, you could make a copy of that payment plugin and with some "simple" copy/paste, you could add a second field to it. It still requires some coding skills but it would be a piece of cake for a developer to do that instead of the custom javascript code I mentioned above.
If you need someone to work on that for you, you can contact our partners here:
www.hikashop.com/home/our-partners.html
If you're using custom fields to display these fields, there is no mechanism by default in HikaShop to do that.
With complex customization (javascript code, with ajax support) it would be possible.
However, HikaShop also has the "purchase order" payment plugin which works similarily and has one input field which is shown only when that payment method is selected.
So since you need two fields instead of one, you could make a copy of that payment plugin and with some "simple" copy/paste, you could add a second field to it. It still requires some coding skills but it would be a piece of cake for a developer to do that instead of the custom javascript code I mentioned above.
If you need someone to work on that for you, you can contact our partners here:
www.hikashop.com/home/our-partners.html
The following user(s) said Thank You: gasoline
Please Log in or Create an account to join the conversation.
8 years 1 month ago #299577
by gasoline
I'll keep on trying!
Replied by gasoline on topic Show extra fields when selecting payment option incasso
Clear.
I'll keep on trying!
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds