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

#   module currency radio button

##

- **[aminweb](/forum/user/38602-aminweb "View aminweb's Profile")**
- [![aminweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38602.png)](/forum/user/38602-aminweb "View aminweb's Profile") Topic Author
- [ Offline](/forum/user/38602-aminweb)
- Amin

Less More

- Posts: 138
- Thank you received: 4
-
-
-

8 years 9 months ago [\#288041](#288041) by [aminweb](/forum/user/38602-aminweb "View aminweb's Profile")  *[module currency radio button](/forum/27-checkout/893820-module-currency-radio-button#288041 "-- HikaShop version -- : 3.2.1  hi, how change module currency switcher to radio button? thanks")* was created by *[aminweb](/forum/user/38602-aminweb "View aminweb's Profile")*

-- HikaShop version -- : 3.2.1

hi,
how change module currency switcher to radio button?
thanks

---

Joomla Developer \| am.ebrahimzadeh\[at\]gmail.com

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 9 months ago [\#288042](#288042) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[module currency radio button](/forum/27-checkout/893820-module-currency-radio-button#288042 "-- HikaShop version -- : 3.2.1  hi, how change module currency switcher to radio button? thanks")*

Hello,

There's actually no option to do that, so the solution will be to directly edit the code of the currency switcher module.

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

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

- **[aminweb](/forum/user/38602-aminweb "View aminweb's Profile")**
- [![aminweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38602.png)](/forum/user/38602-aminweb "View aminweb's Profile") Topic Author
- [ Offline](/forum/user/38602-aminweb)
- Amin

Less More

- Posts: 138
- Thank you received: 4
-
-
-

8 years 9 months ago -  8 years 9 months ago [\#288058](#288058) by [aminweb](/forum/user/38602-aminweb "View aminweb's Profile")  Replied by *[aminweb](/forum/user/38602-aminweb "View aminweb's Profile")* on topic *[module currency radio button](/forum/27-checkout/893820-module-currency-radio-button#288058 "-- HikaShop version -- : 3.2.1  hi, how change module currency switcher to radio button? thanks")*

thansk,
but currency switcher module dont have a lot code!!!!
tmpl--&gt; default.php Code:

&lt;div class="hikashop_currency_module" id="hikashop_currency_module_&lt;?php echo $module-&gt;id; ?&gt;"&gt; &lt;?php if(empty($mode_noform)) { ?&gt; &lt;form action="&lt;?php echo hikashop_completeLink('currency&amp;task=update'); ?&gt;" method="post" name="hikashop_currency_form_&lt;?php echo $module-&gt;id; ?&gt;"&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode($redirectUrl); ?&gt;" /&gt; &lt;?php echo $currency-&gt;display('hikashopcurrency',hikashop_getCurrency(),'class="hikashopcurrency" onchange="document.hikashop_currency_form_'.$module-&gt;id.'.submit();"'); ?&gt; &lt;/form&gt; &lt;?php } else { echo $currency-&gt;display(null, hikashop_getCurrency(), 'class="hikashopcurrency" id="hikashopcurrency_'.$module-&gt;id.'" onchange="window.localPage.switchCurrency(this);"'); ?&gt; &lt;script type="text/javascript"&gt; if(!window.localPage) window.localPage = {}; window.localPage.switchCurrency = function(el) { var url = "&lt;?php echo hikashop_completeLink('currency&amp;task=update&amp;hikashopcurrency={ID}'); ?&gt;"; url += ((url.indexOf("?") !== false) ? "?" : "&amp;") + "return_url=&lt;?php echo urlencode($redirectUrl); ?&gt;"; window.location = url.replace("{ID}", el.value); }; &lt;/script&gt; &lt;?php } ?&gt; &lt;/div&gt;

which one file must be edit?

---

Joomla Developer \| am.ebrahimzadeh\[at\]gmail.com

Last edit: 8 years 9 months ago by [aminweb](/forum/user/38602-aminweb "View aminweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MzgyMC1tb2R1bGUtY3VycmVuY3ktcmFkaW8tYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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
-
-

8 years 9 months ago [\#288063](#288063) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[module currency radio button](/forum/27-checkout/893820-module-currency-radio-button#288063 "-- HikaShop version -- : 3.2.1  hi, how change module currency switcher to radio button? thanks")*

Hi,

It's the code: Code:

$currency-&gt;display('hikashopcurrency',hikashop_getCurrency(),'class="hikashopcurrency" onchange="document.hikashop_currency_form_'.$module-&gt;id.'.submit();"');

which displays the dropdown.
That function is defined in administrator/components/com_hikashop/types/currency.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MzgyMC1tb2R1bGUtY3VycmVuY3ktcmFkaW8tYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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.088 seconds

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