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

#   check out radio button doesen't work

##

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 11 months ago [\#347068](#347068) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  *[check out radio button doesen't work](/forum/27-checkout/905456-check-out-radio-button-doesent-work#347068 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.0.25  Hi  At the checkout I have an option field where customers can choose the delivery time.  It was working fine but now, by chance I found out that there are no radio buttons anymore and customer can't be choosen the time anymore.  Please find some pics for your reference how my setting is done.  Looking forward to hear from someone soon.  Thanks")* was created by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")*

-- HikaShop version -- : 4.7.0
-- Joomla version -- : 4.2.3
-- PHP version -- : 8.0.25

Hi

At the checkout I have an option field where customers can choose the delivery time.

It was working fine but now, by chance I found out that there are no radio buttons anymore and customer can't be choosen the time anymore.

Please find some pics for your reference how my setting is done.

Looking forward to hear from someone soon.

Thanks

- [ ![1&#95;2022-12-01.jpg](/forum/attachment/56011) ](/forum/attachment/56011 "1&#95;2022-12-01.jpg") [ ](/forum/attachment/56011?download=1 "1&#95;2022-12-01.jpg")
- [ ![2&#95;2022-12-01.jpg](/forum/attachment/56012) ](/forum/attachment/56012 "2&#95;2022-12-01.jpg") [ ](/forum/attachment/56012?download=1 "2&#95;2022-12-01.jpg")
- [ ![3&#95;2022-12-01.jpg](/forum/attachment/56013) ](/forum/attachment/56013 "3&#95;2022-12-01.jpg") [ ](/forum/attachment/56013?download=1 "3&#95;2022-12-01.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTQ1Ni1jaGVjay1vdXQtcmFkaW8tYnV0dG9uLWRvZXNlbnQtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

3 years 11 months ago [\#347071](#347071) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[check out radio button doesen't work](/forum/27-checkout/905456-check-out-radio-button-doesent-work#347071 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.0.25  Hi  At the checkout I have an option field where customers can choose the delivery time.  It was working fine but now, by chance I found out that there are no radio buttons anymore and customer can't be choosen the time anymore.  Please find some pics for your reference how my setting is done.  Looking forward to hear from someone soon.  Thanks")*

Hi,

After the line: Code:

$use_bootstrap = $admin ? HIKASHOP_BACK_RESPONSIVE : HIKASHOP_RESPONSIVE;

add the code: Code:

if(strpos($options, 'class="') === false) { $options .= ' class="hkform-control"'; } else { $options = str_replace(array('class="form-control'), array('class="hkform-control'), $options); }

in the file administrator/components/com_hikashop/classes/field.php and it should fix the problem.
It's linked to the way your template styles the elements with the class "form-control" as it doesn't check the type of input when doing so and thus it treats the checkboxes and radios as if they were text inputs. This code modification will revert the class change we made in the 4.7.0 only for radios and checkboxes (we didn't see any issue with that change on our end with the templates we tried before the release of the 4.7.0).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTQ1Ni1jaGVjay1vdXQtcmFkaW8tYnV0dG9uLWRvZXNlbnQtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 11 months ago [\#347126](#347126) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[check out radio button doesen't work](/forum/27-checkout/905456-check-out-radio-button-doesent-work#347126 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.0.25  Hi  At the checkout I have an option field where customers can choose the delivery time.  It was working fine but now, by chance I found out that there are no radio buttons anymore and customer can't be choosen the time anymore.  Please find some pics for your reference how my setting is done.  Looking forward to hear from someone soon.  Thanks")*

Thanks for the quick respons, works fine again!

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTQ1Ni1jaGVjay1vdXQtcmFkaW8tYnV0dG9uLWRvZXNlbnQtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.065 seconds

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

[](#top)
