Jump to content

[Solved] Add to cart speed needs slowing down


Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...