7 replies [Last post]
dibbd's picture
Offline
Joined: 02/17/2009
Juice: 65
Was this information Helpful?

Or maybe I don't understand it, but I've installed the UC_AAC module, but it's not updating the prices like I thought it would:

http://drupal.org/project/uc_aac

Here's my cart link:

http://www.dibbsolutions.com/node/32

Shouldn't it be that when you select one of the options that the price to the left automatically changes?

Or does this mod not do that?

--
Certified Medisoft reseller.

NecroHill's picture
Offline
Joined: 08/12/2008
Juice: 107
Quote:Shouldn't it be that
Quote:

Shouldn't it be that when you select one of the options that the price to the left automatically changes?

yes, it should change the price when you change the options.

make sure that you have the latest versions of uc_aac and ubercart installed
and your Ajax Attribute Calculations facility is activated on admin/store/settings/attributes page.

cYu
cYu's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/19/2007
Juice: 850
Re: Ubercart Ajax Attribute Calculations module not working for

I believe the problem is with your theme. There is a note on the uc_aac project page addressing this...

*This module requires product node divs have an identifier in the same form as the garland theme. For instance, trying to use bluemarine theme without adding the following code to node.tpl.php will result in the module not working.
id="node-<?php print $node->nid; ?>"
harrisben's picture
Offline
Joined: 04/17/2009
Juice: 192
Re: Re: Ubercart Ajax Attribute Calculations module not working

I'm experiencing the same thing and I've got the latest version of the module, checked that AJAX calculations are enabled in the attributes configuration page, my node.tpl.php looks fine... I really don't know why it isn't working.

Does anyone have an idea of why it might not be working?

TSE
TSE's picture
Offline
Joined: 11/18/2008
Juice: 16
same thing

not working for me... anymore. i'm sure it was ok, but now no price is updated.

Drupal 5.18
Ubercart 5.x-1.7

EDIT: it works for some products, but noit for all. perhaps something to do with other options or modules. If i find out i tell u Eye-wink

EDIT_2: the problem only shows up together with the attribute image module: http://www.ubercart.org/contrib/8824
Without it the the prices are updated.

Greetz TSE

cYu
cYu's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/19/2007
Juice: 850
Re: same thing

If I had to guess, I'd say both modules are trying to bind to events related to the attributes and are overwriting each other. You can try namespacing the event bindings, which is something I did initially with uc_aac, but this is not supported with the version of jquery packaged with d5 or d6 so I removed it instead of making jquery_update a dependency. I probably won't take a much deeper look at the conflict because of the note on the attribute options contrib page, "This is _ABANDONED_ software and is donated to the community."

Duex's picture
Offline
Joined: 05/10/2009
Juice: 52
Dev Module

I had to install the latest dev version of the module and it worked like a charm. give that a shot.

kareed's picture
Offline
Joined: 12/28/2008
Juice: 25
Re: Ubercart Ajax Attribute Calculations module not working for

I am using a theme that didn't want to update the prices using drupal 6 and ubercart 2. I did what cYu said and it worked.
adding the following line to your div tag in node.tpl.php of your theme
id="node-<?php print $node->nid; ?>"