radio selection button missing

  • Posts: 2
  • Thank you received: 0
10 years 11 months ago #136432

-- url of the page with the problem -- : www.rimex.com/intranet/index.php/marketi...checkout/step/step-2
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.4.22
-- Browser(s) name and version -- : Google Chrome, Firefox
-- Error-message(debug-mod must be tuned on) -- : N/A

They radio selection buttons have disappeared from my shipping screen? Any suggestions? BTW, the site is a password protected employee intranet so you will not be able to view the site. If you require guest login privileges, let me know.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 11 months ago #136543

Hi,

Please deactivate the "bootstrap design" in your HikaShop configuration.
With bootstrap design, the radio are hidden and the radio design is made using the shipping label displayed as buttons (and the selected one have a special color).
If you don't have a template compatible with bootstrap, you won't see the button style so it is not understandable.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
10 years 11 months ago #136874

And that was it... Thanks! Knew it had to be something simple like that.

Cheers! :)

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 3
10 years 9 months ago #144835

I have the same problem. I'm using a Yootheme template (Nano3) which is built with Bootstrap as far as I know. Strange thing a quite basic element as radio buttons give problems with it. What can I do to solve it, because I switched to Bootstrap mode to make my shop better looking at mobile devices.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #144852

Hi,

Even if the template said that it is compatible with Bootstrap, it might not be implement all bootstrap 2.3 things.
The radio button we used in HikaShop is working with the official bootstrap css file so I can only recommend you to override the view in order to change how these buttons are displayed ; to make them work with your special bootstrap template.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
10 years 3 weeks ago #178089

Hello, Jerome.

Good evening!

Would you be able to provide an example code for targeting the payment methods and make them radio buttons again?

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 2 weeks ago #178120

Hi,

In a bootstrap template, like the default Joomla one you have to search for properties based on classes like:
btn-radio

I recommend to check for hte differences between a bootstrap template css content and yours or directly ask to your template provider.

The following user(s) said Thank You: Ed_Hika

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
10 years 2 weeks ago #178227

Thanks, Xavier.

I suspect that there is a Hikashop JavaScript file that converts the radio button labels into buttons and hides the radio buttons to have the button effect. Please could you confirm this? If yes, please could you tell me the name and location of this .js file?

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
10 years 2 weeks ago #178257

Hello, Xavier.

Good evening!

Don't mind my previous silly comment. For checkout/payment.php, I have worked out that the conversion from radios to buttons happen in the file itself.

Will need your help for just one more area, which is the radio button selection for the login (between the option to login as existing user and the option to register new user) during the checkout process. For these options, where is the code that changes the radio buttons to buttons?

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #178274

Hi,

The view is "checkout | login".
If you do not want to use the radio in bootstrap mode (with the bootstrap design activated in HikaShop), you can replace

echo JHTML::_('hikaselect.radiolist',  $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );
By
echo JHTML::_('select.radiolist',  $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );
It will use the default Joomla radiolist instead of the "hikaselect" override for bootstrap.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
10 years 2 weeks ago #178840

Thanks, Jerome. That worked.

Take care!

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum