Hikashop loose map after add, delete, add an item

  • Posts: 39
  • Thank you received: 0
8 years 6 months ago #1626

Joomla 1.5.21
Hikashop 1.3.5
IE 8

No user logged in.
add an item to the cart,
delete the item from the cart,
try to add an item to the cart ==> impossible, always have a message saying "empty cart"
clear cache, start from beginning again still the samething

Also tried with a loged-in user, samething

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

  • Posts: 65715
  • Thank you received: 9593
  • MODERATOR
8 years 6 months ago #1628

That's really strange, some other users reported similar issues with the cart. However, we were unable to replicated the problem. Even on their website. There must be something. If only we could find what...

Could you try with another browser ?
Could you give us the URL of your website? Maybe with the step by step to reproduce the problem ?

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

  • Posts: 39
  • Thank you received: 0
8 years 6 months ago #1629

just sent you the site details by mail

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

  • Posts: 65715
  • Thank you received: 9593
  • MODERATOR
8 years 6 months ago #1630

Sure, but like I said, I'm not able to reproduce the problem.
It's working fine on my end. I tried on both IE8, Chrome and Firefox.

So it must be something either related to an option in your browser or your session...Maybe you could try to reset the cookies for your website in your browser ? Does that solve the problem ?
Again, if you try on another browser, does it work ?

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

  • Posts: 39
  • Thank you received: 0
8 years 6 months ago #1631

When I was doing my test, I always cleared cache, cookies and clean up memory on IE.

I Tried it on Chrome everything seems OK except for a bizarre behaviour of the login page that does not act as my template/site is configured but that is something else I'll look at later.

Came back in IE \!@#Q$!@#?$!@%!$#@? IT WORKS......

I have no clue of what happeaned, have you change anything in the back-end ?

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

  • Posts: 65715
  • Thank you received: 9593
  • MODERATOR
8 years 6 months ago #1632

After thinking about the problem I added some code to the cart module so that the HTTP headers of the response given to the browser tells him to not cache it because I knew that IE can be quite strange with caching issues and that it might help.

Now that doesn't mean that the problem is solved... Hopefully, it won't.

For the record, I added to the file components/com_hikashop/views/product/tmpl/cart.php the code

if(JRequest::getWord('tmpl','')=='component'){
	header( 'Cache-Control: no-store, no-cache, must-revalidate' );
	header( 'Cache-Control: post-check=0, pre-check=0', false );
	header( 'Pragma: no-cache' );
}
at the top of the file just after the php start tag.

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

  • Posts: 39
  • Thank you received: 0
8 years 6 months ago #1637

This definitly correct the issue, I've been trying to reproduce the issue for the last 45 minutes, impossible. I removed the code and the problem is back.

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

  • Posts: 65715
  • Thank you received: 9593
  • MODERATOR
8 years 6 months ago #1638

So that's great. Another bug fixed :)

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

Time to create page: 0.065 seconds
Powered by Kunena Forum