Jump to content
Sign in to follow this  
reneerd

Basket & mini-basket not automatically updating changes

Recommended Posts

Posted (edited)

If anyone has any ideas where to point me at what handles these or ideas would be appreciated.  Kind of hit a wall on this one.  This bug has been a problem for us since 6.1 but does appear to be getting worse.

Synopsis:  Basket and minibasket do not update automatically but do so when the update button is selected. 

Examples: If customer while in basket deletes a product it remains in basket until you hit update.  Similarly if new products are added then they do not show up in basket until update is hit.  Another symptom is if the cart is emptied when returning to the landing page the minibasket still reflects the items being in there.  This is fixed by hitting F5.

Theory:  Its a cookie/cache issue.  Obviously the changes are hitting the database but something is not functioning properly on either the automatic refresh after an action that has it or the cookie is being super persistent and not updating or deleting.  Clearing the cache on customer side does not fix it though.

Other Details:  Caching is currently disabled.

 

Edited by reneerd

Share this post


Link to post
Share on other sites

probably a javascript issue. open your dev console (F12) and check for messages/errors when reproducing the issue.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks Noodle for the fast reply.  

I see 2-3 errors:

1) index.html (1 or 2 times depending)

2) analytics.js (1 time)

Think #2 is the culprit?

Share this post


Link to post
Share on other sites

weird. seems to have worked OK for me. it's a bit slow, you've got a bad reference to a CSS file, and also an image file. I'm testing in Chrome. FireFox also working correctly.

Check your cookie domain is set correctly in store settings, review the error log and check if you have anything being reported. 

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for taking a look and yeah  I am glad you said it was weird because it makes me feel a bit less nuts.

 

Cookie domain is:              .shoprainbowartglass.com

That should be correct yes?

 

Ill take a look at those other issues you found. Thanks

Share this post


Link to post
Share on other sites

seems valid. 

One thing that can cause oddities is the session data not being stored correctly. check your web server error log and see if you have warnings about sessions in there. it may offer some clues. 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...