hikashop content module dropdown

  • Posts: 1061
  • Thank you received: 11
  • Hikashop Business
11 years 6 months ago #109721

I have a hikashop content module that shows 4 basic categories and each category has 5 subcategories. There is a built in function that shows a dropdown listing of the subcategories everytime i click on it's parent category.

Is it possible just by hover on a parent category to show the subcategories? i would like to click only one time, directly on the subcategory without first clicking on the parent category, and then choosing the subcategory from the dropdown.

thanks!

you can check this live at: 178.63.101.87/~filipaio/1b/index.php?lang=el

the module is called "Προσφορες"

Last edit: 11 years 6 months ago by verzevoul.

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

  • Posts: 2334
  • Thank you received: 403
11 years 6 months ago #109729

Hi there,

Just edit your module and enable the "Link on main categories" option.

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

  • Posts: 1061
  • Thank you received: 11
  • Hikashop Business
11 years 6 months ago #109737

No Eliot I believe you didn t understand the case.
I need to open the categories on hover, not on click. Thats because some categories are with subcategories so they don t have any products, but some are root categories with product.
So if i click to see the subcategory it reloads the page and its a little bit confusing for the clients.
Thanks!

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

  • Posts: 26168
  • Thank you received: 4030
  • MODERATOR
11 years 6 months ago #109777

Hi,

The list uses the Joomla "JPane" Accordion system which use the Mootools "Fx.Accordion" feature.
It is possible to change the event of the trigger (not "click" but "hover") but the problem is, there is no option in Joomla to set the value.

But it might be possible to override it by javascript, by unloading the accordion and recreate it with better parameters.
It requires some PHP/Javascript skills.

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: 1061
  • Thank you received: 11
  • Hikashop Business
11 years 6 months ago #109813

Hi Jerome!
Is it possible for you to do it? I m asking because it s not only for me its generally a problem to load a page with no content when you wan t to load the subcategory contained? Or can you let us choose another way (library) in the backend of the module to make it work like I told you?
Thank you!

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

  • Posts: 83049
  • Thank you received: 13408
  • MODERATOR
11 years 6 months ago #109918

Hi,

What Jerome means is that this is only possible with a really ugly patch to joomla accordion system.
It could potentially be done by a developer for your website.
But that's not something that we will add as an option by default in HikaShop as it will be hard to maintain.
Maybe a nicer way would be to redo the whole accordion system with jquery/bootstrap instead of the mootools capabilities of Joomla.
But in any case, that's not something we would do in the short term.

So I would advise you to contact a third party developer to help you with that modification if it's something that you want for your website.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum