dolec Posted April 7, 2011 Share Posted April 7, 2011 i installed matrice theme i noticed i add to cart the cart is not reloaded and the second thing is how to have ajax cart like in default 1.4 theme? Link to comment Share on other sites More sharing options...
x3n0m0rph Posted April 10, 2011 Share Posted April 10, 2011 same problem here - prestashop 1.4.0.17 , matrice theme updated for 1.4solved by deliting line 207 from ajax-cart.js - now it works goodsecond problem: when I try to delete a product from the cart it goes to a blank page - you may have this problem tooNeed help with this one!! Link to comment Share on other sites More sharing options...
dolec Posted April 11, 2011 Author Share Posted April 11, 2011 which code did you remove exactly? Link to comment Share on other sites More sharing options...
qxqx Posted April 13, 2011 Share Posted April 13, 2011 Same problems here with matrice theme.1.Cart does not update when adding product2.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 More sharing options...
in2sky Posted April 18, 2011 Share Posted April 18, 2011 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 More sharing options...
in2sky Posted April 20, 2011 Share Posted April 20, 2011 Maybe it's possible to disable the ajax cart? so at least the shop works. Link to comment Share on other sites More sharing options...
rotamota Posted May 6, 2011 Share Posted May 6, 2011 This was also annoying the hell out of me.Modify modules/blockcart/ajax-cart.jsNEW 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 More sharing options...
in2sky Posted May 6, 2011 Share Posted May 6, 2011 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.jsNEW 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 More sharing options...
rotamota Posted May 6, 2011 Share Posted May 6, 2011 Did you have any luck once you have cleared the cache? Link to comment Share on other sites More sharing options...
rotamota Posted May 6, 2011 Share Posted May 6, 2011 Forgot to mention you should not delete line 207 as mentioned earlier in the thread. Link to comment Share on other sites More sharing options...
in2sky Posted May 7, 2011 Share Posted May 7, 2011 Not sure about line 207.It'd be nice to know what's in that line.I've changed said-file a few times and 207 might become 209 or something... Link to comment Share on other sites More sharing options...
in2sky Posted May 11, 2011 Share Posted May 11, 2011 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 More sharing options...
ScubaLessonsInc Posted May 20, 2011 Share Posted May 20, 2011 did not work for me either. Link to comment Share on other sites More sharing options...
mikej Posted June 4, 2011 Share Posted June 4, 2011 I'm having the same problem here. This theme is popular and many people have downloaded it, yet there is still not a fix. It's almost like the developer has forgot about it. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted June 8, 2011 Share Posted June 8, 2011 Looks like it was a problem with me removing the images from that view that stopped the javascript from functioning. Here is the wonderful response I got from Presta Core team leader Michael - he includes code with the fix in this thread here: http://www.prestashop.com/forums/viewthread/108134/#462641 Thanks, Tina Link to comment Share on other sites More sharing options...
mikej Posted June 11, 2011 Share Posted June 11, 2011 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.htmlThere has been no response on both websites to this issue. Any help would be appreciated.Thanks, Mike. Link to comment Share on other sites More sharing options...
MerseysideUK Posted June 13, 2011 Share Posted June 13, 2011 I found that disabling the ajax option in the admin section works. Link to comment Share on other sites More sharing options...
MarcusAT Posted June 15, 2011 Share Posted June 15, 2011 Would love a solution to this!! (one that doesn't involve disabling ajax or having to have the 'Cart Block' positioned on the page too) Link to comment Share on other sites More sharing options...
Madman_CZ Posted July 19, 2011 Share Posted July 19, 2011 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 More sharing options...
dric83 Posted July 19, 2011 Share Posted July 19, 2011 Try this solution :http://www.prestashop.com/forums/viewreply/485076/ Link to comment Share on other sites More sharing options...
mike99 Posted August 11, 2011 Share Posted August 11, 2011 Hello I can not open the solution link. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now