multiple drown down field behavior broken

  • Posts: 99
  • Thank you received: 6
  • Hikashop Business
1 year 6 months ago #352659

-- url of the page with the problem -- : antiqueswan.com/
-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.2
-- PHP version -- : 8

Hi,

The multiple drown down field type in Joomla 3 showed the user which selections were made. In Joomla 4, this field type hides this type of behavior and I'd like to know what can be done to have it act in the previous way.

Please see this screen recording: www.loom.com/share/ee74d1e593fe436c81b15...0d-99bc-ee1233cc928d

Thanks,

Karen

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

  • Posts: 83025
  • Thank you received: 13405
  • MODERATOR
1 year 6 months ago #352663

Hi,

We had to deactivate it as it created issues in some cases.
Change the line:

if($_REQUEST['option'] == HIKASHOP_COMPONENT && !HIKASHOP_J40) {
to:
if($_REQUEST['option'] == HIKASHOP_COMPONENT) {
in the file administrator/components/com_hikashop/helpers/helper.php and it will use Joomla's chosen selector instead of the standard HTML multiple dropdown. But you might find some issues with it here and there in the backend after that.

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

  • Posts: 99
  • Thank you received: 6
  • Hikashop Business
1 year 6 months ago #352687

That worked. Thank you, Nicolas.

What kind of issues should I be on the look out for after making this change?

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

  • Posts: 83025
  • Thank you received: 13405
  • MODERATOR
1 year 6 months ago #352688

Honestly, I'm not sure. This addition of "&& !HIKASHOP_J40" was part of many modifications we had to make when working on the support of Joomla 4, 2 years ago, and I don't remember was exactly this change is fixing.
I suppose the issue would be some other multiple select not working properly on the backend of the website on Joomla 4.

The following user(s) said Thank You: karendunne

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

Time to create page: 0.057 seconds
Powered by Kunena Forum
loading