Jump to content

Doesnt work javascript


Recommended Posts

Hi all, in my page http://simplydesign.sk/reveal/index.php doesnt work correct javascript. Anybody know where is the problem?

 

Eg. when click in add basket (do košíku). Then nothing happend. But when i refresh page then is product in cart.

Also deleting some of the product from the basket is weird. It should also click 3 times.

 

I have prestashop 1.5.6.2

Help.

Edited by tozi (see edit history)
Link to comment
Share on other sites

ajax-cart.js i have in mytheme/js/modules/blockcart

				// add the picture to the cart
				var $element = $(callerElement).parent().parent().parent().parent().find('a.product_image img,a.product_img_link img');
				if (!$element.length)
					$element = $('#bigpic');
				var $picture = $element.clone();
				var pictureOffsetOriginal = $element.offset();

i tried also one parent (), two parent (etc). 

Edited by tozi (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...