garyjj127 Posted May 29, 2014 Share Posted May 29, 2014 Hi I'm using V1.5.6.1, and I've got an odd problem with the ajax cart animation. When I add an item to the cart, the animation works fine, however, if I navigate to another page and hover over the cart, nothing happens, no cart summary. The only page the hover animation does work on is the cart page! Which is obviously pointless, as you can see the cart summary on the page... the url of my site is www.jamesandjames.com/store Please let me know if there's anything I can do to fix this!! Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 it's because of origin policy when you're on unsecured website (http) then ajax trying to load cart contents that are secured (https) i think that it's related to the theme that you use... Link to comment Share on other sites More sharing options...
garyjj127 Posted June 2, 2014 Author Share Posted June 2, 2014 Thanks Vekia. How would you suggest I get around this problem? Is it something I could do myself? Link to comment Share on other sites More sharing options...
garyjj127 Posted June 2, 2014 Author Share Posted June 2, 2014 Sorry Vekia, FIXED!! I found one of your previous posts on the subject by googling the error message, and found that the ajax-cart.js file for my themesome code that needed changing. Basically, the line under " // cart to fix display when using back and previous browsers buttons" had the line "type:'GET'," which just needed changing to 'POST', and it now works! I'll mark the thread as solved. Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2014 Share Posted June 2, 2014 thank you for posting solution :-) i marked topic title as solved too. with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts