Hey guys, firebug told me, an error:

$(form).after(data.form).next().attr("action", action).uc_aac_attach().uc_ucoi_attach is not a function

I saw the code:

      if (data.form) {
        var action = form.attr('action');
        if (UCOI) {
--->        	$(form).after(data.form).next().attr('action', action).uc_aac_attach().uc_ucoi_attach();
        } else {
        	$(form).after(data.form).next().attr('action', action).uc_aac_attach();
        }
        form.remove();
      }

What to do now? – It's critical bug because I've two "add to cart" forms on the node. An when I'm selecting a option, I got another "add to cart" form.

Please help.

Yannick

Comments

yannickoo’s picture

Project: Ubercart Ajax Attribute Calculations » Ubercart Option Images
Version: 6.x-2.x-dev » 6.x-1.4

The problem might be the uc option image module cause on nodes without option images, I don't got that error.

broncomania’s picture

subscribe same error here

stewart.adam’s picture

It looks like you are using the patched version of uc_aac/uc_option_image that was posted to the issue queue a while ago. Have you tried using the latest dev release and the patches listed in issue #712542: Compatibility with Ubercart Ajax Attribute Calculations module for AAC compatibility?