amar.prestashop Posted September 27, 2013 Posted September 27, 2013 (edited) Hi, I've update PS from 1.5.4.1 to 1.5.5.0 and everything work fine except blockcart, it disappears (the new rules for ajax-cart do not comply as suggest in the http://forge.prestashop.com/browse/PSCFV-4096 ). I need the block cart always viewable, there is a same sort code patch to solve the problem ? Or maybe can i use the old blockcart from PS 1.5.4.1 ? Thanks, Amar, Edited September 27, 2013 by amar.prestashop (see edit history) Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 hello can you share url to your website? i will inspect the code,in the past two days I have solved two related to your problems (i suppose) Share this post Link to post Share on other sites More sharing options...
amar.prestashop Posted September 27, 2013 Posted September 27, 2013 Hello, The website url is : http://www.genuineluxuryoutlet.com Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 yea definitely the same issue, solution here: http://www.prestashop.com/forums/topic/276687-solved-basket-keeps-disappearing/ and in addition to post above: http://www.prestashop.com/forums/topic/275338-disappearing-cart/?view=findpost&p=1394536 Share this post Link to post Share on other sites More sharing options...
amar.prestashop Posted September 27, 2013 Posted September 27, 2013 Thank you Vekia, I've commented the code in module/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); } ); and 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(); } Now it works well. Thank you Amar, Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 that's correct thank you for confirmation that it works, i will post solution to github so this addon will be updated best regards Share this post Link to post Share on other sites More sharing options...
Recommended Posts