ruben6 Posted July 4, 2011 Share Posted July 4, 2011 When someone adds a product to their cart, their should come a popup with their cart and the buttons to check-out or continue shopping.This has worked fine for quite a while. But recently after adding something to your cart the popup shows but after that the page immediately refreshes and the popup is gone.I can't remember that I changed something that could've caused this. So I don't really know how to fix the problem. Does anyone know a way to fix this?Edit: the url of the store is in my signature Link to comment Share on other sites More sharing options...
ruben6 Posted July 7, 2011 Author Share Posted July 7, 2011 Doesn't anybody know a fix for this problem?Prestashop 1.3.1.1 is used. If I need to give more information to get the problem more clear please let me know. Link to comment Share on other sites More sharing options...
razaro Posted July 8, 2011 Share Posted July 8, 2011 There is JavaScript error ddaccordion is not definedddaccordion.init({ .... menu.js (line1) And I am not sure where is ddaccordion used but it is missing call to ddaccordion.js.That error cause cart to not working properly Link to comment Share on other sites More sharing options...
ruben6 Posted July 8, 2011 Author Share Posted July 8, 2011 I had prevented the ddaccordion.js from loading in the header, but I can't seem to remember why. At the moment the ddaccordion can load again, the page doesn't seem to be refreshing anymore.Still the problem with the disappearing cart remains... Link to comment Share on other sites More sharing options...
razaro Posted July 8, 2011 Share Posted July 8, 2011 Page still does full page refresh but it is load fast and it don't use for some reason ajax like in theme demo , so that is why cart is hidden.Did you add some new module recently ? Link to comment Share on other sites More sharing options...
ruben6 Posted July 8, 2011 Author Share Posted July 8, 2011 I can't recall any recently added module. Apart from the addstuff module, but for the sake of testing I've disabled it temporarily and the problem remains.What I did add recently is mouseflow tracking, but the problem was there before I added this.The Ajax cart is activated in the backoffice, how do you know this isn't working properly? Maybe there is some problem here.Edit: When I check all the page requests with Firebug after I add a hdmi cable to the cart I see that there is a page request to http://www.ruconnected.nl/15-hdmi-kabel.html and that page then 301's to http://www.ruconnected.nl/kabels/15-hdmi-kabel.html.Could this maybe be the issue? I think that some part of the cart requests that page. Link to comment Share on other sites More sharing options...
ruben6 Posted July 8, 2011 Author Share Posted July 8, 2011 I think I know what caused the problem!Some time ago I wanted to change the position of the order button. To do this I followed the directions of an other forum member in this thread:http://www.prestashop.com/forums/viewthread/111723/I added the order button in the same class as the price, maybe that's why the cart is disappearing. That there is some function in the cart that calls to a class that isn't existing anymore. Link to comment Share on other sites More sharing options...
razaro Posted July 8, 2011 Share Posted July 8, 2011 Yeah I just wanted to ask about that.Block <input type="submit" name="Submit" value="Add to cart"></p> is in demo and you have <input type="submit" name="Submit" value="In Winkelwagentje"> in price paragraphand in ajax-cart.js there is $("body#product p#add_to_cart input") .... Link to comment Share on other sites More sharing options...
ruben6 Posted July 8, 2011 Author Share Posted July 8, 2011 I think I've got it fixed, thanks a lot for the help! Link to comment Share on other sites More sharing options...
Pronux Posted September 14, 2013 Share Posted September 14, 2013 @ruben6 I know this is an old thread, but does mouseflow tracking work with PrestaShop? Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2014 Share Posted April 28, 2014 Hey guys, I'm about to install Mouse Flow to our site - did you guys have any issues with it? Link to comment Share on other sites More sharing options...
Recommended Posts