Jump to content

[SOLVED] Cart doesn't collapse


Recommended Posts

That is a totally different issue.

Theme called "Prestashop 1.4.5" internal name "prestashop_new" use the blockcart2.

 

The problem is also well known and is due the fact that the component that kicks the opening (#shopping-cart) does not belong to the same container as the cart portion (#cart_block).

 

The cart stays frozen open if the user hover the title (#shopping-cart) and leave without hovering on the cart

 

Snippet from themes/prestashop_new/js/modules/blockcart2/ajax-cart.js

/* roll over cart */
    $("#shopping_cart").mouseenter(function(){
		    $("#cart_block").stop(true, true).slideDown(450);
    });
    $("#cart_block").mouseleave(function(){
		    $(this).stop(true, true).slideUp(450);
    });

 

The entire theme construction is the culprit.

There is no solution.

 

Sorry.

 

Best,

(d)oekia

Link to comment
Share on other sites

Hi OnlineOffice,

Have you enabled Force Compile in your Back Office under Preferences > Performance?

 

-Mike

Hi Mike,

 

thank you for the quick reply!

 

yep...Force Compile is one of the first things I check...ajax is enabled...

 

is there a time setting for the js code or anything like that I should check?

 

I might just be "nit-picking" about the collapse of the block. It doesn't appear to affect functionality but it certainly affects the appearance of the site (and its developer - me)

 

Just trying to get the site as close to what I think is perfection that I can...

 

Thanks again!

Link to comment
Share on other sites

That is a totally different issue.

Theme called "Prestashop 1.4.5" internal name "prestashop_new" use the blockcart2.

 

The problem is also well known and is due the fact that the component that kicks the opening (#shopping-cart) does not belong to the same container as the cart portion (#cart_block).

 

The cart stays frozen open if the user hover the title (#shopping-cart) and leave without hovering on the cart

 

Snippet from themes/prestashop_new/js/modules/blockcart2/ajax-cart.js

/* roll over cart */
	$("#shopping_cart").mouseenter(function(){
			$("#cart_block").stop(true, true).slideDown(450);
	});
	$("#cart_block").mouseleave(function(){
			$(this).stop(true, true).slideUp(450);
	});

 

The entire theme construction is the culprit.

There is no solution.

 

Sorry.

 

Best,

(d)oekia

thank you...

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...