Jump to content

Ajax cart - cart not reloading after adding to cart matrice theme


Recommended Posts

same problem here - prestashop 1.4.0.17 , matrice theme updated for 1.4

solved by deliting line 207 from ajax-cart.js - now it works good

second problem: when I try to delete a product from the cart it goes to a blank page - you may have this problem too


Need help with this one!!

Link to comment
Share on other sites

Same problems here with matrice theme.
1.Cart does not update when adding product
2.When deleting product from cart there is only an white page (only header + top menu are there, rest is blank).This only happens when deleting a product and the cart is completely empty after that.Does not happen when one has 2 products and deletes one of them.

Help would be appreciated!
Thanks a lot in advance!

Link to comment
Share on other sites

Guys, exactly the same problem here.
And the problem with deleting line 207 from ajax-cart.js will generate another bug: it'll load the item, yes, but it won't show the "view cart" or "check out". Therefore, you need to reload the page again in order to see those two.

By the way I just tested the Matrice DEMO site. When you add an item to the cart, the ajax works, but once you click it's also showing the cart summary.

It's just too bad. DG does the best looking themes for Prestashop. Or should I say the only themes worth using, because any other free or paid theme I've seen is a disaster.

Link to comment
Share on other sites

  • 3 weeks later...

This was also annoying the hell out of me.

Modify modules/blockcart/ajax-cart.js

NEW LINES:

$('ul.shopping_cart').html('Loading..')
$('ul.shopping_cart').load(baseDir + 'order.php  ul.shopping_cart');


ABOVE LINE AROUND 203:

$picture.appendTo('body');



Its not a perfect solution but it works. You could add a loading icon here
$('ul.shopping_cart').html('ICON')

Hope that helps!

Link to comment
Share on other sites

Thanks alot. Didn't work for me though, there's still a half-animation going, but doesn't go through.
Ok, maybe I should clear the cache once again...

This was also annoying the hell out of me.

Modify modules/blockcart/ajax-cart.js

NEW LINES:
$('ul.shopping_cart').html('Loading..')
$('ul.shopping_cart').load(baseDir + 'order.php  ul.shopping_cart');


ABOVE LINE AROUND 203:

$picture.appendTo('body');



Its not a perfect solution but it works. You could add a loading icon here
$('ul.shopping_cart').html('ICON')

Hope that helps!

Link to comment
Share on other sites

Ok, flushed the cache, put the lines above $picture.appendTo('body'); but still doesn't work.
When clicking "buy", the animation doesn't work and doesn't send the product to the cart which is, by the way, "loading" forever...

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Thanks for the information ScubaLessonsInc but this still does not solve the problem I am having with the Matrice theme - the ajax cart still does not work. I have left comments on the following 2 websites which offer the theme for download:

http://dgcraft.free.fr/blog/index.php/themes-prestashop/matrice-themes-prestashop-1-3-1-gratuits/

http://www.prestaplayers.com/en/free-prestashop-themes/9-matrice-theme-prestashop.html

There has been no response on both websites to this issue.

Any help would be appreciated.

Thanks, Mike.

Link to comment
Share on other sites

  • 1 month later...

Hello all,

I am not sure if this is a 100 solution to the ajax cart problem and Matrice theme problem, but (using prestashop 1.4) if you go to the block cart modue and press reset, it resets the ajax cart, after all seems to work for me, cart updates without needing to hit F5. The only problem now is the positioning of the ajax cart as it does not fit it well into the theme's design.

It may need further testing to see if there are no more bugs.

Pete

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...