Paulito Posted March 8, 2014 Share Posted March 8, 2014 (edited) Good morning all Using PS 1.5.6.1 non-default theme When I click the "Add to cart" button the product travels at about a million miles an hour, any idea how/where to slow this down. Try it here: http://solarskunk.co.uk Thank you in advance Paul Edited March 9, 2014 by Paulito (see edit history) Link to comment Share on other sites More sharing options...
YopixelAE Posted March 8, 2014 Share Posted March 8, 2014 Hi,Edit ajax-cart.js (file in prestashop>modules>blockcart if not overriden)As follows:Replace: .animate({ width: $element.attr('width')*0.66, height: $element.attr('height')*0.66, opacity: 0.2, top: cartBlockOffset.top + 30, right: cartBlockOffset.right + 15 }, 1000) With: .animate({ width: $element.attr('width')*0.66, height: $element.attr('height')*0.66, opacity: 0.2, top: cartBlockOffset.top + 30, right: cartBlockOffset.right + 15 }, 6000) Where 6000 (time in millisecondes) is the modification. 1 Link to comment Share on other sites More sharing options...
Paulito Posted March 8, 2014 Author Share Posted March 8, 2014 Good morning Your solution worked perfectly, thank you for your time and help Paul 1 Link to comment Share on other sites More sharing options...
Recommended Posts