Each time I add an item to the cart, the cart collapses.

I have changed the block title to "shopping cart" so the H3 tag that said "shopping cart" in the block next to the shopping cart icon graphic does not display.

Any way, to make this not collapse each time?

Comments

erik seifert’s picture

Status: Active » Postponed (maintainer needs more info)

You have a test url for me. Should not be happen.

cookiesunshinex’s picture

erik seifert’s picture

I understand your problem now ;- ). There will be an option "No collapsible cart" in next version.

erik seifert’s picture

Category: support » feature
Status: Postponed (maintainer needs more info) » Needs work

-> change Status.

And nice Site ;- )

cookiesunshinex’s picture

Ok, great!

Thanks for your development, and thanks for the compliment.

k347905’s picture

Meanwhile, you can use workaround. Just put:

jQuery('#ajaxCartUpdate #cart-block-contents-ajax').show();

after

	if ( Drupal.settings.uc_ajax_cart.CART_VIEW_ON )
	{
		jQuery('form.ajax-cart-submit-form').ajaxForm( options );
		ajaxCartInitCartView();

in uc_ajax_cart.js.

erik seifert’s picture

This should help ;- )

cookiesunshinex’s picture

Hello,

I have just upgraded to beta2. I have the same problem.

I don't remember if I had implemented your fix above before I updated to beta2.

However, when I look at uc_ajax_cart.js, I don't find exactly the section you refer to.

I find:

	if ( Drupal.settings.uc_ajax_cart.CART_VIEW_ON )
	{
		ajaxCartInitCartView();
	}
	if (jQuery('#ajaxCartUpdate').hasClass('load-on-view'))
	{
		ajaxCartUpdateCart();
	}
}

Is this fix still relevant, and if so, where exactly where would I put it?

cookiesunshinex’s picture

Status: Needs work » Closed (fixed)

Nevermind, I found your answer in http://drupal.org/node/467844

I'm closing this issue.