sootski Posted September 22, 2013 Share Posted September 22, 2013 I am running prestashop 1.5.5 and have notice something strange happening to my basket - the Top Sellers module keeps sliding up and over the basket so you can't check out. Any ideas why and how I can stop it? site address is shop4utax.co.uk Link to comment Share on other sites More sharing options...
sootski Posted September 22, 2013 Author Share Posted September 22, 2013 I have now moved the module and it seems to be ok but would like to know why it was happening Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 Its still doing it? Can someone please explain to me why the basket keeps disappearing? If not can someone tell me how to get a show basket button? I am getting so many abandoned carts this can't be good for business. Vekia can you come to my rescue again? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 hello turn of CCC for css / js files i will inspect code then, now it's a bit hard to inspect it because files are minified 1 Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 ok done Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 try to remove this code form: http://shop4utax.co.uk/modules/blockcart/ajax-cart.js $("#cart_block").hover( function() { $('#shopping_cart a').css('border-radius', '3px 3px 0px 0px'); }, function() { $('#shopping_cart a').css('border-radius', '3px'); setTimeout(function() { if (!shopping_cart.isHoveringOver()) $("#cart_block").stop(true, true).slideUp(450); }, 200); } ); (you can comment it if you don't want to remove it) 1 Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 ok , is there going to be a downside to doing this? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 sry but i dont understand can you explain? Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 Sorry I think I misunderstood, when you say "comment it" what does that mean? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 instead of removing the code, we can use comments: /** THIS IS COMMENT **/ /** $("#cart_block").hover( function() { $('#shopping_cart a').css('border-radius', '3px 3px 0px 0px'); }, function() { $('#shopping_cart a').css('border-radius', '3px'); setTimeout(function() { if (!shopping_cart.isHoveringOver()) $("#cart_block").stop(true, true).slideUp(450); }, 200); } ); **/ commented code will not be executed 1 Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 Slowly I learn...slowly I learn I will give a try and see how we go! Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 OK that's kind of worked but it still disappears if you delete an item from the basket. Then once its disappeared you can't add anything again. Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 Vekia, any thoughts? It is definitely still misbehaving Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 sry i was offline for a moment, im going to check it edit: comment this code: if($('#cart_block dl.products dt').length == 0) { $("#cart_block").stop(true, true).slideUp(200); $('#cart_block_no_products:hidden').slideDown(450); $('#cart_block dl.products').remove(); } the same file as before 2 Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 OK I think that may have done it, would you be able to check for me please? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 sure, im going to test it, for you everything works fine? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 for me - everything works well! Link to comment Share on other sites More sharing options...
sootski Posted September 25, 2013 Author Share Posted September 25, 2013 (edited) It seems to be ok in Firefox, IE and Safari but its still disappearing in Chrome. False alarm! Cleared cache and appears to be OK in Chrome too, fingers crossed. Thanks again Vekia Edited September 25, 2013 by sootski (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 yea it's ok in chrome, im using chrome and it also works well okay, so now i can mark this topic as [solved] thanks for your patience! best regards Link to comment Share on other sites More sharing options...
Gregory Roussac Posted October 8, 2013 Share Posted October 8, 2013 Dear all, This commit should fix this issue. https://github.com/PrestaShop/PrestaShop/commit/008c6ce75925cb8f66034252faa64710dcc3bbd0 Best regards 1 Link to comment Share on other sites More sharing options...
alsitn Posted October 10, 2013 Share Posted October 10, 2013 Thank you all! Link to comment Share on other sites More sharing options...
totallighting.sk Posted November 2, 2013 Share Posted November 2, 2013 Sorry, bat on 1.5.6 its not working... card is still moving up/down, even when Ive product in basket... Link to comment Share on other sites More sharing options...
Gregory Roussac Posted November 2, 2013 Share Posted November 2, 2013 Hi, Can you please update this below file and empty your browser cache ? https://github.com/PrestaShop/PrestaShop/blob/development/modules/blockcart/ajax-cart.js Best regards Link to comment Share on other sites More sharing options...
pastel666 Posted January 17, 2014 Share Posted January 17, 2014 i have the same problem and any thinks un top of this post dosent work i need some help please... 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