uc_aac is an add-on module for the Ubercart e-commerce suite. This module updates product fields via Ajax when attributes that affect those fields are modified. By default it also updates individual attribute price adjustments so that they remain relative to the updated price, but this can be turned off in the attribute admin settings.

Dependencies

Ubercart Ajax Attribute Calculations requires Ubercart Attributes be installed.

Product node divs must 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; ?>"

Known Issues

Features

6.x-2.x

  • This module has been tested and is compatible with Übercart 2.0.
  • Updated Fields:
    • Display Price
    • Sell Price
    • Cost
    • Model
    • Weight
  • Supported Field Types:
    • Select Box
    • Radio Buttons
    • Checkboxes
  • Allows other modules to interact with it in the following ways:
    • Rebuilds the entire product view form on every change. This allows users to leverage existing Drupal hooks such as hook_nodeapi and hook_form_alter to alter the appearance of the product view form.
    • The existing ubercart hook, hook_add_to_cart_data, is now called to load item data modifications made by other modules.
    • A new hook has been added, hook_cart_item, to allow other modules to modify the cart item.
  • Modules currently interacting with Ajax Attribute Calculations

6.x-1.x

  • NOT RECOMMENDED! Please use 6.x-2.0.
  • This module has been tested and is compatible with Übercart 2.0.
  • Requires Ubercart Beta2 or higher
  • If using Ubercart RC2 or higher, the dev version of this module is required.
  • Updated Fields:
    • Display Price
    • Sell Price
  • Supported Field Types:
    • Select Box
    • Radio Buttons

5.x-1.x

  • This module has been tested and is compatible Übercart 1.0.
  • Product node divs must 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; ?>"
  • Updated Fields:
    • Display Price
    • Sell Price
  • Supported Field Types:
    • Select Box
    • Radio Button

Project Information

Downloads