Detected with: Mozilla Firefox Firebug
Error: collapsed_block is not defined
Source File: http://your-site.com/ubercart/sites/all/modules/uc_ajax_cart/js/jquery.a...

Version Installed: Ubercart 5.x-1.6
My Notes: I've kept all modules updated additionally i've got jquery_update 2.0, jquery ui installed. I enabled the block and the Ajax cart shows just fine, but when you go to a product page and click on "add to cart" it shows (animated gif of something loading) and the text "add product to cart..." and nothing happens after that. Checking firebug for any errors I've found a log of the error i referenced to up top. I've got all dependence activated and working for this module. What am I missing that could be breaking this?

Comments

Erik Seifert’s picture

Assigned: Unassigned » Erik Seifert

I will have a look on this.

Erik Seifert’s picture

Ok , should be no problem in the new BETA - 4 . The was correct , but could be depend on a theme.

drupalbaby’s picture

The problem was fixed, but for future developments. You commented that the correction could depend on theme. How so? If I created a custom theme for my store. What would be something i need to make sure is added to it to have it work correctly? Thanks again.

Erik Seifert’s picture

Normally. a javascript variable 'content_collapse' is provided by uc_cart. I don't know, why this var is not declared on your site. So i think it could be a theme problem. But i don't know it exactly.

Bye,

Erik Seifert’s picture

Status: Active » Fixed

Close the bug

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.