[Skip to main content](#vessel-content)

#   Checkout payment selection

##

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 5 months ago -  10 years 5 months ago [\#241403](#241403) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  *[Checkout payment selection](/forum/27-checkout/884773-checkout-payment-selection#241403 "-- HikaShop version -- : 2.6.3  Dear team,  I would like to change the payment selection from radio button to drop down selection instead. In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.  Thanks and regards  Thomas")* was created by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")*

-- HikaShop version -- : 2.6.3

Dear team,

I would like to change the payment selection from radio button to drop down selection instead.
In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.

Thanks and regards

Thomas

- [ ![Drop&#95;down&#95;in&#95;check&#95;out.png](/forum/attachment/31703) ](/forum/attachment/31703 "...&#95;check&#95;out.png") [ ](/forum/attachment/31703?download=1 "...&#95;check&#95;out.png")

Last edit: 10 years 5 months ago by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc3My1jaGVja291dC1wYXltZW50LXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 5 months ago [\#241418](#241418) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout payment selection](/forum/27-checkout/884773-checkout-payment-selection#241418 "-- HikaShop version -- : 2.6.3  Dear team,  I would like to change the payment selection from radio button to drop down selection instead. In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.  Thanks and regards  Thomas")*

Hi,

You can do that in the file "payment" of the view "checkout" that you can edit via the menu Display&gt;Views. You'll have to basically replace all the code there to add a dropdown with a foreach on the payment methods array available in $this-&gt;methods

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc3My1jaGVja291dC1wYXltZW50LXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 5 months ago [\#241444](#241444) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  Replied by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")* on topic *[Checkout payment selection](/forum/27-checkout/884773-checkout-payment-selection#241444 "-- HikaShop version -- : 2.6.3  Dear team,  I would like to change the payment selection from radio button to drop down selection instead. In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.  Thanks and regards  Thomas")*

Hi, Nicolas,

and what is that drop down code? and what is the word I need to replace? Can you just put one line as example? Thanks very much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc3My1jaGVja291dC1wYXltZW50LXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 5 months ago [\#241454](#241454) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout payment selection](/forum/27-checkout/884773-checkout-payment-selection#241454 "-- HikaShop version -- : 2.6.3  Dear team,  I would like to change the payment selection from radio button to drop down selection instead. In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.  Thanks and regards  Thomas")*

Hi,

Please note that we provide user support on this forum, not custom coding services, and giving you one line of code is useless if you don't know what to do with it. The hints I gave you in my previous message should be enough for a developer to do it on its own. I'll make an exception because it's quite easy. It will be something like that: Code:

&lt;select name="hikashop_payment"&gt; &lt;?php $done=false; foreach($this-&gt;methods as $method){ $checked = ''; if(($this-&gt;payment_method==$method-&gt;payment_type &amp;&amp; $this-&gt;payment_id==$method-&gt;payment_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;payment_id)&amp;&amp;!$done)){ $checked = 'checked="checked"'; $done = true; } echo '&lt;option value="'.$method-&gt;payment_type.'_'.$method-&gt;payment_id.'" '.$checked.'&gt;'.$method-&gt;payment_name.'&lt;/option&gt;'; } ?&gt; &lt;/select&gt;

The following user(s) said Thank You: [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc3My1jaGVja291dC1wYXltZW50LXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 5 months ago [\#241517](#241517) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  Replied by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")* on topic *[Checkout payment selection](/forum/27-checkout/884773-checkout-payment-selection#241517 "-- HikaShop version -- : 2.6.3  Dear team,  I would like to change the payment selection from radio button to drop down selection instead. In which php file can I do the changes? Where there? and what is the code to change and insert? I hence need the code so that the view in the attachment shown changes to a drop down selection.  Thanks and regards  Thomas")*

Hi Nicolas, I highly appreciate this and understand your information. Regards
Thomas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc3My1jaGVja291dC1wYXltZW50LXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
