cart drawer

  • Posts: 18
  • Thank you received: 3
3 months 1 day ago #367725

-- HikaShop version -- : 5.1.0
-- Joomla version -- : 5.2.2
-- PHP version -- : 8.1.28
-- Browser(s) name and version -- : chrome latest, firefox, etc.

Dear HikaShop Support Team,

I hope this message finds you well.

I am currently working on a Joomla website using HikaShop as the e-commerce solution. I am interested in implementing a "cart drawer" or slide-in cart panel that appears when a product is added to the cart, displaying the current cart contents dynamically.

Could you please let me know if HikaShop offers any native functionality or built-in modules for such a cart drawer or slide-in cart feature? If not, are there any recommended best practices or official extensions to achieve this?

Thank you very much for your assistance. I look forward to your response.

Best regards

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

  • Posts: 84435
  • Thank you received: 13733
  • MODERATOR
3 months 1 day ago #367726

Hi,

Usually, the drawer mechanism is something that needs to be done by the template itself.
What the template developer does is that he creates a position inside the drawer area so that the user of the template can add the modules he wants in the drawer. And this can potentially be the cart module we provide by default with HikaShop.
For example, most templates from L Theme have that kind of drawer system:
www.hikashop.com/download/templates-for-hikashop.html
And so, you could configure the cart module to display inside the drawer.

Opening the drawer when a product is added to the cart is not a function these templates provide unfortunately as far as I know. However, it's not impossible to add. HikaShop has a javascript event fired when a product is added to the cart:
www.hikashop.com/support/documentation/6...ocumentation.html#js
So the developer of the template, or any developer, actually, could add a few lines of code to handle this.

However, while researching a bit in order to answer, I think I've got a good idea on what to do in order to add these capabilities to the cart module by default for a future version of HikaShop. So it will likely take a few weeks / months before you would be able to use it.

The following user(s) said Thank You: mizso676

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

  • Posts: 18
  • Thank you received: 3
3 months 13 hours ago #367738

That would be awesome!

Thanks, Nicolas

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

  • Posts: 18
  • Thank you received: 3
1 month 2 days ago #368298

Thanks for the new drawer display :) it's great!

The following user(s) said Thank You: nicolas

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

  • Posts: 232
  • Thank you received: 7
  • Hikashop Business
3 weeks 4 days ago #368393

Hello,

I've enabled the new "Drawer" display mode for the cart module and encountered some issues.

After adding a product to the cart, the mini-cart appears and is fully expanded, even though this function is disabled. I'm unable to close it by clicking any button, and the only way to make it disappear is to refresh the page.

The main problem is that after deleting a product from the cart, all buttons and links on the screen become completely unresponsive. The mouse pointer is blocked from clicking on any links, and I have to fully refresh the page to regain control. This issue also occurs on mobile devices.

Any help would be greatly appreciated.

Thank you.

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

  • Posts: 84435
  • Thank you received: 13733
  • MODERATOR
3 weeks 4 days ago #368396

Hi,

Are you able to provide the URL of a page with the issue in order to replicate the issues and analyze them ?

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

  • Posts: 232
  • Thank you received: 7
  • Hikashop Business
3 weeks 4 days ago #368411

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

  • Posts: 84435
  • Thank you received: 13733
  • MODERATOR
3 weeks 3 days ago #368438

Hi,

Thanks. I see what you describe on your website, but I'm not able to reproduce the problem on my end with the default template of Joomla on my own test websites.
Could you provide a backend and a FTP access via our contact form so that we can look deeper into it please ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 232
  • Thank you received: 7
  • Hikashop Business
3 weeks 2 days ago #368456

Hi,

Thanks for your help.

I'm a bit uncomfortable providing full backend and SSH access to the server, especially since I'm not an expert in setting up secure, limited-access accounts.

Could you please give me some guidance on what to look for? If you have an idea which files, scripts, or database tables are likely involved, I can check them on my end and provide you with the necessary information to help you solve this problem faster.

Let me know if this works for you.

Last edit: 3 weeks 2 days ago by Bender.

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

  • Posts: 84435
  • Thank you received: 13733
  • MODERATOR
3 weeks 2 days ago #368462

Hi,

I do not need a SSH access. I need a FTP access or any other mean to be able to edit the files of the website.
Since I'm not able to reproduce the issue on my end, I need to do debugging in the file media/com_hikashop/js/hikashop.js and the file media/com_hikashop/js/drawer.js and the file components/com_hikashop/views/product/tmpl/cart.php
And maybe other files down the road depending on what I find.
Debugging an issue like this is a complex process. It will probably require that I spend 1 or 2 hours on this. If we have to have a back and forth together each time, it will easily take weeks, and between reading your messages, remembering the whole situation and what happened 1 or 2 weeks ago, replying to you, the misunderstandings, etc, I'll easy spent days on this. It's not workable.

If you're not confortable with providing access to your live website, please make a copy of the website and provide access to that copy. You can even delete sensitive data from it. I actually don't necessarily need much in the backend. I could probably do without a backend access even, as long as I can edit the files.
And if you can't or don't want to provide a FTP access, then consider installing a file manager extension on your website to be able to edit the files of the website via the backend of the website: extensions.joomla.org/category/core-enha...ts/file-management//
That way, it doesn't require complex FTP setup, and only the files of the website are accessible, not the other files of the server.

If nothing of that is possible, then I'm afraid I can't look into the issue on your website. In that case, please deactivate the drawer function and wait for us to find someone else with the issue where we can look into the issue properly.

Last edit: 3 weeks 2 days ago by nicolas.

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

  • Posts: 232
  • Thank you received: 7
  • Hikashop Business
3 weeks 2 days ago #368471

Hi,

Thank you for your detailed response. I understand your point. No problem at all, I just wanted to help, as we don't currently have someone who can set up FTP access. Once we find that person, we'll get this sorted out and submit a request to you through the form.
As soon as possible.

In the meantime, I have deactivated the drawer function on the website as you suggested.

The following user(s) said Thank You: nicolas

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

Time to create page: 0.060 seconds
Powered by Kunena Forum