Jump to content

[SOLVED] Basket keeps disappearing


sootski

Recommended Posts

Its still doing it? Can someone please explain to me why the basket keeps disappearing? 

 

If not can someone tell me how to get a show basket button?

 

I am getting so many abandoned carts this can't be good for business.

 

Vekia can you come to my rescue again?

Link to comment
Share on other sites

try to remove this code form: http://shop4utax.co.uk/modules/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);
		}
	);

(you can comment it if you don't want to remove it)

  • Like 1
Link to comment
Share on other sites

instead of removing the code, we can use comments: /** THIS IS COMMENT **/


/**
$("#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);
}
);
**/

 

commented code will not be executed :) 

  • Like 1
Link to comment
Share on other sites

sry i was offline for a moment, im going to check it :)

 

 

edit:

 

 

comment this code:
 

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();
								}

the same file as before

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 2 months later...

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