Empty cart + deleting items in cart fails

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322017

-- url of the page with the problem -- : mugge-p.dk/
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
-- PHP version -- : 7.3.19
-- Browser(s) name and version -- : FireFox + Chrome

Hi

I'm experience some odd behavior.
I have added the EMPTY CART link to my site, but when something is in the cart and I click it, nothing happens - not until I refresh the page.
I'm not taken to the URL I set in the settings.
Not can I delete single items in the cart - seems like they stay there.

Any ideas how to solve this issue?

Kind regards
Thomas


Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
3 years 8 months ago #322028

Hello Thomas,

Can you eventually test it without any SEF module (joomla or extensions) to see if it's coming from it ? Thank you.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322050

Hi

Just tested and same result. Now I can't go to the cart and checkout?
The site is still running withou SEF, if you want to have a look?

Regards
Thomas

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
3 years 8 months ago #322068

Hello,

Can you be more specific because we just processed some test directly on your website and we didn't see same issue, but we still see strange behavior...

So, in order to progress on your subject and better understand what's going on, can you provide these elements :
- A step by step process to reproduce precisely your issue
- Via our Contact us form backend access

An other point to check, is to process some test with a default template like ProtoStar, and IF that solve your issue 2 possibilties :
=> You have an override view of your cart module, and maybe the root issue is around there
=> You don't have any override view, and maybe we have to llok around your template.
Note : When using our Contact us form to provide element, don't forget to add to your message an Url link to this topic.

Awaiting news from you to be able progress on your subject.
Regards

Last edit: 3 years 8 months ago by Philip.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322070

Hi Philip

And thanks for getting back to me.
I have sent Super User access to you mentioning this url.

I have made a small screenrecording, I hope that tells about my issue:
thrane.box.com/s/p790usycp28jx4dxlj2dfb5lncmuir66

I set the template to Protostar to make this and the issue is still there.
I can add products to cart, but when I want to empty the cart nothing happens - well it empties it, but doesn't show it/update the minicart.

If you need FTP access, just let me know!

Kind regards
Thomas

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

  • Posts: 12953
  • Thank you received: 1778
3 years 8 months ago #322103

Hello Thomas,

You're right we'll probably need an FTP access to properly debug it, you can send it using our contact form, and by specifying a link to that thread in your message :
www.hikashop.com/support/contact-us.html

Even if everything seems to be well configured, it's maybe coming from an incompatibility issue with another component of your website.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322128

Thank you Mohamed, I'm so greatful for you following up on this :-)
I'll send the info ...

Have a great weekend!

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

  • Posts: 12953
  • Thank you received: 1778
3 years 8 months ago #322179

Hello,

After some testing on your website, and also on my end (I wasn't able to reproduce your issue), your issue can be coming from your views override that you have added via "Hikashop->Display->Views".

Can you test it without these override ? Especially the override of the "cart" file of the "product" view, of your front-end template. Thank you !

We wish you a nice day !
Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322228

Thanks!

I have now removed all overrides regarding PRODUCT and I still can't get EMPTY CART to work :-(

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

  • Posts: 12953
  • Thank you received: 1778
3 years 8 months ago #322263

Hello,

I just did some other tests and your issue seems to be coming from your cache extensions "Regular Labs - Cache Cleaner", when you disable it, everything seems to be working fine.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 8 months ago #322283

Wow, I think you're right!
Works across the page, but not in the cart - at least not here with me.

Does it work on the cart for you?

Empty Cart = TØM KURV

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

  • Posts: 12953
  • Thank you received: 1778
3 years 8 months ago #322296

Hello,

Everything seems to be working fine when I test it. Can you show us some screenshots that issue and give us step by step instruction to reproduce it ? Thank you.

Kind regards,
Mohamed

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 7 months ago #322529

Really weird, it doesn't here.
Well yes, on other pages than the checkout.

Please see: thrane.box.com/s/dvjo3ovjis4bqro8538nx8t7lm7p0bo8

Kind regards

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

  • Posts: 12953
  • Thank you received: 1778
3 years 7 months ago #322551

Hello,

That clean cart isn't a built in "clean cart' button, that's why you are having that issue, the best solution will either be to remove that customization on the "show_block_cart" file of the "checkout" view of your front-end template, or to directly contact your template provider or the one who have added that customization.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 7 months ago #322572

Thanks!

I placed it there myself.
So it’s not possible to have an empty cart function on the cart page?

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

  • Posts: 12953
  • Thank you received: 1778
3 years 7 months ago #322606

Hello,

Well it should be possible with the good code customization, also you can also do it through the cart module.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 7 months ago #322649

Hi
Thanks for sticking by me on this!

I have just added this code to the cart block?
<div class="emptycart"><a href="<?php echo hikashop::completeLink('product&task=cleancart'); ?>">Tøm kurv<i class="far fa-trash-alt"></i></a></div>

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 7 months ago #322650

BTW, I don't see an option to empty the cart in the cart module?
Only to delete items individually.

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

  • Posts: 12953
  • Thank you received: 1778
3 years 7 months ago #322653

Hello,

Yes, that's because we already have the "Show delete icons in the cart" option which enable users to directly select which product they can delete through the checkout's cart.

Kind regards,
Mohamed.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 7 months ago #322691

Hi

So I can't have an empty cart on my site?

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

Time to create page: 0.117 seconds
Powered by Kunena Forum