Hikashop Cart Module on Drawer

  • Posts: 97
  • Thank you received: 4
  • Hikashop Multisite
3 weeks 2 days ago #368806

-- url of the page with the problem -- : wip-ayam-au.cloudaccess.host/index.php/shop/coconut
-- HikaShop version -- : 6.1.0

I notice some issue once we set the shopping cart into drawer mode.
When user add item to cart, the drawer not open on the right side after the config we set to open on right after user add item to cart.



Another issue found, when user open the drawer, they can add or reduce the product quantity throgh the drawer. Once done, the cart will reload.
We try click back on the cart to open back the drawer it not working. Even if you try to add another items on the cart also it not working. Can you verify what are causing the issue?




Thanks.

Attachments:

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

  • Posts: 84545
  • Thank you received: 13747
  • MODERATOR
3 weeks 2 days ago #368813

Hi,

We've made some patches for the drawer system in the past few weeks.
Download again the install package of HikaShop on our website and install it on yours and it should help.
Also, if the update, after clearing the cache, doesn't help, if you have an override for the view product / cart, try to deactivate it temporarily by renaming the file templates/YOUR_TEMPLATE/com_hikashop/product/cart.php via FTP to see if that helps.

The following user(s) said Thank You: alainz

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

  • Posts: 97
  • Thank you received: 4
  • Hikashop Multisite
3 weeks 9 hours ago #368859

Hi Nicholas,

Thanks, yes i found the issue. Problem solved now. Thanks.

The following user(s) said Thank You: nicolas

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

  • Posts: 97
  • Thank you received: 4
  • Hikashop Multisite
2 weeks 1 day ago #368935

Hi Nicholas,

I have another question need your help.

Here is the link to the page, wip-ayam-au.cloudaccess.host/index.php/online-store . Once i add item on the cart, the cart drawer not display as what it should be displayed. Refer to the atachment.




Here is the cart view from another page ( wip-ayam-au.cloudaccess.host/index.php/shop/coconut ). The above should be displayed as this page. Refer to the attachment.



As far as i see the code also different between each page. Can you help to check? Thanks in advance sir.

Attachments:

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

  • Posts: 84545
  • Thank you received: 13747
  • MODERATOR
2 weeks 1 day ago #368936

Hi,

From what I understand, it seems that you've customized the display of the quantity input area, but the customization only applies in one case and not the other.
You must have made it via a view override.
The first thing to do is to activate the "Display view files" setting of the HikaShop configuration and check that the same view file is used in both cases. If that's not the case, then you probably want to add your customization to the other view file so that both are consistant.
If it's the same view file, then you'll have to debug the code in the view override you've made.
Maybe some variable is different for some reason and the customization doesn't take that into account properly ?

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

  • Posts: 97
  • Thank you received: 4
  • Hikashop Multisite
1 week 4 days ago #368946

Hi,

I could not find the problem.

The cart are using the same module hikashop cart same as other page.
On checking the layout, it using the same layouts/quantity.php and it already overwrite.
This is the problem page ( wip-ayam-au.cloudaccess.host/index.php/online-store )



This is the working page drawer ( wip-ayam-au.cloudaccess.host/index.php/shop/coconut ).


Can you help to advice on this?

Attachments:

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

  • Posts: 84545
  • Thank you received: 13747
  • MODERATOR
1 week 4 days ago #368950

Hi,

Since both use the same layout and it has an override, rename temporarily the templates/YOUR_TEMPLATE/html/com_hikashop/layouts/quantity.php file to something else via FTP.
This will deactivate the override. Then, clear your website cache if any, and check that both pages display the quantity input in the cart module the same way.

If that's the case, the problem is with the customization made in the override. I don't what change you made so I can't say what to do exactly. If you can't figure it out, I can have a look at the problem for a fee since it falls into the custom development category. In that case, I'll have to investigate with a backend super admin access.

If that's not the case, and you still have the display difference between both pages, then it would point at a bug in the default code of the view file for some reason. In that case too, I'll have to investigate with a backend super admin access.

So, you can follow up on this via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 392
  • Thank you received: 20
  • Hikashop Business
1 week 4 hours ago #368997

I think I have the same issue. No overrides. Latest (16.10.2025) version installed. Latest J5.4, casiopea.
If I click on add to cart sometimes drawer opens and sometime not.
Go to shop, click add to cart - no drawer.
Add to cart again, drawer opens.
Delete product in cart, add to cart again - no drawer.
Have tryed with diferent setings of cart notification plugin, no result.

This message contains confidential information

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

  • Posts: 84545
  • Thank you received: 13747
  • MODERATOR
6 days 6 hours ago #369003

Hi,

Thanks for the details. We've been working on this for the next version of HikaShop to be published in one week from now.
This will be fixed then.

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

Time to create page: 0.117 seconds
Powered by Kunena Forum