zloeloshadko Posted March 16, 2014 Share Posted March 16, 2014 Hi everyone! I'm using prestashop 1,5 The question is about ajax cart. When a customer add a product in cart, product is flying to cart, and then it gets to the end of the list. How to make it getting to the top of this list? thank you Link to comment Share on other sites More sharing options...
vekia Posted March 16, 2014 Share Posted March 16, 2014 modules/blockcart/ajax-cart.js change: $('#cart_block dl.products').append(content); to: $('#cart_block dl.products').prepend(content); after changes clear your shop cache or just press ctrl+f5 on your page 1 Link to comment Share on other sites More sharing options...
zloeloshadko Posted March 17, 2014 Author Share Posted March 17, 2014 (edited) Thank you, Vekia. You're the best! Solved. Edited March 17, 2014 by zloeloshadko (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2014 Share Posted March 17, 2014 you're very welcome im going to mark this topic as solved. im convinced that this thread will be helpful for other merchants with similar requests. as far as i remember we have on forum several topics with the same question. now it's time to link this answer on these topics with regards, Milos 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