soroosh Posted September 18, 2012 Share Posted September 18, 2012 Hi, My old prestashop version is 1.4.6.2 and I've installed 1.5.0.17 into a subdirectory 'prestashop'. Everything works but Add to cart not works! I test it In any browser with both default and custome theme. Add to cart button does not show any effect and cart block does not change. But after clicking on Shopping Cart and going to order page it is updated! Any ideas will be helpful... 1 Link to comment Share on other sites More sharing options...
Trip Posted September 18, 2012 Share Posted September 18, 2012 I guess some javascript files are missing or old ones are served from the browser cache. Disable all performance optimisations from the performance tab. Enable force compile and so on for testing. Clear your browser cache. Look with firebug if and what files are missing during page load are my ideas. Best regards, Trip Link to comment Share on other sites More sharing options...
soroosh Posted September 19, 2012 Author Share Posted September 19, 2012 Hi Trip Thanks for your response. I did that but it couldn't solve the problem... Link to comment Share on other sites More sharing options...
Sid Vishez Posted September 19, 2012 Share Posted September 19, 2012 (edited) Same issue on ekagames.ru Chrome debuger shows: Uncaught TypeError: Cannot read property 'top' of null ajax-cart.js:220 $.ajax.successajax-cart.js:220 f.Callbacks.ojquery-1.7.2.min.js:2 f.Callbacks.p.fireWithjquery-1.7.2.min.js:2 wjquery-1.7.2.min.js:4 f.support.ajax.f.ajaxTransport.send.djquery-1.7.2.min.js:4 uninstall and install Cart module fixed this issue. Edited September 19, 2012 by Sid Vishez (see edit history) Link to comment Share on other sites More sharing options...
negro8219 Posted September 27, 2012 Share Posted September 27, 2012 It definately doesnt work we have tried everything. Any other suggestions Link to comment Share on other sites More sharing options...
kimy Posted September 27, 2012 Share Posted September 27, 2012 uninstall and remove the cartblock, Reinstall it (u'll find it in the Prestashop 1.5 zip file). clear u'r browser catch and it should work again. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2012 Share Posted September 27, 2012 Hello, kimy, that is an interesting suggestion, negro8219 please let us know if you tried this suggestion and if it worked? Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 Hi Benjamin and Kimy, unfortunately your suggestion didnt work. It still has the same issue. Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 I have deleted the block cart but i just cant seem to install it back again. Any instructions on how to install it again? Link to comment Share on other sites More sharing options...
Trip Posted September 28, 2012 Share Posted September 28, 2012 Kimy already said that uninstall and remove the cartblock, Reinstall it (u'll find it in the Prestashop 1.5 zip file). clear u'r browser catch and it should work again. Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 I did that and it didnt work Link to comment Share on other sites More sharing options...
wattie Posted September 28, 2012 Share Posted September 28, 2012 Hi I'm only new to prestashop and had the same problem as you guys. I discovered that in my tinkering with the system I needed to have the cart block in the hook positions "Header of pages (displayHeader)" and "Top of Pages (displayTop)" otherwise I got that same error. Good luck Jas Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 I did that and it didnt work Hello, did you successfully the cartblock? Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 Yes I did install it succesfully. But it still has the same issue that once you click on add to cart it doesnt do anything. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hello, thank you for the information. Is this a new install of PrestaSop 1.5.0.1.7? I can't reproduce the error on my end. Have you tried re-installing the software? Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 Yes is the new install and i have install the software twice. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 When you disable the Ajax Cart, does it work? Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 If the ajax is disable it gives the same error. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Thanks, could you post a screenshot of the error please? Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 Go into my site which is www.etereobts.com/store then click on add to cart and see how the cart which is at the top right corner is doesnt add anything and once you click add to cart you will se that it goes straight to the checkout page, and in the checkout page you will also see that nothing is being added. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 When click Add to cart it takes me straight to the Check out page, however, I do see my items added in the cart all throughout the check out process. Also, I did receive multiple 404 errors during the process. Link to comment Share on other sites More sharing options...
negro8219 Posted September 28, 2012 Share Posted September 28, 2012 Any suggestions of how to fix this mess? Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hello negro, if you could install the latest version with the basic PrestaShop template and let me know if you still have the problem. The products are adding to cart every time I try it. Link to comment Share on other sites More sharing options...
negro8219 Posted September 29, 2012 Share Posted September 29, 2012 I made to the point where product are being added to the cart but once you click on checkout nothing is there. Any idea what to do? Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2012 Share Posted September 29, 2012 I had the same problem. try here: http://www.prestashop.com/forums/topic/190551-authentication-failed-on-some-browsers/ Link to comment Share on other sites More sharing options...
netmechanics Posted October 3, 2012 Share Posted October 3, 2012 Seems like a problem across quite a few users ... me included ... http://www.prestashop.com/forums/topic/189616-add-to-cart-not-working-in-15/ Link to comment Share on other sites More sharing options...
lucamax Posted October 3, 2012 Share Posted October 3, 2012 Negro, I'm able to add products to cart and check out works on your site , how did you solve it ? Link to comment Share on other sites More sharing options...
negro8219 Posted October 3, 2012 Share Posted October 3, 2012 Change my shop domain inside the seo &urls to be without the www. Try it.It works. Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 3, 2012 Share Posted October 3, 2012 Seems like a problem across quite a few users ... me included ... http://www.prestasho...-working-in-15/ Hello, netmechanics, could you please try negro219's solution? Maybe this too will work for you. Link to comment Share on other sites More sharing options...
kimy Posted October 5, 2012 Share Posted October 5, 2012 My cart still not working from time to time, its' a really strange error.... Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 5, 2012 Share Posted October 5, 2012 Hello kimy, can you try to download our latest version of PrestaShop 1.5.1 and let me know if your cart is working correctly. Thank you! Link to comment Share on other sites More sharing options...
rajsharma Posted October 6, 2012 Share Posted October 6, 2012 This issue is there in Prestashop 1.5.1 as well.. Link to comment Share on other sites More sharing options...
ct1976 Posted October 6, 2012 Share Posted October 6, 2012 same problem....any solution....???? Link to comment Share on other sites More sharing options...
ct1976 Posted October 7, 2012 Share Posted October 7, 2012 tried everything can think of; fresh install, changing shop domain by removing www. , gone from 1.5.1 back to 1.5.0.17 and back again, etc my site.. http://bit.ly/QV9yWl does anyone have a solution for this problem please?? Link to comment Share on other sites More sharing options...
ct1976 Posted October 7, 2012 Share Posted October 7, 2012 ok after trying may different things, followed another post to replace classes\cart.php with 1.5.0.17 (was on v 1.5.1)... now adds and shows cart....yippee!! however....when try to check out with paypal get the below; Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. cleared cache in browser...tried chrome and ie8...same issue...when tried my other payment module (worldpay v0.6) wont even show as option does anyone have any ideas pretty please?!?! Link to comment Share on other sites More sharing options...
sixpack Posted October 25, 2012 Share Posted October 25, 2012 My problem: When adding to cart from category pages, doesn't work. You can see my error here: http://myedoglovers.com/index.php?id_category=8&controller=category Try adding any of the products to cart from there and you'll see the problem.. Works fine from the individual product page. Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2012 Share Posted October 26, 2012 My problem: When adding to cart from category pages, doesn't work. You can see my error here: http://myedoglovers....roller=category Try adding any of the products to cart from there and you'll see the problem.. Works fine from the individual product page. Works for me The image floating into the cart does not work, but the cart contents number does get updated, and when i click on the cart, everything is there Link to comment Share on other sites More sharing options...
cjmartin Posted March 27, 2013 Share Posted March 27, 2013 Disable Friendly URL Fix customer are able to login and able to check out Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 27, 2013 Share Posted March 27, 2013 Hi cjmartin, are you using 1.5.0.17 ? Link to comment Share on other sites More sharing options...
cjmartin Posted March 27, 2013 Share Posted March 27, 2013 Hi cjmartin, are you using 1.5.0.17 ? I was when I had this happen and I dont know why it didnt shop up but Disable friendly URL rewrite had the same problem on my current verison PrestaShop™ 1.5.3.1 Seems like all versions have this problem and all version came with Friendly URL activated after disabled everything works fine Link to comment Share on other sites More sharing options...
benjamin utterback Posted March 27, 2013 Share Posted March 27, 2013 Hi cjmartin, I'm not sure if that is an upgrade problem or a server/hosting problem. On a fresh install friendly URL has definitely been working. Link to comment Share on other sites More sharing options...
Recommended Posts