Jump to content

Upgrade to 1.5.0.17: add to cart does not work


Recommended Posts

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...

  • Like 1
Link to comment
Share on other sites

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

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 by Sid Vishez (see edit history)
Link to comment
Share on other sites

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

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

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

  • 3 weeks later...

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

  • 5 months later...

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

×
×
  • Create New...