.hika-radio input display:none after upgrading

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
10 years 11 months ago #159979

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

After Upgrading a couple different sites to the latest version of HS (2.3.1 business) I've had both of them loose their selection buttons (specifically in the checkout/choose shipping option).

For some reason this update is doing something to make this code:

.hika-radio input[type="radio"] {
	display:none;
}
in
\media\com_hikashop\css\frontend_old.css
to become active and hide all the radio buttons.

I found this other topic:
www.hikashop.com/forum/2-general-talk-ab...-methods.html#113923
That was similar; however, the bootstrap option has been off (and still is) on these sites.

Not sure why it's calling the 'fontend_old.css' file or why anyone would want to hide all radio buttons.

Commenting out this line resolves this problem, but not sure why it was all working fine before the HS update to 2.3.1.

Any ideas?

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
10 years 11 months ago #160006

HikaShop now has bootstrap labels instead of the radios for shipping methods selection.
But if you overwrote the shipping view file, you won't get the labels but the CSS to remove the input radios will still be updated.
So I'm thinking that you must have had something along those lines on your two websites.

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

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
10 years 11 months ago #160112

In both instances the shipping view was overridden.

However, in the first, I went through and removed all overrides (of ALL files), and the problem still existed.

Does the 'updating' only happen when the new version is being installed?
(i.e. if I install the new version THEN remove overrides should it still work?)

NOTE: On this first one (where I removed the overrides), there is a good chance that the person who set-up the shop manually overrode files (outside of the HS views system). So, would those changes get updated also? (I'm guessing not).

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
10 years 11 months ago #160116

Hi,

That's strange.
When you install an update Joomla overwrite all the core files of HikaShop automatically but doesn't change the overrides saved in the template, regardless of whether they were made via the HikaShop interface or manually. Deleting the override before or after the update shouldn't change anything in the behavior. In both cases, HikaShop will then use the new view file.
Access rights could potentially prevent joomla from overwritting a core file during the update.

So I'm not sure what happens on your websites, but since you don't have bootstrap, I guess that the "use bootstrap design" option of the configuration is turned off and thus you should not have the class hika-radio on your pages as HikaShop only adds it to the views when that option is turned on. And so you should not normally have that problem with that piece of CSS.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum