I know it's a future feature, but is it possible to know what we have to modify to make the content always visible.
Regards.

Comments

heyyo’s picture

I finally found it: file uc_ajax_cart.module line 290 :

'CART_VIEW_ON' => variable_get('uc_ajax_cart_cart_view',0),

replace 0 by 1.

heyyo’s picture

Strange my change, works only for Chrome/Mozilla but not for IE 6,7,8

erik seifert’s picture

Status: Active » Postponed (maintainer needs more info)

This option is only for make "Cart Page" ajaxible. Not more . What do you mean with "content always visible"

heyyo’s picture

I need that the cart content (in the block) be always visible on any page load (content cart not collapsed).
In my case my cart is only the number of items in the cart without title. I successfully used your new template functionnality by overriding tpl :content, empty and title.

have a look: http://test.hsh.co.il

To make it work I made a dirty trick:

function ajaxCartCheckCartToggle()
{
	if ( jQuery.cookie('ajax-cart-visible') == '1' )
	{
		jQuery('#ajaxCartUpdate #cart-block-contents-ajax').show();
	} else {
		jQuery('#ajaxCartUpdate #cart-block-contents-ajax').show();
	}
}
erik seifert’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Ok.

Will be in next Version ;- )